Support for ICH7 controller in PowerBook Pro

From: Maxim Sobolev <sobomax_at_FreeBSD.org>
Date: Tue, 25 Apr 2006 01:03:43 -0700
Hi Søren,

Attached please find small patch which adds support for 82801GBM/GHM 
SATA controller found in intel-based Macs, particularly in MacBook Pro.

Please review & approve.

Thanks!

-Maxim

Index: ata-chipset.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.161
diff -d -u -r1.161 ata-chipset.c
--- ata-chipset.c	13 Mar 2006 14:01:37 -0000	1.161
+++ ata-chipset.c	25 Apr 2006 08:00:49 -0000
_at__at_ -1593,6 +1593,7 _at__at_
      { ATA_I82801GB,    0,    0, 0x00, ATA_UDMA5, "ICH7" },
      { ATA_I82801GB_S1, 0, AHCI, 0x00, ATA_SA300, "ICH7" },
      { ATA_I82801GB_R1, 0, AHCI, 0x00, ATA_SA300, "ICH7" },
+     { ATA_I82801GBM_GHM,0,AHCI, 0x00, ATA_SA300, "ICH7" },
      { ATA_I82801GB_M,  0, AHCI, 0x00, ATA_SA300, "ICH7" },
      { ATA_I82801GB_AH, 0, AHCI, 0x00, ATA_SA300, "ICH7" },
      { 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.64
diff -d -u -r1.64 ata-pci.h
--- ata-pci.h	13 Mar 2006 14:01:37 -0000	1.64
+++ ata-pci.h	25 Apr 2006 08:00:49 -0000
_at__at_ -152,6 +152,7 @@
 #define ATA_I82801GB_S1         0x27c08086
 #define ATA_I82801GB_R1         0x27c38086
 #define ATA_I82801GB_AH         0x27c18086
+#define ATA_I82801GBM_GHM       0x27c48086
 #define ATA_I82801GB_M          0x27c58086
 #define ATA_I31244              0x32008086
 
Received on Tue Apr 25 2006 - 06:03:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC