Skip to contentSkip to conversation

PATA module extension for ATA/RAID controller SIL680

DISCUSSION CGC Bungetzianu 2 participants 2 messages Nov 24, 2013

lore
Share & tools
lore
#0 lore raw

The controller SIL680 has the same register layout as other pata controllers. Only the PCI ID of the device is different. With minimal changes it can be integrated.

Catalin

33,34d32
< #define GRUB_SIL680_PCIID 0x06801095
<
356d353
< int sil680 = 0;
369,372d365
< else if( pciid == GRUB_SIL680_PCIID)
< {
< sil680 = 1;
< }
375c368
< if (!cs5536 && !sil680 && (class >> 16 != 0x0101))
---

Quoted 1 line
  if (!cs5536 && (class >> 16 != 0x0101))

386,387d378
< else if (sil680)
< compat = 1;

#1 lore raw
Quoted 5 lines · CGC Bungetzianu

The controller SIL680 has the same register layout as other pata controllers.
Only the PCI ID of the device is different. With minimal changes it can be integrated.

Can you paste lspci -vvvnnxxx ? Usually using hardcoded adresses for PCI devices is wrong.

Quoted 28 lines

Catalin

33,34d32
< #define GRUB_SIL680_PCIID 0x06801095
<
356d353
< int sil680 = 0;
369,372d365
< else if( pciid == GRUB_SIL680_PCIID)
< {
< sil680 = 1;
< }
375c368
< if (!cs5536 && !sil680 && (class >> 16 != 0x0101))
---

Quoted 1 line
  if (!cs5536 && (class >> 16 != 0x0101))

386,387d378
< else if (sil680)
< compat = 1;

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel