Date: Sat, 19 Dec 1998 12:40:00 -0800 (PST) From: Alan Cox <alc@rice.edu> To: freebsd-bugs@FreeBSD.ORG Subject: Re: i386/8608: wdc1 is not detected on motherboards with Aladdin V chipsets Message-ID: <199812192040.MAA22519@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/8608; it has been noted by GNATS.
From: Alan Cox <alc@rice.edu>
To: freebsd-gnats-submit@freebsd.org, dgies@yikes.com
Cc: Subject: Re: i386/8608: wdc1 is not detected on motherboards with Aladdin V chipsets
Date: Sat, 19 Dec 1998 20:29:56 +0000
Try the following patch to wdprobe:
# cvs diff -c src/sys/i386/isa/wd.c
Index: src/sys/i386/isa/wd.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/isa/wd.c,v
retrieving revision 1.181
diff -c -r1.181 wd.c
*** wd.c 1998/12/15 09:16:57 1.181
--- wd.c 1998/12/16 08:01:53
***************
*** 313,320 ****
interface = du->dk_ctrlr / 2;
du->dk_interface = interface;
#if !defined(DISABLE_PCI_IDE) && (NPCI > 0)
! if (wddma[interface].wdd_candma) {
! du->dk_dmacookie =
wddma[interface].wdd_candma(dvp->id_iobase, du->dk_ctrlr);
du->dk_port = dvp->id_iobase;
du->dk_altport =
wddma[interface].wdd_altiobase(du->dk_dmacookie);
} else {
--- 313,321 ----
interface = du->dk_ctrlr / 2;
du->dk_interface = interface;
#if !defined(DISABLE_PCI_IDE) && (NPCI > 0)
! if ((wddma[interface].wdd_candma != NULL) &&
! ((du->dk_dmacookie =
wddma[interface].wdd_candma(dvp->id_iobase,
!
du->dk_ctrlr)) != NULL)) {
du->dk_port = dvp->id_iobase;
du->dk_altport =
wddma[interface].wdd_altiobase(du->dk_dmacookie);
} else {
This patch won't enable DMA on wdc1, but will permit access to devices
attached to it.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812192040.MAA22519>
