Re: newbus flaw
From: Dag-Erling Smørgrav (des_at_des.no)
Date: 05/13/04
- Previous message: Doug Rabson: "Re: newbus flaw"
- In reply to: Doug Rabson: "Re: newbus flaw"
- Next in thread: Doug Rabson: "Re: newbus flaw"
- Reply: Doug Rabson: "Re: newbus flaw"
- Reply: M. Warner Losh: "Re: newbus flaw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Doug Rabson <dfr@nlsystems.com> Date: Thu, 13 May 2004 12:46:19 +0200
Doug Rabson <dfr@nlsystems.com> writes:
> When the old module unloaded, its driver will have detached from the
> device which it created. There is no reference to an old driver_t. Its
> perfectly safe for the new driver to use the old device.
so why do you say I "shouldn't reset the old driver and desc"?
DES
-- Dag-Erling Smørgrav - des@des.no _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Doug Rabson: "Re: newbus flaw"
- In reply to: Doug Rabson: "Re: newbus flaw"
- Next in thread: Doug Rabson: "Re: newbus flaw"
- Reply: Doug Rabson: "Re: newbus flaw"
- Reply: M. Warner Losh: "Re: newbus flaw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Unresolved Externals creating driver
... usbpdi.obj: error LNK2019: unresolved external symbol ... > an identical
driver, under a different name. ... > I get in this vicious circle of putting in a reference
to a library, ... > having the build complain about multiply defined symbols. ...
(microsoft.public.windowsce.platbuilder) - Re: [PATCH 1/1] : hwmon - new chip driver for TI ADS7828 A-D
... revised patch. ... driver, which seems to work well with the hardware
I'm working with (a ... Operate with the internal 2.5v reference - set to N for external
reference ... (Linux-Kernel) - Re: [PATCH] fix rmmod sbp2 hang in 2.6.7
... Is the 'sg' driver loaded. ... When I load my SCSI HBA driver, ...
It's because sg also got a reference. ... rmmod 'sg' then the rmmod of st frees
up too. ... (Linux-Kernel) - Re: kref refcounting breakage in mainline
... And, as your patch released the reference on the driver, and the ...
Subject: modules: fix reference counting logic for drivers without module pointers. ...
(Linux-Kernel) - Re: How should an exit routine wait for release() callbacks?
... module's exit routine has to wait until the releaseroutine for that ... The
module has now given up any reference to the device it ... reference to it and its release
routine gets passed to the driver core. ... subsystem can't be unloaded without unloading
my driver first. ... (Linux-Kernel)