diff options
author | wpaul <wpaul@FreeBSD.org> | 2005-10-28 02:17:40 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2005-10-28 02:17:40 +0000 |
commit | d9a4f9b75bd3b9d28d5741661f88a656a37cc266 (patch) | |
tree | a03cc4404a68b5f35f6bdab31415094d2f3ba430 /sys/pci | |
parent | cb365428c90da9041b7ec1a3c201469132863e66 (diff) | |
download | FreeBSD-src-d9a4f9b75bd3b9d28d5741661f88a656a37cc266.zip FreeBSD-src-d9a4f9b75bd3b9d28d5741661f88a656a37cc266.tar.gz |
Remove forgotten, no longer needed WB_UNLOCK() from the end wb_ioctl().
With this change, the driver tests good (at least on i386):
wb0: <Winbond W89C840F 10/100BaseTX> port 0xb800-0xb87f mem 0xe6800000-0xe680007f irq 12 at device 10.0 on pci0
miibus1: <MII bus> on wb0
amphy0: <Am79C873 10/100 media interface> on miibus1
amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wb0: Ethernet address: 00:00:e8:18:2a:02
wb0: link state changed to DOWN
wb0: link state changed to UP
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_wb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index 01be233..6516667 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -1746,8 +1746,6 @@ wb_ioctl(ifp, command, data) break; } - WB_UNLOCK(sc); - return(error); } |