diff options
| author | Warner Losh <imp@FreeBSD.org> | 2009-04-20 01:19:59 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2009-04-20 01:19:59 +0000 |
| commit | 472dfd2aebb001c4bfa53f2ff3e0fd087510825c (patch) | |
| tree | 17e178d9691ef1ad4763204b9338f58d61e0c1ec /sys/dev/ed/if_ed_isa.c | |
| parent | 781202d7fdc79041930d1707e3546d334cb3f4e4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ed/if_ed_isa.c')
| -rw-r--r-- | sys/dev/ed/if_ed_isa.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/ed/if_ed_isa.c b/sys/dev/ed/if_ed_isa.c index c3fd8f6954254..0d7a583c020f1 100644 --- a/sys/dev/ed/if_ed_isa.c +++ b/sys/dev/ed/if_ed_isa.c @@ -163,11 +163,10 @@ ed_isa_attach(device_t dev) int error; if (sc->port_used > 0) - ed_alloc_port(dev, sc->port_rid, sc->port_used); + ed_alloc_port(dev, 0, sc->port_used); if (sc->mem_used) - ed_alloc_memory(dev, sc->mem_rid, sc->mem_used); - - ed_alloc_irq(dev, sc->irq_rid, 0); + ed_alloc_memory(dev, 0, sc->mem_used); + ed_alloc_irq(dev, 0, 0); if (sc->sc_media_ioctl == NULL) ed_gen_ifmedia_init(sc); |
