From owner-cvs-all Sun Mar 28 10:57:40 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D7BB414E15; Sun, 28 Mar 1999 10:57:38 -0800 (PST) (envelope-from sos@FreeBSD.org) Received: (from sos@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id KAA60168; Sun, 28 Mar 1999 10:57:21 -0800 (PST) (envelope-from sos@FreeBSD.org) Message-Id: <199903281857.KAA60168@freefall.freebsd.org> From: Søren Schmidt Date: Sun, 28 Mar 1999 10:57:21 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-dma.c ata-all.c ata-all.h ata-disk.c ata-disk.h atapi-all.c atapi-all.h atapi-cd.c atapi-fd.c atapi-tape.c src/sys/i386/conf files.i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk sos 1999/03/28 10:57:21 PST Modified files: sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-disk.h atapi-all.c atapi-all.h atapi-cd.c atapi-fd.c atapi-tape.c sys/i386/conf files.i386 Added files: sys/dev/ata ata-dma.c Log: Fourth update to the new ATA/ATAPI driver: Well, better late than newer, but things has been hectic around here, sorry for the long delay. DMA support has been added to the ATA disk driver. This only works on Intel PIIX3/4, Acer Aladdin and Promise controllers. The promise support works without the BIOS on the board, and timing modes are set to support up to UDMA speed. This solves the problems with having more than one promise controller in the same system. There is support for "generic" DMA, that might work on other controllers, but now you have been warned :) More chipset specific code will come soon, I have to find testers with the approbiate HW, more on that when I have it ready. The system now uses its own major numbers, please run MAKEDEV with the devices you need (ad?, acd?, afd?, ast?). For now the disk driver will also attach to the old wd major so one can at least boot without this step, but be warned, this will eventually go away. The bootblocks will have to be changed before one can boot directly from an "ad" device though. Fixed problems: All known hang problems should be solved The probe code has been sligthly changed, this should solve the reports I have lying around (I hope). Hangs when accessing ata & atapi device on the same channel simultaniously. A real braino in ata_start caused this, fixed. As usual USE AT YOUR OWN RISK!!, this is still pre alpha level code. Especially the DMA support can hose your disk real bad if anything goes wrong, agaiin you have been warned :) But please tell me how it works for you! Enjoy! -Søren Revision Changes Path 1.5 +108 -70 src/sys/dev/ata/ata-all.c 1.5 +62 -16 src/sys/dev/ata/ata-all.h 1.5 +151 -50 src/sys/dev/ata/ata-disk.c 1.5 +37 -16 src/sys/dev/ata/ata-disk.h 1.5 +41 -39 src/sys/dev/ata/atapi-all.c 1.4 +63 -24 src/sys/dev/ata/atapi-all.h 1.4 +9 -6 src/sys/dev/ata/atapi-cd.c 1.4 +5 -6 src/sys/dev/ata/atapi-fd.c 1.5 +5 -4 src/sys/dev/ata/atapi-tape.c 1.230 +2 -1 src/sys/i386/conf/files.i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message