Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
ide_pci_generic: add quirk for Netcell ATA RAID

+11
+11
drivers/ide/ide-pci-generic.c
··· 33 33 module_param_named(all_generic_ide, ide_generic_all, bool, 0444); 34 34 MODULE_PARM_DESC(all_generic_ide, "IDE generic will claim all unknown PCI IDE storage controllers."); 35 35 36 + static void netcell_quirkproc(ide_drive_t *drive) 37 + { 38 + /* mark words 85-87 as valid */ 39 + drive->id[ATA_ID_CSF_DEFAULT] |= 0x4000; 40 + } 41 + 42 + static const struct ide_port_ops netcell_port_ops = { 43 + .quirkproc = netcell_quirkproc, 44 + }; 45 + 36 46 #define DECLARE_GENERIC_PCI_DEV(extra_flags) \ 37 47 { \ 38 48 .name = DRV_NAME, \ ··· 84 74 85 75 { /* 6: Revolution */ 86 76 .name = DRV_NAME, 77 + .port_ops = &netcell_port_ops, 87 78 .host_flags = IDE_HFLAG_CLEAR_SIMPLEX | 88 79 IDE_HFLAG_TRUST_BIOS_FOR_DMA | 89 80 IDE_HFLAG_OFF_BOARD,