Date: Thu, 27 Feb 2003 09:49:47 +0100 (CET) From: Soeren Schmidt <sos@spider.deepcore.dk> To: Philip Paeps <philip@paeps.cx> Cc: Andrew Gallatin <gallatin@cs.duke.edu>, alpha@FreeBSD.ORG, sos@FreeBSD.ORG Subject: Re: ATA Panic on boot Message-ID: <200302270849.h1R8nllZ080657@spider.deepcore.dk> In-Reply-To: <20030227084533.GG1930@juno.home.paeps.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
It seems Philip Paeps wrote: Aha, try this patch: RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v retrieving revision 1.7 diff -u -r1.7 ata-chipset.c --- ata-chipset.c 27 Feb 2003 07:11:42 -0000 1.7 +++ ata-chipset.c 27 Feb 2003 08:49:11 -0000 @@ -535,7 +535,7 @@ * doesn't work with the crappy ATA interrupt setup on the alpha. */ if (pci_get_devid(dev) == ATA_CYPRESS_82C693 && - pci_get_function(dev) == 0 && + pci_get_function(dev) == 1 && pci_get_subclass(dev) == PCIS_STORAGE_IDE) { device_set_desc(dev, "Cypress 82C693 ATA controller"); ctlr->chipinit = ata_cypress_chipinit; @@ -561,6 +561,8 @@ { device_t parent = device_get_parent(atadev->channel->dev); int error; + + mode = ata_limit_mode(atadev, mode, ATA_WDMA2); /* XXX missing WDMA0+1 + PIO modes */ if (mode == ATA_WDMA2) { -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302270849.h1R8nllZ080657>