]> git.hungrycats.org Git - linux/commit
[netdrvr 8139cp] better dev->close() handling, and misc related stuff
authorJeff Garzik <jgarzik@redhat.com>
Tue, 6 Apr 2004 05:22:30 +0000 (01:22 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 Apr 2004 05:22:30 +0000 (01:22 -0400)
commit93eb7437d1e71ea9b22f5d67c3fc8dbc628f9005
treeeccc52946c84038067044b4c9861d0c0f46624ad
parente3b0d4517570169158229f88ab96c7ff94bcaa23
[netdrvr 8139cp] better dev->close() handling, and misc related stuff

* don't synchronize_irq() in cp_stop_hw().  when necessary, do so
  in the callers.
* call synchronize_irq() in cp_close(), after releasing the spinlock.
* move netif_stop_queue() and netif_carrier_off() calls inside lock
* flush last interrupt status write, in cp_stop_hw()
* add unlikely() check for dev==NULL, first thing in the irq handler
drivers/net/8139cp.c