Marvel IDE 88SE6101 2.4.XX support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: ivaylo
Date: Thursday, September 4, 2008 - 11:26 am

Another one small patch to support Marvel IDE 88SE6101 controler. I have 
one on Intel DG33BU motherboard. It is detect as
02:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101 single-port 
PATA133 interface (rev b2)

I add it in kernel as generic IDE. This patch and the other which is to 
support ICH9 AHCI works for me from few month.

The patch is in attached file and I post it bellow:


diff -ru a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c
--- a/drivers/ide/pci/generic.c 2008-01-01 14:06:40.000000000 +0200
+++ b/drivers/ide/pci/generic.c 2008-05-02 02:57:28.000000000 +0300
@@ -144,6 +144,7 @@
         { PCI_VENDOR_ID_TOSHIBA, PCI_DEVICE_ID_TOSHIBA_PICCOLO_1,  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 10},
         { PCI_VENDOR_ID_TOSHIBA, PCI_DEVICE_ID_TOSHIBA_PICCOLO_2,  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 11},
         { PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_20363,      PCI_ANY_ID, PCI_ANY_ID, 0, 0, 12},
+       { PCI_VENDOR_ID_MARVEL,  PCI_DEVICE_ID_MARVEL_6101,        PCI_ANY_ID, PCI_ANY_ID, 0, 0, 13},
         { 0, },
  };


diff -ru a/drivers/ide/pci/generic.h b/drivers/ide/pci/generic.h
--- a/drivers/ide/pci/generic.h 2008-01-01 14:06:40.000000000 +0200
+++ b/drivers/ide/pci/generic.h 2008-05-02 02:58:18.000000000 +0300
@@ -167,6 +167,16 @@
                 .channels       = 1,
                 .autodma        = NOAUTODMA,
                 .bootable       = ON_BOARD,
+       },{     /* 13 */
+               .vendor         = PCI_VENDOR_ID_MARVEL,
+               .device         = PCI_DEVICE_ID_MARVEL_6101,
+               .name           = "MARVEL_6101",
+               .init_chipset   = init_chipset_generic,
+               .init_hwif      = init_hwif_generic,
+               .init_dma       = init_dma_generic,
+               .channels       = 1,
+               .autodma        = NOAUTODMA,
+               .bootable       = ON_BOARD,
         },{
                 .vendor         = 0,
                 .device         = 0,


diff -ru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
--- a/include/linux/pci_ids.h   2008-01-01 14:06:40.000000000 +0200
+++ b/include/linux/pci_ids.h   2008-05-02 02:52:41.000000000 +0300
@@ -2105,3 +2105,6 @@
  #define PCI_VENDOR_ID_JMICRON          0x197b
  #define PCI_DEVICE_ID_JMICRON_20363    0x2363

+#define PCI_VENDOR_ID_MARVEL           0x11ab
+#define PCI_DEVICE_ID_MARVEL_6101      0x6101
+




Best Regards,
Ivaylo Josifov
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.4.XX ICH7 PATA UDMA Support, ivaylo, (Fri Aug 10, 2:31 pm)
ICH9 AHCI support on 2.4.XX, ivaylo, (Thu Sep 4, 11:07 am)
Marvel IDE 88SE6101 2.4.XX support, ivaylo, (Thu Sep 4, 11:26 am)
Re: Marvel IDE 88SE6101 2.4.XX support, Alan Cox, (Thu Sep 4, 11:36 am)
Re: ICH9 AHCI support on 2.4.XX, Willy Tarreau, (Thu Sep 4, 8:43 pm)
Re: Marvel IDE 88SE6101 2.4.XX support, Willy Tarreau, (Thu Sep 4, 9:03 pm)
Re: Marvel IDE 88SE6101 2.4.XX support, ivaylo, (Fri Sep 5, 3:37 am)
Re: Marvel IDE 88SE6101 2.4.XX support, Willy Tarreau, (Fri Sep 5, 5:33 am)
Re: Marvel IDE 88SE6101 2.4.XX support, Jeff Kirsher, (Mon Sep 8, 10:10 pm)