diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2001-07-02 10:14:57 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2001-07-02 10:14:57 +0000 |
| commit | bf23a1be12b8121cc64c44d5aa8d57c63217302b (patch) | |
| tree | 69b82f051d482517590c1052419eff9054a3382f /sys | |
| parent | 168b0b9d70435dc7113e10524aae915a5602b071 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/fe/if_fe_cbus.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/fe/if_fe_cbus.c b/sys/dev/fe/if_fe_cbus.c index 0e8d7325ba5d..97a07a17c3df 100644 --- a/sys/dev/fe/if_fe_cbus.c +++ b/sys/dev/fe/if_fe_cbus.c @@ -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; |
