Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 09:37:03 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        Peter Clutton <peterclutton@gmail.com>, Derek Tracy <tracyde@gmail.com>, freebsd-questions@freebsd.org
Subject:   [PATCH] Re: FreeBSD 6.0 on Sony Laptop
Message-ID:  <20051116083703.GA97748@ei.bzerk.org>
In-Reply-To: <20051115120631.GA26476@ei.bzerk.org>
References:  <9999810b0511130559g1cb28d38ie3eeb561d8ccfe46@mail.gmail.com> <57416b300511131402o2a9cad97ic4cf3c1647808b3a@mail.gmail.com> <20051114161259.GA69914@ei.bzerk.org> <57416b300511141359m17db36e2x34a44a60786f6808@mail.gmail.com> <20051115120631.GA26476@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Following up on myself; the patch below (relative to 5.4-RELEASE) makes
my vaio VGN-S5M/S recognise the SATA controller for what it is.

Before:

atapci1: <GENERIC ATA controller> port 0x18a0-0x18af,0x1894-0x1897,0x18b0-0x18b7,0x18b8-0x18bb,0x18c0-0x18c7 irq 18 at device 31.2 on pci0
ad4: 76319MB <FUJITSU MHV2080BH/00000025> [155061/16/63] at ata2-master UDMA33

After:

atapci1: <Intel ICH6-M SATA150 controller> port 0x18a0-0x18af,0x1894-0x1897,0x18b0-0x18b7,0x18b8-0x18bb,0x18c0-0x18c7 irq 18 at device 31.2 on pci0
ad4: 76319MB <FUJITSU MHV2080BH/00000025> [155061/16/63] at ata2-master SATA150

Patch:

diff -u sys/dev/ata.orig/ata-chipset.c sys/dev/ata/ata-chipset.c
--- sys/dev/ata.orig/ata-chipset.c      Wed Mar 23 06:14:11 2005
+++ sys/dev/ata/ata-chipset.c   Tue Nov 15 21:39:17 2005
@@ -838,6 +838,7 @@
      { ATA_I82801FB,   0, 0, 0x00, ATA_UDMA5, "Intel ICH6" },
      { ATA_I82801FB_S1,0, 0, 0x00, ATA_SA150, "Intel ICH6" },
      { ATA_I82801FB_R1,0, 0, 0x00, ATA_SA150, "Intel ICH6" },
+     { ATA_I82801FBM,  0, 0, 0x00, ATA_SA150, "Intel ICH6-M" },
      { 0, 0, 0, 0, 0, 0}};
     char buffer[64];

diff -u sys/dev/ata.orig/ata-pci.h sys/dev/ata/ata-pci.h
--- sys/dev/ata.orig/ata-pci.h  Wed Mar 23 06:14:11 2005
+++ sys/dev/ata/ata-pci.h       Tue Nov 15 21:41:07 2005
@@ -127,6 +127,7 @@
 #define ATA_I82801FB		0x266f8086
 #define ATA_I82801FB_S1		0x26518086
 #define ATA_I82801FB_R1		0x26528086
+#define ATA_I82801FBM		0x26538086

 #define ATA_ITE_ID		0x1283
 #define ATA_IT8212F		0x82121283




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051116083703.GA97748>