netdev
[Top] [All Lists]

pcmcia ether drivers can't be unloaded

To: Jeff Garzik <jgarzik@xxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>
Subject: pcmcia ether drivers can't be unloaded
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Thu, 22 Jul 2004 10:28:43 -0700
Cc: netdev@xxxxxxxxxxx, Greg KH <greg@xxxxxxxxx>
Organization: Open Source Development Lab
Sender: netdev-bounce@xxxxxxxxxxx
It looks like pcmica modular ether (example orinoco) can never be manually 
unloaded because
module refcount is always 1. This comes from the owner field in the 
pcmcia_driver.owner
being set.

One fix is to not set owner field but then there is a hot plug/module remove
race. But the right fix seems to fix up pcmcia to be a true bus in the driver
model and have the same hotplug as other buses; usb and pci don't have the 
problem.


<Prev in Thread] Current Thread [Next in Thread>
  • pcmcia ether drivers can't be unloaded, Stephen Hemminger <=