Ever wondered where those "setting incorrect section attributes for
rodata.pci_driver" warnings are coming from? We were packing those structures into a read-only segment, but forgot to mark them const. Despite its size, this is a fairly trivial patch created by a simple search/replace Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2891 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
0dff6e3fa9
commit
f1cf1f7c3a
|
@ -72,7 +72,7 @@ static struct device_operations cpu_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver cpu_driver __pci_driver = {
|
||||
static const struct pci_driver cpu_driver __pci_driver = {
|
||||
.ops = &cpu_operations,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x3000
|
||||
|
|
|
@ -1499,7 +1499,7 @@ static struct device_operations ati_ragexl_graph_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ati_ragexl_graph_driver __pci_driver = {
|
||||
static const struct pci_driver ati_ragexl_graph_driver __pci_driver = {
|
||||
.ops = &ati_ragexl_graph_ops,
|
||||
.vendor = PCI_VENDOR_ID_ATI,
|
||||
.device = PCI_DEVICE_ID_ATI_215XL,
|
||||
|
|
|
@ -81,7 +81,7 @@ static struct device_operations qemu_graph_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver qemu_graph_driver __pci_driver = {
|
||||
static const struct pci_driver qemu_graph_driver __pci_driver = {
|
||||
.ops = &qemu_graph_ops,
|
||||
.vendor = 0x1234,
|
||||
.device = 0x1111,
|
||||
|
|
|
@ -59,7 +59,7 @@ static struct device_operations si_sata_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver si_sata_driver __pci_driver = {
|
||||
static const struct pci_driver si_sata_driver __pci_driver = {
|
||||
.ops = &si_sata_ops,
|
||||
.vendor = 0x1095,
|
||||
.device = 0x3114,
|
||||
|
|
|
@ -1020,7 +1020,7 @@ static struct device_operations trident_blade3d_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver trident_blade3d_driver __pci_driver = {
|
||||
static const struct pci_driver trident_blade3d_driver __pci_driver = {
|
||||
.ops = &trident_blade3d_ops,
|
||||
.vendor = 0x1023,
|
||||
.device = 0x9880,
|
||||
|
|
|
@ -27,7 +27,7 @@ static struct device_operations vga_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver vga_driver __pci_driver = {
|
||||
static const struct pci_driver vga_driver __pci_driver = {
|
||||
.ops = &vga_operations,
|
||||
.vendor = 0x1013,
|
||||
.device = 0x00b8,
|
||||
|
|
|
@ -224,7 +224,7 @@ static struct device_operations mcf3_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver mcf3_driver __pci_driver = {
|
||||
static const struct pci_driver mcf3_driver __pci_driver = {
|
||||
.ops = &mcf3_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x1103,
|
||||
|
|
|
@ -623,7 +623,7 @@ static struct device_operations northbridge_operations = {
|
|||
};
|
||||
|
||||
|
||||
static struct pci_driver mcf0_driver __pci_driver = {
|
||||
static const struct pci_driver mcf0_driver __pci_driver = {
|
||||
.ops = &northbridge_operations,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x1100,
|
||||
|
|
|
@ -59,7 +59,7 @@ static struct device_operations northbridge_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver northbridge_driver __pci_driver = {
|
||||
static const struct pci_driver northbridge_driver __pci_driver = {
|
||||
.ops = &northbridge_operations,
|
||||
.vendor = PCI_VENDOR_ID_CYRIX,
|
||||
.device = PCI_DEVICE_ID_CYRIX_PCI_MASTER,
|
||||
|
|
|
@ -349,7 +349,7 @@ static struct device_operations northbridge_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver northbridge_driver __pci_driver = {
|
||||
static const struct pci_driver northbridge_driver __pci_driver = {
|
||||
.ops = &northbridge_operations,
|
||||
.vendor = PCI_VENDOR_ID_NS,
|
||||
.device = PCI_DEVICE_ID_NS_GX2,
|
||||
|
|
|
@ -225,7 +225,7 @@ static struct device_operations northbridge_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver northbridge_driver __pci_driver = {
|
||||
static const struct pci_driver northbridge_driver __pci_driver = {
|
||||
.ops = &northbridge_operations,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_LXBRIDGE,
|
||||
|
|
|
@ -229,7 +229,7 @@ static struct device_operations mc_ops = {
|
|||
.ops_pci = &intel_pci_ops,
|
||||
};
|
||||
|
||||
static struct pci_driver mc_driver __pci_driver = {
|
||||
static const struct pci_driver mc_driver __pci_driver = {
|
||||
.ops = &mc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x3590,
|
||||
|
|
|
@ -53,7 +53,7 @@ static struct device_operations pcie_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PA,
|
||||
|
|
|
@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PA1,
|
||||
|
|
|
@ -33,7 +33,7 @@ static struct device_operations pcie_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PB,
|
||||
|
|
|
@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PC,
|
||||
|
|
|
@ -229,7 +229,7 @@ static struct device_operations mc_ops = {
|
|||
.ops_pci = &intel_pci_ops,
|
||||
};
|
||||
|
||||
static struct pci_driver mc_driver __pci_driver = {
|
||||
static const struct pci_driver mc_driver __pci_driver = {
|
||||
.ops = &mc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x359e,
|
||||
|
|
|
@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PA,
|
||||
|
|
|
@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PA1,
|
||||
|
|
|
@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PB,
|
||||
|
|
|
@ -32,7 +32,7 @@ static struct device_operations pcie_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_PCIE_PC,
|
||||
|
|
|
@ -25,7 +25,7 @@ static struct device_operations northbridge_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver northbridge_driver __pci_driver = {
|
||||
static const struct pci_driver northbridge_driver __pci_driver = {
|
||||
.ops = &northbridge_operations,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x7190,
|
||||
|
|
|
@ -45,7 +45,7 @@ static struct device_operations northbridge_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver northbridge_driver __pci_driver = {
|
||||
static const struct pci_driver northbridge_driver __pci_driver = {
|
||||
.ops = &northbridge_operations,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x7120,
|
||||
|
|
|
@ -38,7 +38,7 @@ static struct device_operations northbridge_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver northbridge_driver __pci_driver = {
|
||||
static const struct pci_driver northbridge_driver __pci_driver = {
|
||||
.ops = &northbridge_operations,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.device = 0x0601, /* 0x8601 is the AGP bridge? */
|
||||
|
|
|
@ -81,7 +81,7 @@ static struct device_operations northbridge_operations = {
|
|||
.init = northbridge_init
|
||||
};
|
||||
|
||||
static struct pci_driver northbridge_driver __pci_driver = {
|
||||
static const struct pci_driver northbridge_driver __pci_driver = {
|
||||
.ops = &northbridge_operations,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.device = PCI_DEVICE_ID_VIA_8623,
|
||||
|
@ -109,7 +109,7 @@ static struct device_operations agp_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver agp_driver __pci_driver = {
|
||||
static const struct pci_driver agp_driver __pci_driver = {
|
||||
.ops = &agp_operations,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.device = PCI_DEVICE_ID_VIA_8633_1,
|
||||
|
@ -200,7 +200,7 @@ static struct device_operations vga_operations = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver vga_driver __pci_driver = {
|
||||
static const struct pci_driver vga_driver __pci_driver = {
|
||||
.ops = &vga_operations,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.device = 0x3122,
|
||||
|
|
|
@ -28,7 +28,7 @@ static struct device_operations ac97audio_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97audio_driver __pci_driver = {
|
||||
static const struct pci_driver ac97audio_driver __pci_driver = {
|
||||
.ops = &ac97audio_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x746D,
|
||||
|
@ -45,7 +45,7 @@ static struct device_operations ac97modem_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97modem_driver __pci_driver = {
|
||||
static const struct pci_driver ac97modem_driver __pci_driver = {
|
||||
.ops = &ac97modem_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x746E,
|
||||
|
|
|
@ -213,7 +213,7 @@ static struct device_operations acpi_ops = {
|
|||
.ops_smbus_bus = &lops_smbus_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver acpi_driver __pci_driver = {
|
||||
static const struct pci_driver acpi_driver __pci_driver = {
|
||||
.ops = &acpi_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_8111_ACPI,
|
||||
|
|
|
@ -58,7 +58,7 @@ static struct device_operations ide_ops = {
|
|||
.ops_pci = &lops_pci
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_8111_IDE,
|
||||
|
|
|
@ -198,7 +198,7 @@ static struct device_operations lpc_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver lpc_driver __pci_driver = {
|
||||
static const struct pci_driver lpc_driver __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_8111_ISA,
|
||||
|
|
|
@ -82,7 +82,7 @@ static struct device_operations nic_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver nic_driver __pci_driver = {
|
||||
static const struct pci_driver nic_driver __pci_driver = {
|
||||
.ops = &nic_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_8111_NIC,
|
||||
|
|
|
@ -60,7 +60,7 @@ static struct device_operations pci_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_8111_PCI,
|
||||
|
|
|
@ -34,7 +34,7 @@ static struct device_operations smbus_ops = {
|
|||
.ops_smbus_bus = &lops_smbus_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver smbus_driver __pci_driver = {
|
||||
static const struct pci_driver smbus_driver __pci_driver = {
|
||||
.ops = &smbus_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_8111_SMB,
|
||||
|
|
|
@ -30,7 +30,7 @@ static struct device_operations usb_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver usb_driver __pci_driver = {
|
||||
static const struct pci_driver usb_driver __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_8111_USB,
|
||||
|
|
|
@ -38,7 +38,7 @@ static struct device_operations usb2_ops = {
|
|||
// .ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver usb2_driver __pci_driver = {
|
||||
static const struct pci_driver usb2_driver __pci_driver = {
|
||||
.ops = &usb2_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_8111_USB2,
|
||||
|
|
|
@ -80,7 +80,7 @@ static struct device_operations pcix_ops = {
|
|||
.enable = amd8131_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver pcix_driver __pci_driver = {
|
||||
static const struct pci_driver pcix_driver __pci_driver = {
|
||||
.ops = &pcix_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x7450,
|
||||
|
@ -108,7 +108,7 @@ static struct device_operations ioapic_ops = {
|
|||
.enable = ioapic_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver ioapic_driver __pci_driver = {
|
||||
static const struct pci_driver ioapic_driver __pci_driver = {
|
||||
.ops = &ioapic_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x7451,
|
||||
|
|
|
@ -394,7 +394,7 @@ static struct device_operations pcix_ops = {
|
|||
.reset_bus = pci_bus_reset,
|
||||
};
|
||||
|
||||
static struct pci_driver pcix_driver __pci_driver = {
|
||||
static const struct pci_driver pcix_driver __pci_driver = {
|
||||
.ops = &pcix_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x7450,
|
||||
|
@ -427,7 +427,7 @@ static struct device_operations ioapic_ops = {
|
|||
.ops_pci = &pci_ops_pci_dev,
|
||||
};
|
||||
|
||||
static struct pci_driver ioapic_driver __pci_driver = {
|
||||
static const struct pci_driver ioapic_driver __pci_driver = {
|
||||
.ops = &ioapic_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x7451,
|
||||
|
|
|
@ -380,7 +380,7 @@ static struct device_operations pcix_ops = {
|
|||
.reset_bus = pci_bus_reset,
|
||||
};
|
||||
|
||||
static struct pci_driver pcix_driver __pci_driver = {
|
||||
static const struct pci_driver pcix_driver __pci_driver = {
|
||||
.ops = &pcix_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x7458,
|
||||
|
@ -449,7 +449,7 @@ static struct device_operations ioapic_ops = {
|
|||
.ops_pci = &pci_ops_pci_dev,
|
||||
};
|
||||
|
||||
static struct pci_driver ioapic_driver __pci_driver = {
|
||||
static const struct pci_driver ioapic_driver __pci_driver = {
|
||||
.ops = &ioapic_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x7459,
|
||||
|
|
|
@ -29,7 +29,7 @@ static struct device_operations agp3bridge_ops = {
|
|||
.scan_bus = pci_scan_bridge,
|
||||
};
|
||||
|
||||
static struct pci_driver agp3bridge_driver __pci_driver = {
|
||||
static const struct pci_driver agp3bridge_driver __pci_driver = {
|
||||
.ops = &agp3bridge_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x7455, // AGP Bridge
|
||||
|
@ -68,7 +68,7 @@ static struct device_operations agp3dev_ops = {
|
|||
.ops_pci = &pci_ops_pci_dev,
|
||||
};
|
||||
|
||||
static struct pci_driver agp3dev_driver __pci_driver = {
|
||||
static const struct pci_driver agp3dev_driver __pci_driver = {
|
||||
.ops = &agp3dev_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = 0x7454, //AGP Device
|
||||
|
|
|
@ -71,7 +71,7 @@ static struct device_operations ide_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_CYRIX,
|
||||
.device = PCI_DEVICE_ID_CYRIX_5530_IDE,
|
||||
|
|
|
@ -53,7 +53,7 @@ static struct device_operations isa_ops = {
|
|||
.scan_bus = scan_static_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver isa_driver __pci_driver = {
|
||||
static const struct pci_driver isa_driver __pci_driver = {
|
||||
.ops = &isa_ops,
|
||||
.vendor = PCI_VENDOR_ID_CYRIX,
|
||||
.device = PCI_DEVICE_ID_CYRIX_5530_LEGACY,
|
||||
|
|
|
@ -484,7 +484,7 @@ static struct device_operations vga_ops = {
|
|||
.enable = NULL, /* not required */
|
||||
};
|
||||
|
||||
static struct pci_driver vga_pci_driver __pci_driver = {
|
||||
static const struct pci_driver vga_pci_driver __pci_driver = {
|
||||
.ops = &vga_ops,
|
||||
.vendor = PCI_VENDOR_ID_CYRIX,
|
||||
.device = PCI_DEVICE_ID_CYRIX_5530_VIDEO,
|
||||
|
|
|
@ -85,7 +85,7 @@ static struct device_operations southbridge_ops = {
|
|||
.scan_bus = scan_static_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver cs5535_pci_driver __pci_driver = {
|
||||
static const struct pci_driver cs5535_pci_driver __pci_driver = {
|
||||
.ops = &southbridge_ops,
|
||||
.vendor = PCI_VENDOR_ID_NS,
|
||||
.device = PCI_DEVICE_ID_NS_CS5535
|
||||
|
|
|
@ -23,7 +23,7 @@ static struct device_operations ide_ops = {
|
|||
.enable = ide_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_NS,
|
||||
.device = PCI_DEVICE_ID_NS_CS5535_IDE,
|
||||
|
|
|
@ -627,7 +627,7 @@ static struct device_operations southbridge_ops = {
|
|||
.scan_bus = scan_static_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver cs5536_pci_driver __pci_driver = {
|
||||
static const struct pci_driver cs5536_pci_driver __pci_driver = {
|
||||
.ops = &southbridge_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_CS5536_ISA
|
||||
|
|
|
@ -61,7 +61,7 @@ static struct device_operations ide_ops = {
|
|||
.enable = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_AMD,
|
||||
.device = PCI_DEVICE_ID_AMD_CS5536_B0_IDE,
|
||||
|
|
|
@ -37,12 +37,12 @@ static struct device_operations nic_ops = {
|
|||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
static struct pci_driver nic_driver __pci_driver = {
|
||||
static const struct pci_driver nic_driver __pci_driver = {
|
||||
.ops = &nic_ops,
|
||||
.vendor = PCI_VENDOR_ID_BROADCOM,
|
||||
.device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC,
|
||||
};
|
||||
static struct pci_driver nic1_driver __pci_driver = {
|
||||
static const struct pci_driver nic1_driver __pci_driver = {
|
||||
.ops = &nic_ops,
|
||||
.vendor = PCI_VENDOR_ID_BROADCOM,
|
||||
.device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC1,
|
||||
|
|
|
@ -38,7 +38,7 @@ static struct device_operations pcie_ops = {
|
|||
|
||||
};
|
||||
|
||||
static struct pci_driver pcie_driver __pci_driver = {
|
||||
static const struct pci_driver pcie_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_SERVERWORKS,
|
||||
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PCIE,
|
||||
|
|
|
@ -29,7 +29,7 @@ static struct device_operations ht_ops = {
|
|||
|
||||
};
|
||||
|
||||
static struct pci_driver ht_driver __pci_driver = {
|
||||
static const struct pci_driver ht_driver __pci_driver = {
|
||||
.ops = &ht_ops,
|
||||
.vendor = PCI_VENDOR_ID_SERVERWORKS,
|
||||
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PXB,
|
||||
|
|
|
@ -50,7 +50,7 @@ static struct device_operations ide_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_SERVERWORKS,
|
||||
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_IDE,
|
||||
|
|
|
@ -129,7 +129,7 @@ static struct device_operations lpc_ops = {
|
|||
// .enable = bcm5785_enable,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
static struct pci_driver lpc_driver __pci_driver = {
|
||||
static const struct pci_driver lpc_driver __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_SERVERWORKS,
|
||||
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_LPC,
|
||||
|
|
|
@ -87,7 +87,7 @@ static struct device_operations sata_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver sata0_driver __pci_driver = {
|
||||
static const struct pci_driver sata0_driver __pci_driver = {
|
||||
.ops = &sata_ops,
|
||||
.vendor = PCI_VENDOR_ID_SERVERWORKS,
|
||||
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SATA,
|
||||
|
|
|
@ -145,7 +145,7 @@ static struct device_operations sb_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
.ops_smbus_bus = &lops_smbus_bus,
|
||||
};
|
||||
static struct pci_driver sb_driver __pci_driver = {
|
||||
static const struct pci_driver sb_driver __pci_driver = {
|
||||
.ops = &sb_ops,
|
||||
.vendor = PCI_VENDOR_ID_SERVERWORKS,
|
||||
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SB_PCI_MAIN,
|
||||
|
|
|
@ -41,7 +41,7 @@ static struct device_operations usb_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver usb_driver __pci_driver = {
|
||||
static const struct pci_driver usb_driver __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_SERVERWORKS,
|
||||
.device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_USB,
|
||||
|
|
|
@ -25,12 +25,12 @@ static struct device_operations ac97_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97_audio_driver __pci_driver = {
|
||||
static const struct pci_driver ac97_audio_driver __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_AC97_AUDIO,
|
||||
};
|
||||
static struct pci_driver ac97_modem_driver __pci_driver = {
|
||||
static const struct pci_driver ac97_modem_driver __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_AC97_MODEM,
|
||||
|
|
|
@ -43,7 +43,7 @@ static struct device_operations pci_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_BRIDGE1C,
|
||||
|
|
|
@ -43,7 +43,7 @@ static struct device_operations ehci_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ehci_driver __pci_driver = {
|
||||
static const struct pci_driver ehci_driver __pci_driver = {
|
||||
.ops = &ehci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_EHCI,
|
||||
|
|
|
@ -48,7 +48,7 @@ static struct device_operations ide_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_IDE,
|
||||
|
|
|
@ -403,7 +403,7 @@ static struct device_operations lpc_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver lpc_driver __pci_driver = {
|
||||
static const struct pci_driver lpc_driver __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_ISA,
|
||||
|
|
|
@ -29,7 +29,7 @@ static struct device_operations pci_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_PCI,
|
||||
|
|
|
@ -101,7 +101,7 @@ static struct device_operations pci_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_PIC1,
|
||||
|
|
|
@ -63,13 +63,13 @@ static struct device_operations sata_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver sata_driver __pci_driver = {
|
||||
static const struct pci_driver sata_driver __pci_driver = {
|
||||
.ops = &sata_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_SATA,
|
||||
};
|
||||
|
||||
static struct pci_driver sata_driver_nr __pci_driver = {
|
||||
static const struct pci_driver sata_driver_nr __pci_driver = {
|
||||
.ops = &sata_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_SATA_R,
|
||||
|
|
|
@ -37,7 +37,7 @@ static struct device_operations smbus_ops = {
|
|||
.ops_smbus_bus = &lops_smbus_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver smbus_driver __pci_driver = {
|
||||
static const struct pci_driver smbus_driver __pci_driver = {
|
||||
.ops = &smbus_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_SMB,
|
||||
|
|
|
@ -36,19 +36,19 @@ static struct device_operations uhci_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver uhci_driver __pci_driver = {
|
||||
static const struct pci_driver uhci_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB,
|
||||
};
|
||||
|
||||
static struct pci_driver usb2_driver __pci_driver = {
|
||||
static const struct pci_driver usb2_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB2,
|
||||
};
|
||||
|
||||
static struct pci_driver usb3_driver __pci_driver = {
|
||||
static const struct pci_driver usb3_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_6300ESB_USB3,
|
||||
|
|
|
@ -69,7 +69,7 @@ static struct device_operations ide_ops = {
|
|||
.ops_pci = 0, /* No subsystem IDs on 82371EB! */
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82371AB_IDE,
|
||||
|
|
|
@ -38,7 +38,7 @@ static struct device_operations smbus_ops = {
|
|||
.ops_smbus_bus = &lops_smbus_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver smbus_driver __pci_driver = {
|
||||
static const struct pci_driver smbus_driver __pci_driver = {
|
||||
.ops = &smbus_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82371AB_SMB,
|
||||
|
|
|
@ -18,7 +18,7 @@ static struct device_operations ac97audio_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97audio_driver __pci_driver = {
|
||||
static const struct pci_driver ac97audio_driver __pci_driver = {
|
||||
.ops = &ac97audio_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_AC97_AUDIO,
|
||||
|
@ -34,7 +34,7 @@ static struct device_operations ac97modem_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97modem_driver __pci_driver = {
|
||||
static const struct pci_driver ac97modem_driver __pci_driver = {
|
||||
.ops = &ac97modem_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_AC97_MODEM,
|
||||
|
|
|
@ -41,7 +41,7 @@ static struct device_operations ide_ops = {
|
|||
.enable = i82801ca_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_IDE,
|
||||
|
|
|
@ -233,7 +233,7 @@ static struct device_operations lpc_ops = {
|
|||
.enable = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver lpc_driver __pci_driver = {
|
||||
static const struct pci_driver lpc_driver __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_LPC,
|
||||
|
|
|
@ -14,7 +14,7 @@ static struct device_operations nic_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver nic_driver __pci_driver = {
|
||||
static const struct pci_driver nic_driver __pci_driver = {
|
||||
.ops = &nic_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_LAN,
|
||||
|
|
|
@ -22,7 +22,7 @@ static struct device_operations pci_ops = {
|
|||
.scan_bus = pci_scan_bridge,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_PCI,
|
||||
|
|
|
@ -31,17 +31,17 @@ static struct device_operations usb_ops = {
|
|||
.enable = i82801ca_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver usb_driver_1 __pci_driver = {
|
||||
static const struct pci_driver usb_driver_1 __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_USB,
|
||||
};
|
||||
static struct pci_driver usb_driver_2 __pci_driver = {
|
||||
static const struct pci_driver usb_driver_2 __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_USB2,
|
||||
};
|
||||
static struct pci_driver usb_driver_3 __pci_driver = {
|
||||
static const struct pci_driver usb_driver_3 __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801CA_USB3,
|
||||
|
|
|
@ -43,12 +43,12 @@ static struct device_operations ac97_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97_audio_driver __pci_driver = {
|
||||
static const struct pci_driver ac97_audio_driver __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_AC97_AUDIO,
|
||||
};
|
||||
static struct pci_driver ac97_modem_driver __pci_driver = {
|
||||
static const struct pci_driver ac97_modem_driver __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_AC97_MODEM,
|
||||
|
|
|
@ -61,7 +61,7 @@ static struct device_operations ehci_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ehci_driver __pci_driver = {
|
||||
static const struct pci_driver ehci_driver __pci_driver = {
|
||||
.ops = &ehci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_EHCI,
|
||||
|
|
|
@ -67,7 +67,7 @@ static struct device_operations ide_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_IDE,
|
||||
|
|
|
@ -409,7 +409,7 @@ static struct device_operations lpc_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver lpc_driver __pci_driver = {
|
||||
static const struct pci_driver lpc_driver __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_ISA,
|
||||
|
|
|
@ -55,7 +55,7 @@ static struct device_operations pci_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_PCI,
|
||||
|
|
|
@ -55,7 +55,7 @@ static struct device_operations smbus_ops = {
|
|||
.ops_smbus_bus = &lops_smbus_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver smbus_driver __pci_driver = {
|
||||
static const struct pci_driver smbus_driver __pci_driver = {
|
||||
.ops = &smbus_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_SMB,
|
||||
|
|
|
@ -54,19 +54,19 @@ static struct device_operations uhci_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver uhci_driver __pci_driver = {
|
||||
static const struct pci_driver uhci_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_USB0,
|
||||
};
|
||||
|
||||
static struct pci_driver usb2_driver __pci_driver = {
|
||||
static const struct pci_driver usb2_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_USB1,
|
||||
};
|
||||
|
||||
static struct pci_driver usb3_driver __pci_driver = {
|
||||
static const struct pci_driver usb3_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DB_USB2,
|
||||
|
|
|
@ -18,7 +18,7 @@ static struct device_operations ac97audio_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97audio_driver __pci_driver = {
|
||||
static const struct pci_driver ac97audio_driver __pci_driver = {
|
||||
.ops = &ac97audio_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DBM_1F5,
|
||||
|
@ -34,7 +34,7 @@ static struct device_operations ac97modem_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97modem_driver __pci_driver = {
|
||||
static const struct pci_driver ac97modem_driver __pci_driver = {
|
||||
.ops = &ac97modem_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DBM_1F6,
|
||||
|
|
|
@ -45,7 +45,7 @@ static struct device_operations ide_ops = {
|
|||
.enable = i82801dbm_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1F1,
|
||||
|
|
|
@ -208,7 +208,7 @@ static struct device_operations lpc_ops = {
|
|||
.enable = i82801dbm_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver lpc_driver __pci_driver = {
|
||||
static const struct pci_driver lpc_driver __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DBM_1F0,
|
||||
|
|
|
@ -14,7 +14,7 @@ static struct device_operations nic_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver nic_driver __pci_driver = {
|
||||
static const struct pci_driver nic_driver __pci_driver = {
|
||||
.ops = &nic_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x103a,
|
||||
|
|
|
@ -25,7 +25,7 @@ static struct device_operations pci_ops = {
|
|||
.scan_bus = pci_scan_bridge,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801DBM_1E0,
|
||||
|
|
|
@ -67,7 +67,7 @@ static struct device_operations sata_ops = {
|
|||
.enable = i82801dbm_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver stat_driver __pci_driver = {
|
||||
static const struct pci_driver stat_driver __pci_driver = {
|
||||
.ops = &sata_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1F2_R,
|
||||
|
|
|
@ -32,22 +32,22 @@ static struct device_operations usb_ops = {
|
|||
.enable = i82801dbm_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver usb_driver_1 __pci_driver = {
|
||||
static const struct pci_driver usb_driver_1 __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1D0,
|
||||
};
|
||||
static struct pci_driver usb_driver_2 __pci_driver = {
|
||||
static const struct pci_driver usb_driver_2 __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1D1,
|
||||
};
|
||||
static struct pci_driver usb_driver_3 __pci_driver = {
|
||||
static const struct pci_driver usb_driver_3 __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1D2,
|
||||
};
|
||||
static struct pci_driver usb_driver_4 __pci_driver = {
|
||||
static const struct pci_driver usb_driver_4 __pci_driver = {
|
||||
.ops = &usb_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1D3,
|
||||
|
|
|
@ -33,7 +33,7 @@ static struct device_operations usb2_ops = {
|
|||
.enable = i82801dbm_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver usb2_driver __pci_driver = {
|
||||
static const struct pci_driver usb2_driver __pci_driver = {
|
||||
.ops = &usb2_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1D7,
|
||||
|
|
|
@ -25,12 +25,12 @@ static struct device_operations ac97_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ac97_audio_driver __pci_driver = {
|
||||
static const struct pci_driver ac97_audio_driver __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_AC97_AUDIO,
|
||||
};
|
||||
static struct pci_driver ac97_modem_driver __pci_driver = {
|
||||
static const struct pci_driver ac97_modem_driver __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_AC97_MODEM,
|
||||
|
|
|
@ -43,7 +43,7 @@ static struct device_operations ehci_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ehci_driver __pci_driver = {
|
||||
static const struct pci_driver ehci_driver __pci_driver = {
|
||||
.ops = &ehci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_EHCI,
|
||||
|
|
|
@ -35,7 +35,7 @@ static struct device_operations ide_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver ide_driver __pci_driver = {
|
||||
static const struct pci_driver ide_driver __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_IDE,
|
||||
|
|
|
@ -385,7 +385,7 @@ static struct device_operations lpc_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver lpc_driver __pci_driver = {
|
||||
static const struct pci_driver lpc_driver __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_ISA,
|
||||
|
|
|
@ -37,7 +37,7 @@ static struct device_operations pci_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver pci_driver __pci_driver = {
|
||||
static const struct pci_driver pci_driver __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_PCI,
|
||||
|
|
|
@ -49,13 +49,13 @@ static struct device_operations sata_ops = {
|
|||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver sata_driver __pci_driver = {
|
||||
static const struct pci_driver sata_driver __pci_driver = {
|
||||
.ops = &sata_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1F2_R,
|
||||
};
|
||||
|
||||
static struct pci_driver sata_driver_nr __pci_driver = {
|
||||
static const struct pci_driver sata_driver_nr __pci_driver = {
|
||||
.ops = &sata_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_1F2,
|
||||
|
|
|
@ -37,7 +37,7 @@ static struct device_operations smbus_ops = {
|
|||
.ops_smbus_bus = &lops_smbus_bus,
|
||||
};
|
||||
|
||||
static struct pci_driver smbus_driver __pci_driver = {
|
||||
static const struct pci_driver smbus_driver __pci_driver = {
|
||||
.ops = &smbus_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_SMB,
|
||||
|
|
|
@ -36,19 +36,19 @@ static struct device_operations uhci_ops = {
|
|||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
static struct pci_driver uhci_driver __pci_driver = {
|
||||
static const struct pci_driver uhci_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_USB,
|
||||
};
|
||||
|
||||
static struct pci_driver usb2_driver __pci_driver = {
|
||||
static const struct pci_driver usb2_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_USB2,
|
||||
};
|
||||
|
||||
static struct pci_driver usb3_driver __pci_driver = {
|
||||
static const struct pci_driver usb3_driver __pci_driver = {
|
||||
.ops = &uhci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = PCI_DEVICE_ID_INTEL_82801ER_USB3,
|
||||
|
|
|
@ -35,78 +35,78 @@ static struct device_operations ac97_ops = {
|
|||
};
|
||||
|
||||
/* 82801AA */
|
||||
static struct pci_driver i82801aa_ac97_audio __pci_driver = {
|
||||
static const struct pci_driver i82801aa_ac97_audio __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2415,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801aa_ac97_modem __pci_driver = {
|
||||
static const struct pci_driver i82801aa_ac97_modem __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2416,
|
||||
};
|
||||
|
||||
/* 82801AB */
|
||||
static struct pci_driver i82801ab_ac97_audio __pci_driver = {
|
||||
static const struct pci_driver i82801ab_ac97_audio __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2425,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ab_ac97_modem __pci_driver = {
|
||||
static const struct pci_driver i82801ab_ac97_modem __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2426,
|
||||
};
|
||||
|
||||
/* 82801BA */
|
||||
static struct pci_driver i82801ba_ac97_audio __pci_driver = {
|
||||
static const struct pci_driver i82801ba_ac97_audio __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2445,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ba_ac97_modem __pci_driver = {
|
||||
static const struct pci_driver i82801ba_ac97_modem __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2446,
|
||||
};
|
||||
|
||||
/* 82801CA */
|
||||
static struct pci_driver i82801ca_ac97_audio __pci_driver = {
|
||||
static const struct pci_driver i82801ca_ac97_audio __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2485,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ca_ac97_modem __pci_driver = {
|
||||
static const struct pci_driver i82801ca_ac97_modem __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2486,
|
||||
};
|
||||
|
||||
/* 82801DB & 82801DBM */
|
||||
static struct pci_driver i82801db_ac97_audio __pci_driver = {
|
||||
static const struct pci_driver i82801db_ac97_audio __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24c5,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801db_ac97_modem __pci_driver = {
|
||||
static const struct pci_driver i82801db_ac97_modem __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24c6,
|
||||
};
|
||||
|
||||
/* 82801EB & 82801ER */
|
||||
static struct pci_driver i82801ex_ac97_audio __pci_driver = {
|
||||
static const struct pci_driver i82801ex_ac97_audio __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24d5,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ex_ac97_modem __pci_driver = {
|
||||
static const struct pci_driver i82801ex_ac97_modem __pci_driver = {
|
||||
.ops = &ac97_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24d6,
|
||||
|
|
|
@ -64,49 +64,49 @@ static struct device_operations ide_ops = {
|
|||
};
|
||||
|
||||
/* 82801AA */
|
||||
static struct pci_driver i82801aa_ide __pci_driver = {
|
||||
static const struct pci_driver i82801aa_ide __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2411,
|
||||
};
|
||||
|
||||
/* 82801AB */
|
||||
static struct pci_driver i82801ab_ide __pci_driver = {
|
||||
static const struct pci_driver i82801ab_ide __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2421,
|
||||
};
|
||||
|
||||
/* 82801BA */
|
||||
static struct pci_driver i82801ba_ide __pci_driver = {
|
||||
static const struct pci_driver i82801ba_ide __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x244b,
|
||||
};
|
||||
|
||||
/* 82801CA */
|
||||
static struct pci_driver i82801ca_ide __pci_driver = {
|
||||
static const struct pci_driver i82801ca_ide __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x248b,
|
||||
};
|
||||
|
||||
/* 82801DB */
|
||||
static struct pci_driver i82801db_ide __pci_driver = {
|
||||
static const struct pci_driver i82801db_ide __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24cb,
|
||||
};
|
||||
|
||||
/* 82801DBM */
|
||||
static struct pci_driver i82801dbm_ide __pci_driver = {
|
||||
static const struct pci_driver i82801dbm_ide __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24ca,
|
||||
};
|
||||
|
||||
/* 82801EB & 82801ER */
|
||||
static struct pci_driver i82801ex_ide __pci_driver = {
|
||||
static const struct pci_driver i82801ex_ide __pci_driver = {
|
||||
.ops = &ide_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24db,
|
||||
|
|
|
@ -252,44 +252,44 @@ static struct device_operations lpc_ops = {
|
|||
.enable = i82801xx_enable,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801aa_lpc __pci_driver = {
|
||||
static const struct pci_driver i82801aa_lpc __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2410,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ab_lpc __pci_driver = {
|
||||
static const struct pci_driver i82801ab_lpc __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2420,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ba_lpc __pci_driver = {
|
||||
static const struct pci_driver i82801ba_lpc __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2440,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ca_lpc __pci_driver = {
|
||||
static const struct pci_driver i82801ca_lpc __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2480,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801db_lpc __pci_driver = {
|
||||
static const struct pci_driver i82801db_lpc __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24c0,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801dbm_lpc __pci_driver = {
|
||||
static const struct pci_driver i82801dbm_lpc __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24cc,
|
||||
};
|
||||
|
||||
/* 82801EB and 82801ER */
|
||||
static struct pci_driver i82801ex_lpc __pci_driver = {
|
||||
static const struct pci_driver i82801ex_lpc __pci_driver = {
|
||||
.ops = &lpc_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24d0,
|
||||
|
|
|
@ -31,13 +31,13 @@ static struct device_operations nic_ops = {
|
|||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801dbm_nic __pci_driver = {
|
||||
static const struct pci_driver i82801dbm_nic __pci_driver = {
|
||||
.ops = &nic_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x103a,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ex_nic __pci_driver = {
|
||||
static const struct pci_driver i82801ex_nic __pci_driver = {
|
||||
.ops = &nic_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x1051,
|
||||
|
|
|
@ -47,26 +47,26 @@ static struct device_operations pci_ops = {
|
|||
.scan_bus = pci_scan_bridge,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801aa_pci __pci_driver = {
|
||||
static const struct pci_driver i82801aa_pci __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2418,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801ab_pci __pci_driver = {
|
||||
static const struct pci_driver i82801ab_pci __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2428,
|
||||
};
|
||||
|
||||
/* 82801BA, 82801CA, 82801DB, 82801EB, and 82801ER */
|
||||
static struct pci_driver i82801misc_pci __pci_driver = {
|
||||
static const struct pci_driver i82801misc_pci __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x244e,
|
||||
};
|
||||
|
||||
static struct pci_driver i82801dbm_pci __pci_driver = {
|
||||
static const struct pci_driver i82801dbm_pci __pci_driver = {
|
||||
.ops = &pci_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x2448,
|
||||
|
|
|
@ -69,14 +69,14 @@ static struct device_operations sata_ops = {
|
|||
};
|
||||
|
||||
/* 82801EB */
|
||||
static struct pci_driver i82801eb_sata_driver __pci_driver = {
|
||||
static const struct pci_driver i82801eb_sata_driver __pci_driver = {
|
||||
.ops = &sata_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24d1,
|
||||
};
|
||||
|
||||
/* 82801ER */
|
||||
static struct pci_driver i82801er_sata_driver __pci_driver = {
|
||||
static const struct pci_driver i82801er_sata_driver __pci_driver = {
|
||||
.ops = &sata_ops,
|
||||
.vendor = PCI_VENDOR_ID_INTEL,
|
||||
.device = 0x24df,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue