0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include "ssb_private.h"
0014
0015 #include <linux/pci.h>
0016 #include <linux/module.h>
0017 #include <linux/ssb/ssb.h>
0018
0019
0020 static const struct pci_device_id b43_pci_bridge_tbl[] = {
0021 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4301) },
0022 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4306) },
0023 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4307) },
0024 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4311) },
0025 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4312) },
0026 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4315) },
0027 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4318) },
0028 { PCI_DEVICE(PCI_VENDOR_ID_BCM_GVC, 0x4318) },
0029 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4319) },
0030 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4320) },
0031 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4321) },
0032 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4322) },
0033 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 43222) },
0034 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4324) },
0035 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4325) },
0036 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4328) },
0037 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4329) },
0038 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x432b) },
0039 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x432c) },
0040 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4350) },
0041 { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4351) },
0042 { 0, },
0043 };
0044 MODULE_DEVICE_TABLE(pci, b43_pci_bridge_tbl);
0045
0046 static struct pci_driver b43_pci_bridge_driver = {
0047 .name = "b43-pci-bridge",
0048 .id_table = b43_pci_bridge_tbl,
0049 };
0050
0051
0052 int __init b43_pci_ssb_bridge_init(void)
0053 {
0054 return ssb_pcihost_register(&b43_pci_bridge_driver);
0055 }
0056
0057 void __exit b43_pci_ssb_bridge_exit(void)
0058 {
0059 ssb_pcihost_unregister(&b43_pci_bridge_driver);
0060 }