Commit e2d8ded1 authored by Linus Torvalds's avatar Linus Torvalds

net/wan/sbni.c totally misused "pci_request_region()", thinking

it was the same as the old request_region(). Not so.
parent bfd6334f
......@@ -277,7 +277,7 @@ sbni_pci_probe( struct net_device *dev )
pci_irq_line = pdev->irq;
/* Avoid already found cards from previous calls */
if( !pci_request_region( pci_ioaddr, SBNI_IO_EXTENT, dev->name ) ) {
if( !request_region( pci_ioaddr, SBNI_IO_EXTENT, dev->name ) ) {
pci_read_config_word( pdev, PCI_SUBSYSTEM_ID, &subsys );
if( subsys != 2 || /* Dual adapter is present */
check_region( pci_ioaddr += 4, SBNI_IO_EXTENT ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment