diff options
author | dg <dg@FreeBSD.org> | 1995-05-04 07:56:23 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-05-04 07:56:23 +0000 |
commit | 4c16d7d0d21d62ff73813b2b87593c94b85080ca (patch) | |
tree | da1c16eb8e590dc93a38e378f202cc342db7410e /sys/dev/ed | |
parent | b003b5548b42621c912b3965e390c25108bb7b54 (diff) | |
download | FreeBSD-src-4c16d7d0d21d62ff73813b2b87593c94b85080ca.zip FreeBSD-src-4c16d7d0d21d62ff73813b2b87593c94b85080ca.tar.gz |
Kill bogus duplicated code that resulted in an editing screwup of mine
that happend about 4 months ago.
Diffstat (limited to 'sys/dev/ed')
-rw-r--r-- | sys/dev/ed/if_ed.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index ce1ba4f..50dab23 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -13,7 +13,7 @@ * the SMC Elite Ultra (8216), the 3Com 3c503, the NE1000 and NE2000, * and a variety of similar clones. * - * $Id: if_ed.c,v 1.68 1995/03/16 18:12:01 bde Exp $ + * $Id: if_ed.c,v 1.69 1995/04/12 20:47:45 wollman Exp $ */ #include "ed.h" @@ -467,29 +467,6 @@ ed_probe_WD80x3(isa_dev) memsize = 8192; } - - if (sc->is790) { - outb(sc->asic_addr + ED_WD790_HWR, - inb(sc->asic_addr + ED_WD790_HWR) | ED_WD790_HWR_SWH); - - switch (inb(sc->asic_addr + ED_WD790_RAR) & ED_WD790_RAR_SZ64) { - case ED_WD790_RAR_SZ64: - memsize = 65536; - break; - case ED_WD790_RAR_SZ32: - memsize = 32768; - break; - case ED_WD790_RAR_SZ16: - memsize = 16384; - break; - case ED_WD790_RAR_SZ8: - memsize = 8192; - break; - } - outb(sc->asic_addr + ED_WD790_HWR, - inb(sc->asic_addr + ED_WD790_HWR) & ~ED_WD790_HWR_SWH); - } - #if ED_DEBUG printf("type = %x type_str=%s isa16bit=%d memsize=%d id_msize=%d\n", sc->type, sc->type_str, isa16bit, memsize, isa_dev->id_msize); |