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

Bug#277814: Fails to compile ata_piix.o module



Package: kernel-image-2.4.26-1-686-smp
Version: 2.4.26-6

The kernel-image-2.4.26-1 package doesn't seem to contain the
ata_piix.o module, which I would expect to find in, for instance,
/lib/modules/2.4.26-1-686-smp/kernel/drivers/scsi/ata_piix.o

However, the kernel source code does contain the source file for this
module; it appears only to be because of a missing line in the
Makefile that the module isn't compiled. If I add the appropriate line
(taken from a 2.6 kernel) to the Makefile and recompile, I get a
module that loads and runs fine. (I want the ata_piix.o module to
support an Intel IHC6 Serial ATA controller on my motherboard at
full speed.)

I've attached the Makefile change I made as a unified diff.

--- drivers/scsi/Makefile	2004-08-18 23:07:17.000000000 -0400
+++ drivers/scsi/Makefile.new	2004-10-22 10:14:07.000000000 -0400
@@ -131,6 +131,7 @@
 obj-$(CONFIG_SCSI_LASI700)	+= lasi700.o 53c700.o
 obj-$(CONFIG_SCSI_NSP32)	+= nsp32.o
 obj-$(CONFIG_SCSI_SATA_SVW)	+= libata.o sata_svw.o
+obj-$(CONFIG_SCSI_ATA_PIIX)     += libata.o ata_piix.o
 obj-$(CONFIG_SCSI_SATA_PROMISE)	+= libata.o sata_promise.o
 obj-$(CONFIG_SCSI_SATA_SIL)	+= libata.o sata_sil.o
 obj-$(CONFIG_SCSI_SATA_VIA)	+= libata.o sata_via.o



Reply to: