Date: Tue, 9 Oct 2007 22:32:55 +0300 From: "Abdullah Ibn Hamad Al-Marri" <almarrie@gmail.com> To: d@delphij.net Cc: FreeBSD Stable List <freebsd-stable@freebsd.org> Subject: Re: ICH9 support for Motherboard: Foxconn G33M? Message-ID: <499c70c0710091232g67733baeu14ef9105d9bb8ae0@mail.gmail.com> In-Reply-To: <470BCC10.7080504@delphij.net> References: <499c70c0710091134x236e95b9gf57cd96ca1f670ea@mail.gmail.com> <470BCC10.7080504@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 10/9/07, LI Xin <delphij@delphij.net> wrote: > Abdullah Ibn Hamad Al-Marri wrote: > > Hello, > > > > This is just a fresh csup buildworld, buildkernel with GENERIC > > > > Motherboard: Foxconn G33M > > > > ata controllers not found so it runs generic @ udma33 slowest possible > > I think the chipset is not yet supported by -HEAD now. Would you please > try the attached patch to see if it works? > > Cheers, > -- > Xin LI <delphij@delphij.net> http://www.delphij.net/ > FreeBSD - The Power to Serve! > > Index: ata-chipset.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v > retrieving revision 1.201 > diff -u -p -r1.201 ata-chipset.c > --- ata-chipset.c 4 Oct 2007 19:17:15 -0000 1.201 > +++ ata-chipset.c 9 Oct 2007 18:40:28 -0000 > @@ -1713,6 +1713,7 @@ ata_intel_ident(device_t dev) > { ATA_I82801HBM_S2, 0, AHCI, 0x00, ATA_SA300, "ICH8M" }, > { ATA_I82801IB_S1, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, > { ATA_I82801IB_S2, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, > + { ATA_I82801IB_AH2, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, > { ATA_I82801IB_AH4, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, > { ATA_I82801IB_AH6, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, > { ATA_I31244, 0, 0, 0x00, ATA_SA150, "31244" }, > Index: ata-pci.h > =================================================================== > RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v > retrieving revision 1.80 > diff -u -p -r1.80 ata-pci.h > --- ata-pci.h 4 Oct 2007 19:17:16 -0000 1.80 > +++ ata-pci.h 9 Oct 2007 18:39:51 -0000 > @@ -169,6 +169,7 @@ struct ata_connect_task { > #define ATA_I82801HBM_S1 0x28298086 > #define ATA_I82801HBM_S2 0x282a8086 > #define ATA_I82801IB_S1 0x29208086 > +#define ATA_I82801IB_AH2 0x29218086 > #define ATA_I82801IB_AH6 0x29228086 > #define ATA_I82801IB_AH4 0x29238086 > #define ATA_I82801IB_S2 0x29268086 Thank you Li, It works, and thank you for the RELENG_6 patch too. I'm attaching it just in case someone needs it. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ [-- Attachment #2 --] Index: ata-chipset.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v retrieving revision 1.126.2.19 diff -u -p -r1.126.2.19 ata-chipset.c --- ata-chipset.c 4 Jul 2007 12:29:15 -0000 1.126.2.19 +++ ata-chipset.c 9 Oct 2007 18:49:23 -0000 @@ -1699,6 +1699,11 @@ ata_intel_ident(device_t dev) { ATA_I82801HB_AH6, 0, AHCI, 0x00, ATA_SA300, "ICH8" }, { ATA_I82801HBM_S1, 0, AHCI, 0x00, ATA_SA300, "ICH8M" }, { ATA_I82801HBM_S2, 0, AHCI, 0x00, ATA_SA300, "ICH8M" }, + { ATA_I82801IB_S1, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, + { ATA_I82801IB_S2, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, + { ATA_I82801IB_AH2, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, + { ATA_I82801IB_AH4, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, + { ATA_I82801IB_AH6, 0, AHCI, 0x00, ATA_SA300, "ICH9" }, { ATA_I31244, 0, 0, 0x00, ATA_SA150, "31244" }, { 0, 0, 0, 0, 0, 0}}; char buffer[64]; Index: ata-pci.h =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v retrieving revision 1.49.2.11 diff -u -p -r1.49.2.11 ata-pci.h --- ata-pci.h 11 Feb 2007 23:46:45 -0000 1.49.2.11 +++ ata-pci.h 9 Oct 2007 18:49:38 -0000 @@ -167,6 +167,11 @@ struct ata_connect_task { #define ATA_I82801HB_S2 0x28258086 #define ATA_I82801HBM_S1 0x28298086 #define ATA_I82801HBM_S2 0x282a8086 +#define ATA_I82801IB_S1 0x29208086 +#define ATA_I82801IB_AH2 0x29218086 +#define ATA_I82801IB_AH6 0x29228086 +#define ATA_I82801IB_AH4 0x29238086 +#define ATA_I82801IB_S2 0x29268086 #define ATA_I31244 0x32008086 #define ATA_ITE_ID 0x1283
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499c70c0710091232g67733baeu14ef9105d9bb8ae0>
