From owner-freebsd-drivers@FreeBSD.ORG Sat Jul 6 11:03:23 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6F1E466B for ; Sat, 6 Jul 2013 11:03:23 +0000 (UTC) (envelope-from cg@cgross.info) Received: from alpha.kreiz-it.fr (alpha.kreiz-it.fr [178.32.219.166]) by mx1.freebsd.org (Postfix) with ESMTP id 3C3E31211 for ; Sat, 6 Jul 2013 11:03:22 +0000 (UTC) Received: from DirTech (lnr56-1-82-246-51-185.fbx.proxad.net [82.246.51.185]) by alpha.kreiz-it.fr (Postfix) with ESMTPSA id 126F3972; Sat, 6 Jul 2013 13:03:21 +0200 (CEST) From: "Cedric GROSS" To: "'Dr. Rolf Jansen'" References: <000c01ce7a34$ebd49a30$c37dce90$@info> <8982B63C-525E-4B3E-9DA1-F2535AFE4A22@cyclaero.com> In-Reply-To: <8982B63C-525E-4B3E-9DA1-F2535AFE4A22@cyclaero.com> Subject: RE: PCI Subdevice ID Date: Sat, 6 Jul 2013 13:03:17 +0200 Message-ID: <001a01ce7a38$6ce642b0$46b2c810$@info> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac56Nx0UECKFYrB1R/OvQA/7CxcxsgAALTWA Content-Language: fr Cc: freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jul 2013 11:03:23 -0000 > -----Message d'origine----- > De=A0: Dr. Rolf Jansen [mailto:rj@cyclaero.com] > Envoy=E9=A0: samedi 6 juillet 2013 12:52 > =C0=A0: Cedric GROSS > Cc=A0: freebsd-drivers@freebsd.org > Objet=A0: Re: PCI Subdevice ID >=20 > Am 06.07.2013 um 07:38 schrieb Cedric GROSS : >=20 > > Hello everybody, > > > > I'm currently working adapt iwn driver for my Centrino Wireless-N > 2230 Card. > > > > As part of this tuff work, I asking me how to get subdevice id ? I > > didn't find anything about that. >=20 > Hello, >=20 > See here: http://pci-ids.ucw.cz >=20 > You could also install this pciid list by the way of the ports system: >=20 > # /usr/ports/misc/pciids > # make install clean >=20 > Then you would grep your device from that list: >=20 > $ grep "Wireless-N 2230" /usr/local/share/pciids/pci.ids >=20 Thanks Rolf. But in fact my demand concern development. My fault. Please apologize I wasn't enough clear. I'm looking for a = kernel function like 'pci_get_device' but for subdevice > Best regards >=20 > Rolf BR Cedric