From owner-freebsd-current Wed Sep 27 21:22:36 2000 Delivered-To: freebsd-current@freebsd.org Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (Postfix) with ESMTP id 9E40C37B423 for ; Wed, 27 Sep 2000 21:22:32 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.10.0/8.10.0) id e8S4MNm23567; Wed, 27 Sep 2000 21:22:23 -0700 (PDT) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma023565; Wed, 27 Sep 2000 21:22:19 -0700 Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.3) id VAA30166; Wed, 27 Sep 2000 21:22:19 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200009280422.VAA30166@bubba.whistle.com> Subject: Re: smbus PCI device? In-Reply-To: <20000927154523.P10657@lucifer.bart.nl> "from Jeroen Ruigrok van der Werven at Sep 27, 2000 03:45:23 pm" To: Jeroen Ruigrok van der Werven Date: Wed, 27 Sep 2000 21:22:19 -0700 (PDT) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeroen Ruigrok van der Werven writes: > > found-> vendor=0x8086, dev=0x2413, revid=0x02 > > class=0c-05-00, hdrtype=0x00, mfdev=0 > > ^^^^^^^^ > > subordinatebus=0 secondarybus=0 > > intpin=b, irq=10 > > map[20]: type 1, range 32, base 0000fe00, size 4 > > pciconf -l will probably show the class as 0x0c0500 I guess? Yes. > >The class/sub-class/programming interface (highlighted above) > >indicates a SMBus device as specified by PCI 2.2. > > > >However, I'm not sure what that is. Adding the "smbus" device and > >friends to the kernel config doesn't cause this device to be > >detected. You'd think all I needed to do then would be to add the > >device ID to a list in the smbus driver somewhere, but I can't find > >that list. Does "smbus_pci.c" not exist yet? > > Normally, that would be enough yes. I think you want: > > src/sys/dev/iicbus and src/sys/dev/smbus Those are in, but there is no driver that recognizes the device and vendor ID above. Guess I'll have to write one as soon as I can get the PCI 2.2 spec. Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message