Fixed to support C-NET(9N)E.
This commit is contained in:
parent
168b0b9d70
commit
bf23a1be12
@ -222,8 +222,8 @@ fe98_alloc_port(device_t dev, int type)
|
||||
size = MAXREGISTERS;
|
||||
break;
|
||||
case FE_TYPE_CNET9NE:
|
||||
iat = &ioaddr_cnet9ne[16];
|
||||
size = 16;
|
||||
iat = ioaddr_cnet9ne;
|
||||
size = MAXREGISTERS;
|
||||
break;
|
||||
case FE_TYPE_SSI:
|
||||
iat = ioaddr_generic;
|
||||
@ -257,13 +257,6 @@ fe98_alloc_port(device_t dev, int type)
|
||||
if (res == NULL)
|
||||
return ENOENT;
|
||||
|
||||
switch (type) {
|
||||
case FE_TYPE_CNET9NE:
|
||||
iat = ioaddr_cnet9ne;
|
||||
size = MAXREGISTERS;
|
||||
break;
|
||||
}
|
||||
|
||||
isa_load_resourcev(res, iat, size);
|
||||
|
||||
sc->type = type;
|
||||
|
Loading…
Reference in New Issue
Block a user