Wildes Miranda wrote: >> There was a lot of fixes and changes. >> And now it mostly doesn't needed. Do you have some >> troubles? > > Yes, i think. I haven't the option to set AHCI on the > BIOS as you suggested, and my trouble is that sata > disk just operate on UDMA33 mode. > i wish to use this box for java development, with many > disk access on compilation process and tomcat > environment. I think that this box will be more fast > with max mode allowed by disk controller. Hi, please, try attached patch (not tested). -- WBR, Andrey V. Elsukov Index: src/sys/dev/ata/ata-chipset.c =================================================================== RCS file: /ncvs/src/sys/dev/ata/ata-chipset.c,v retrieving revision 1.202.2.5 diff -u -b -r1.202.2.5 ata-chipset.c --- src/sys/dev/ata/ata-chipset.c 9 Dec 2007 19:26:56 -0000 1.202.2.5 +++ src/sys/dev/ata/ata-chipset.c 9 Jan 2008 08:34:51 -0000 _at__at_ -1346,7 +1346,9 _at__at_ { ATA_ATI_IXP400_S1, 0x00, SIIMEMIO, 0, ATA_SA150, "IXP400" }, { ATA_ATI_IXP400_S2, 0x00, SIIMEMIO, 0, ATA_SA150, "IXP400" }, { ATA_ATI_IXP600, 0x00, 0, 0, ATA_UDMA6, "IXP600" }, + { ATA_ATI_IXP600_S1, 0x00, 0, 0, ATA_SA300, "IXP600" }, { ATA_ATI_IXP700, 0x00, 0, 0, ATA_UDMA6, "IXP700" }, + { ATA_ATI_IXP700_S1, 0x00, 0, 0, ATA_SA300, "IXP700" }, { 0, 0, 0, 0, 0, 0}}; if (!(ctlr->chip = ata_match_chip(dev, ids))) _at__at_ -1370,6 +1372,11 _at__at_ if (ata_setup_interrupt(dev)) return ENXIO; + /* try to use AHCI */ + if (ctlr->chip->max_dma > ATA_SA150 && + ata_ahci_chipinit(dev) != ENXIO) + return 0; + /* IXP600 & IXP700 only have 1 PATA channel */ if ((ctlr->chip->chipid == ATA_ATI_IXP600) || (ctlr->chip->chipid == ATA_ATI_IXP700)) Index: src/sys/dev/ata/ata-pci.h =================================================================== RCS file: /ncvs/src/sys/dev/ata/ata-pci.h,v retrieving revision 1.81.2.1 diff -u -b -r1.81.2.1 ata-pci.h --- src/sys/dev/ata/ata-pci.h 21 Nov 2007 21:15:00 -0000 1.81.2.1 +++ src/sys/dev/ata/ata-pci.h 9 Jan 2008 08:34:51 -0000 _at__at_ -104,7 +104,9 _at__at_ #define ATA_ATI_IXP400_S1 0x43791002 #define ATA_ATI_IXP400_S2 0x437a1002 #define ATA_ATI_IXP600 0x438c1002 +#define ATA_ATI_IXP600_S1 0x43801002 #define ATA_ATI_IXP700 0x439c1002 +#define ATA_ATI_IXP700_S1 0x43901002 #define ATA_CENATEK_ID 0x16ca #define ATA_CENATEK_ROCKET 0x000116caReceived on Wed Jan 09 2008 - 07:38:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC