Re: Initialization fails in sys/arch/prep/pnpbus/if_we_pnpbus.c
Hisanobu Tomari <[email protected]> Wed, 6 Mar 2013 12:35:31 +0900
| Newsgroups | gmane.os.netbsd.ports.prep |
|---|---|
| Message-ID | <[email protected]> |
Now I checked the HEAD and the patch was already there. Sorry. Hisanobu Tomari On Wed, 6 Mar 2013 12:26:51 +0900 Hisanobu Tomari <[email protected]> wrote: > Hi, > > I'm using NetBSD/prep on IBM 7248-120. An IBM genuine ISA PNP Ethernet > card fails to initialize with NetBSD 5* and 6*. This is because of an > error in the driver. Just adding one line in the initialization code > resolves this problem. The patch is attached. > > I'm glad if someone merges my patch to the repository, as I don't want > to patch the source everytime I update the kernel. > > (without the attached patch) > we2 at pnpbus0: port 0x300-0x31f, iomem 0xe8000-0xebfff, irq 11 > we2: WD8013EBT Ethernet (16-bit) > ??: Ethernet address 00:20:35:56:87:4f > sysctl_createv: sysctl_create(??) returned 22 > ??: could not attach sysctl nodes > > (with the patch) > we2 at pnpbus0: port 0x300-0x31f, iomem 0xe8000-0xebfff, irq 11 > we2: WD8013EBT Ethernet (16-bit) > we2: Ethernet address 00:20:35:56:87:4f > > Best regards, > Hisanobu Tomari