Skip to contentSkip to conversation

wd module doesn't work in 2.4 and 2.6 ???

DISCUSSION Michal Semler 1 participant 2 messages Oct 28, 2004

lore
Share & tools
lore
#0 lore raw

Hi guys,

I have an old SMC card named SMC EtherCard Plus Elite 16 Combo (WD 8013EW or 8013EWC)

it should work with module wd.

Under win95 :) it works great with

io=0x300 irq=15 mem=0xc8000 mem_end=0xcvfff

When I modprobe wd with these params, both 2.4 and 2.6 kernels tells me

No wd80x3 card found (io=0x300)

PLS help me. Where is problem???

Michal

#1 lore raw

It look like that check for my card never goes into

                } else {
                        int tmp = inb(ioaddr+1); /* fiddle with 16bit bit */
                        outb( tmp ^ 0x01, ioaddr+1 ); /* attempt to clear 
16bit bit */
                        if (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card 
*/
                                && (tmp & 0x01) == 0x01 ) 
{                             /* In a 16 slot. */
                                int asic_reg5 = inb(ioaddr+WD_CMDREG5);
                                /* Magic to set ASIC to word-wide mode. */
                                outb( NIC16 | (asic_reg5&0x1f), 
ioaddr+WD_CMDREG5);
                                outb(tmp, ioaddr+1);
                                model_name = "WD8013";
                                word16 = 1;             /* We have a 16bit 

board here! */

in wd.c source

Michal

Dne čt 28. října 2004 13:46 Michal Semler napsal(a):

Quoted 18 lines

Hi guys,

I have an old SMC card named SMC EtherCard Plus Elite 16 Combo (WD 8013EW or 8013EWC)

it should work with module wd.

Under win95 :) it works great with

io=0x300 irq=15 mem=0xc8000 mem_end=0xcvfff

When I modprobe wd with these params, both 2.4 and 2.6 kernels tells me

No wd80x3 card found (io=0x300)

PLS help me. Where is problem???

Michal