Kernel fix for ICH7M controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The ata_piix module doesn't detect that my laptop's disk controller (Intel Corporation 82801GBM/GHM - ICH7 Family) is configured to have PATA drives in the first two channels. I looked at Intel's documentation and they say that my controller isn't supposed to support this configuration, but it's the default setup on this laptop, there's no way to change it in the BIOS, and it works in Windows, so I'm assuming this is a documentation error.

This patch changes one line in ata_piix.c so that it sees this configuration as valid (and therefore recognizes my drives). I've tested it on my laptop and the module is now working perfectly (whereas the kernel was using the old IDE driver previously with no DMA enabled).

I'm cc'ing fedora-devel-list because I'm not even sure where this patch is supposed to go and I would like it to make it into FC6, as I really don't want to have to jump through hoop after hoop just to get FC6 installed on my hard drive.

Thanks,
Jonathan

--- linux-2.6.17/drivers/scsi/ata_piix.c	2006-09-03 16:37:16.000000000 +0300
+++ linux-2.6.17-new/drivers/scsi/ata_piix.c	2006-09-03 16:39:14.000000000 +0300
@@ -326,15 +326,15 @@
 static const struct piix_map_db ich6m_map_db = {
 	.mask = 0x3,
 	.port_enable = 0x5,
 	.present_shift = 4,
 	.map = {
 		/* PM   PS   SM   SS       MAP */
 		{  P0,  P2,  RV,  RV }, /* 00b */
-		{  RV,  RV,  RV,  RV },
+		{ IDE, IDE,  P1,  P3 }, /* 01b */
 		{  P0,  P2, IDE, IDE }, /* 10b */
 		{  RV,  RV,  RV,  RV },
 	},
 };
 
 static const struct piix_map_db ich8_map_db = {
 	.mask = 0x3,
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux