lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 4 Sep 2008 21:26:12 +0300 (EEST)
From:	ivaylo@...ans.net
To:	linux-kernel@...r.kernel.org
cc:	w@....eu
Subject: Marvel IDE 88SE6101 2.4.XX support


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
Download attachment "Marvel-IDE.patch.gz" of type "APPLICATION/octet-stream" (556 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ