Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2006 12:03:57 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        zbeeble@gmail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Can kldload trigger pci bus rescan?
Message-ID:  <20060427.120357.45157617.imp@bsdimp.com>
In-Reply-To: <5f67a8c40604270908j54fb2c8bh5f0732d857155142@mail.gmail.com>
References:  <44505BF1.80806@bitfreak.org> <5f67a8c40604270908h4fcd2c42p87b1d4bb78a4459c@mail.gmail.com> <5f67a8c40604270908j54fb2c8bh5f0732d857155142@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <5f67a8c40604270908j54fb2c8bh5f0732d857155142@mail.gmail.com>
            "Zaphod Beeblebrox" <zbeeble@gmail.com> writes:
: It would be cool if pccard and usb also reprobed when kldload ran.  The usb
: case is slightly more complex --- having (say) uscanner claim something that
: ugen is currently claiming.

PC Card has done so for years, OLDCARD and NEWCARD.  In fact, you can
even load and unload the bridge driver (cbb today, pcic in yesteryear)
and the pccard bus driver.  pccard works very hard to make sure that
these things work.

usb does also, but not in a manner that's useful.  It does work with
usb for simple devices when ugen isn't loaded into the kernel.
However, the brain dead way that usb dollops out subdevices makes
fixing it to work like rest of the system difficult...  The port from
NetBSD didn't take the time to make the device model match FreeBSD,
but rather just shoe-horned it into the system.

Warner



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