diff options
author | jkh <jkh@FreeBSD.org> | 1993-07-20 01:39:24 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1993-07-20 01:39:24 +0000 |
commit | 049741d0c27fda7b868a3d76af1baa6fc3ff4c74 (patch) | |
tree | d633f4b536491e7b8ed643d5fb28ad5e3aca0ed8 /sys/dev/ed | |
parent | c2c539a1c1da6267e5f9e17da89d60cc28f4740b (diff) | |
download | FreeBSD-src-049741d0c27fda7b868a3d76af1baa6fc3ff4c74.zip FreeBSD-src-049741d0c27fda7b868a3d76af1baa6fc3ff4c74.tar.gz |
Fixed to allow iosiz config parameter to override what was (for me,
incorrectly) probed. This allows you more flexibility in getting weird
WD 80x3 clones to work.
Diffstat (limited to 'sys/dev/ed')
-rw-r--r-- | sys/dev/ed/if_ed.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index b48b353..c1a7ff7 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -16,7 +16,10 @@ /* * Modification history * - * $Log: if_ed.c,v $ + * $Log: if_ed.c,v $ + * Revision 1.5 1993/06/27 10:28:28 davidg + * fixed bugs in the probe routine uncovered by the previous fix. + * * Revision 1.11 93/06/27 03:07:01 davidg * fixed bugs in the 3Com part of the probe routine that were uncovered by * the previous fix. @@ -297,10 +300,14 @@ type_WD80x3: } #if ED_DEBUG - printf("type=%s width=%d memsize=%d\n",sc->type_str,memwidth,memsize); + printf("type=%s width=%d memsize=%d id_msize=%d\n",sc->type_str,memwidth,memsize,isa_dev->id_msize); for (i=0; i<8; i++) printf("%x -> %x\n", i, inb(sc->asic_addr + i)); #endif + /* Allow memsize to override */ + if (isa_dev->id_msize) + memsize = isa_dev->id_msize; + /* * Check 83C584 interrupt configuration register if this board has one * XXX - we could also check the IO address register. But why |