From owner-freebsd-current Thu Jul 8 5:41:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id EA49F14C14 for ; Thu, 8 Jul 1999 05:41:30 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id WAA24705; Thu, 8 Jul 1999 22:41:23 +1000 Date: Thu, 8 Jul 1999 22:41:23 +1000 From: Bruce Evans Message-Id: <199907081241.WAA24705@godzilla.zeta.org.au> To: bhughes@tcac.net, current@FreeBSD.ORG Subject: Re: question regarding CMD640 chipsets Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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