James Bottomley a85591fd0b [SCSI] gdth: fix Error: Driver 'gdth' is already registered, aborting...
This message appears on modprobe/rmmod/modprobe of the driver.  It's
caused because if the driver has no instances, it returns an error
from gdth_init, which causes the module to fail to load.
Unfortunately, the module's pci driver is still registered at this
point.

Fix this by making gdth behave like a modern driver and insert even if
it doesn't find any instances (in case of hot plug or software driven
binding).

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-05-08 10:01:53 -05:00
..
2008-05-02 13:17:01 -05:00
2008-01-11 18:22:30 -06:00
2008-01-30 13:14:02 -06:00
2008-05-02 13:17:01 -05:00
2008-04-27 12:19:54 -05:00
2008-01-30 13:14:02 -06:00
2008-04-28 23:44:41 +02:00
2008-01-11 18:27:59 -06:00
2008-01-30 13:03:40 -06:00
2008-01-30 13:14:02 -06:00
2008-04-27 12:19:57 -05:00
2008-04-27 12:19:57 -05:00
2008-04-29 08:06:18 -07:00
2008-01-30 13:14:02 -06:00
2008-01-23 13:44:31 -06:00
2008-01-30 13:14:02 -06:00
2007-10-19 11:53:42 -07:00
2008-01-30 13:14:02 -06:00
2008-02-23 09:07:32 -06:00
2007-07-18 11:16:32 -05:00
2008-02-07 18:02:44 -06:00
2007-10-19 23:22:55 +02:00
2008-01-30 13:14:02 -06:00