[PATCH] Re: FreeBSD 6.0 on Sony Laptop
Ted Mittelstaedt
tedm at toybox.placo.com
Thu Nov 17 20:37:04 GMT 2005
Can you submit this via send-pr?
Otherwise it's unlikely that it will get committed.
Ted
>-----Original Message-----
>From: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Ruben de Groot
>Sent: Wednesday, November 16, 2005 12:37 AM
>To: Peter Clutton; Derek Tracy; freebsd-questions at freebsd.org
>Subject: [PATCH] Re: FreeBSD 6.0 on Sony Laptop
>
>
>
>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-0
>x18c7 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-0
>x18c7 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
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe at freebsd.org"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.362 / Virus Database: 267.13.3/173 - Release Date:
>11/16/2005
>
More information about the freebsd-questions
mailing list