Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 1999 22:41:23 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bhughes@tcac.net, current@FreeBSD.ORG
Subject:   Re: question regarding CMD640 chipsets
Message-ID:  <199907081241.WAA24705@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>upon booting -current (from 7/6/99) i noticed that the kernel didn't report
>that the work around was enabled... so i began searching through the code
>looking for where the workaround actually was... i found it in
>src/sys/i386/isa/wd.c (line 282), but the wdc_pci() function only sets
>static int eide_quirks wd.c...  looking into src/sys/pci/ide_pci.c in
>wdattach() i can see a case statement (line 1457) where wdc_pci is supposed
>to be called... but it never gets called (verified by putting a printf into
>wdc_pci and recompiling/installing/booting kernel)

Rev.1.31 of ide_pci.c put the call in a dubious place (after some early
return statements) in ide_pci_attach().  Try putting it at the beginning
of the function (after `type' is initialized).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907081241.WAA24705>