Fixed to support C-NET(9N)E.

This commit is contained in:
Yoshihiro Takahashi 2001-07-02 10:14:57 +00:00
parent 168b0b9d70
commit bf23a1be12

View File

@ -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;