aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/input
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-05-03 13:20:19 -0700
committerDavid S. Miller <davem@davemloft.net>2007-05-03 13:20:19 -0700
commit1b2f922f6869eb13dadfe1ba3f8337bd42e50a2e (patch)
treeab6f02ff18a01b80501aa7b0dda70be64fb2e0e5 /drivers/usb/input
parent40453c839fdbf86738256cae1c9c1ebe55645d4a (diff)
[BNX2]: Fix race conditions when calling register_netdev().
Hot-plug scripts can call bnx2_open() as soon as register_netdev() is called in bnx2_init_one(). We need to call pci_set_drvdata() and setup everything before calling register_netdev(). netif_carrier_off() also needs to be moved to bnx2_open() to avoid race conditions with the irq. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/input')
0 files changed, 0 insertions, 0 deletions