Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2004 16:38:11 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        scottl@freebsd.org
Subject:   Re: Discussion on the future of floppies in 5.x and 6.x
Message-ID:  <xzpad4xxhcs.fsf@dwp.des.no>
In-Reply-To: <20040109.075929.90380697.imp@bsdimp.com> (M. Warner Losh's message of "Fri, 09 Jan 2004 07:59:29 -0700 (MST)")
References:  <200401091400.40550.doconnor@gsoft.com.au> <3FFE5211.5040606@freebsd.org> <xzp1xq91oei.fsf@dwp.des.no> <20040109.075929.90380697.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"M. Warner Losh" <imp@bsdimp.com> writes:
> des@des.no (Dag-Erling Sm=F8rgrav) writes:
> : 2) use pciconf -l (or direct access to /dev/pci) to retrieve the PCI
> :    IDs of unclaimed devices, look them up in a list of supported PCI
> :    devices, and load the appropriate module.
> There's some ongoing work to make this easier to do.  There are some
> issues with doing this, but nothing that can't be overcome.  Every PCI
> driver in the tree will likely need to change in some form to make
> this happen, however.

Not necessarily; one could, as a temporary measure, create and
maintain the list of supported PCI IDs manually.

I had a prototype once (though my purpose at the time was to generate
kernel configs, not load modules).  I dropped it because someone else
was working on the same thing and had it seemed they'd gotten further
than I had.  I still have the sources though...

(rev 1.32 of sys/dev/pci/pcireg.h was a side effect of that work)

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpad4xxhcs.fsf>