004_add_pci_support.patch 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. From 2a7fa2dbbf68650644f807a50cc2d84ca30835c1 Mon Sep 17 00:00:00 2001
  2. From: Maxime Bizon <[email protected]>
  3. Date: Sun, 21 Sep 2008 04:47:13 +0200
  4. Subject: [PATCH] [MIPS] BCM63XX: Add PCI support.
  5. Signed-off-by: Maxime Bizon <[email protected]>
  6. ---
  7. arch/mips/bcm63xx/Kconfig | 2 +
  8. arch/mips/bcm63xx/setup.c | 2 +
  9. arch/mips/pci/Makefile | 2 +
  10. arch/mips/pci/fixup-bcm63xx.c | 21 +++
  11. arch/mips/pci/ops-bcm63xx.c | 179 +++++++++++++++++++++++
  12. arch/mips/pci/pci-bcm63xx.c | 178 ++++++++++++++++++++++
  13. arch/mips/pci/pci-bcm63xx.h | 27 ++++
  14. include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h | 6 +
  15. 8 files changed, 417 insertions(+), 0 deletions(-)
  16. create mode 100644 arch/mips/pci/fixup-bcm63xx.c
  17. create mode 100644 arch/mips/pci/ops-bcm63xx.c
  18. create mode 100644 arch/mips/pci/pci-bcm63xx.c
  19. create mode 100644 arch/mips/pci/pci-bcm63xx.h
  20. create mode 100644 include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h
  21. diff --git a/arch/mips/bcm63xx/Kconfig b/arch/mips/bcm63xx/Kconfig
  22. index e6d2699..7ca370a 100644
  23. --- a/arch/mips/bcm63xx/Kconfig
  24. +++ b/arch/mips/bcm63xx/Kconfig
  25. @@ -3,7 +3,9 @@ menu "CPU support"
  26. config BCM63XX_CPU_6348
  27. bool "support 6348 CPU"
  28. + select HW_HAS_PCI
  29. config BCM63XX_CPU_6358
  30. bool "support 6358 CPU"
  31. + select HW_HAS_PCI
  32. endmenu
  33. diff --git a/arch/mips/bcm63xx/setup.c b/arch/mips/bcm63xx/setup.c
  34. index 55c51a9..4d8b127 100644
  35. --- a/arch/mips/bcm63xx/setup.c
  36. +++ b/arch/mips/bcm63xx/setup.c
  37. @@ -105,4 +105,6 @@ void __init plat_mem_setup(void)
  38. pm_power_off = bcm63xx_machine_halt;
  39. set_io_port_base(0);
  40. + ioport_resource.start = 0;
  41. + ioport_resource.end = ~0;
  42. }
  43. diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile
  44. index c8c32f4..0b688a8 100644
  45. --- a/arch/mips/pci/Makefile
  46. +++ b/arch/mips/pci/Makefile
  47. @@ -16,6 +16,8 @@ obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o pci-vr41xx.o
  48. obj-$(CONFIG_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o
  49. obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o
  50. obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o
  51. +obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \
  52. + ops-bcm63xx.o
  53. #
  54. # These are still pretty much in the old state, watch, go blind.
  55. diff --git a/arch/mips/pci/fixup-bcm63xx.c b/arch/mips/pci/fixup-bcm63xx.c
  56. new file mode 100644
  57. index 0000000..3408630
  58. --- /dev/null
  59. +++ b/arch/mips/pci/fixup-bcm63xx.c
  60. @@ -0,0 +1,21 @@
  61. +/*
  62. + * This file is subject to the terms and conditions of the GNU General Public
  63. + * License. See the file "COPYING" in the main directory of this archive
  64. + * for more details.
  65. + *
  66. + * Copyright (C) 2008 Maxime Bizon <[email protected]>
  67. + */
  68. +
  69. +#include <linux/types.h>
  70. +#include <linux/pci.h>
  71. +#include <bcm63xx_cpu.h>
  72. +
  73. +int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
  74. +{
  75. + return bcm63xx_get_irq_number(IRQ_PCI);
  76. +}
  77. +
  78. +int pcibios_plat_dev_init(struct pci_dev *dev)
  79. +{
  80. + return 0;
  81. +}
  82. diff --git a/arch/mips/pci/ops-bcm63xx.c b/arch/mips/pci/ops-bcm63xx.c
  83. new file mode 100644
  84. index 0000000..f8dce9d
  85. --- /dev/null
  86. +++ b/arch/mips/pci/ops-bcm63xx.c
  87. @@ -0,0 +1,179 @@
  88. +/*
  89. + * This file is subject to the terms and conditions of the GNU General Public
  90. + * License. See the file "COPYING" in the main directory of this archive
  91. + * for more details.
  92. + *
  93. + * Copyright (C) 2008 Maxime Bizon <[email protected]>
  94. + */
  95. +
  96. +#include <linux/types.h>
  97. +#include <linux/pci.h>
  98. +#include <linux/kernel.h>
  99. +#include <linux/init.h>
  100. +#include <linux/delay.h>
  101. +#include <linux/io.h>
  102. +
  103. +#include "pci-bcm63xx.h"
  104. +
  105. +/*
  106. + * swizzle 32bits data to return only the needed part
  107. + */
  108. +static int postprocess_read(u32 data, int where, unsigned int size)
  109. +{
  110. + u32 ret;
  111. +
  112. + ret = 0;
  113. + switch (size) {
  114. + case 1:
  115. + ret = (data >> ((where & 3) << 3)) & 0xff;
  116. + break;
  117. + case 2:
  118. + ret = (data >> ((where & 3) << 3)) & 0xffff;
  119. + break;
  120. + case 4:
  121. + ret = data;
  122. + break;
  123. + }
  124. + return ret;
  125. +}
  126. +
  127. +static int preprocess_write(u32 orig_data, u32 val, int where,
  128. + unsigned int size)
  129. +{
  130. + u32 ret;
  131. +
  132. + ret = 0;
  133. + switch (size) {
  134. + case 1:
  135. + ret = (orig_data & ~(0xff << ((where & 3) << 3))) |
  136. + (val << ((where & 3) << 3));
  137. + break;
  138. + case 2:
  139. + ret = (orig_data & ~(0xffff << ((where & 3) << 3))) |
  140. + (val << ((where & 3) << 3));
  141. + break;
  142. + case 4:
  143. + ret = val;
  144. + break;
  145. + }
  146. + return ret;
  147. +}
  148. +
  149. +/*
  150. + * setup hardware for a configuration cycle with given parameters
  151. + */
  152. +static int bcm63xx_setup_cfg_access(int type, unsigned int busn,
  153. + unsigned int devfn, int where)
  154. +{
  155. + unsigned int slot, func, reg;
  156. + u32 val;
  157. +
  158. + slot = PCI_SLOT(devfn);
  159. + func = PCI_FUNC(devfn);
  160. + reg = where >> 2;
  161. +
  162. + /* sanity check */
  163. + if (slot > (MPI_L2PCFG_DEVNUM_MASK >> MPI_L2PCFG_DEVNUM_SHIFT))
  164. + return 1;
  165. +
  166. + if (func > (MPI_L2PCFG_FUNC_MASK >> MPI_L2PCFG_FUNC_SHIFT))
  167. + return 1;
  168. +
  169. + if (reg > (MPI_L2PCFG_REG_MASK >> MPI_L2PCFG_REG_SHIFT))
  170. + return 1;
  171. +
  172. + /* ok, setup config access */
  173. + val = (reg << MPI_L2PCFG_REG_SHIFT);
  174. + val |= (func << MPI_L2PCFG_FUNC_SHIFT);
  175. + val |= (slot << MPI_L2PCFG_DEVNUM_SHIFT);
  176. + val |= MPI_L2PCFG_CFG_USEREG_MASK;
  177. + val |= MPI_L2PCFG_CFG_SEL_MASK;
  178. + /* type 0 cycle for local bus, type 1 cycle for anything else */
  179. + if (type != 0) {
  180. + /* FIXME: how to specify bus ??? */
  181. + val |= (1 << MPI_L2PCFG_CFG_TYPE_SHIFT);
  182. + }
  183. + bcm_mpi_writel(val, MPI_L2PCFG_REG);
  184. +
  185. + return 0;
  186. +}
  187. +
  188. +static int bcm63xx_do_cfg_read(int type, unsigned int busn,
  189. + unsigned int devfn, int where, int size,
  190. + u32 *val)
  191. +{
  192. + u32 data;
  193. +
  194. + /* two phase cycle, first we write address, then read data at
  195. + * another location, caller already has a spinlock so no need
  196. + * to add one here */
  197. + if (bcm63xx_setup_cfg_access(type, busn, devfn, where))
  198. + return PCIBIOS_DEVICE_NOT_FOUND;
  199. + iob();
  200. + data = le32_to_cpu(__raw_readl(pci_iospace_start));
  201. + /* restore IO space normal behaviour */
  202. + bcm_mpi_writel(0, MPI_L2PCFG_REG);
  203. +
  204. + *val = postprocess_read(data, where, size);
  205. +
  206. + return PCIBIOS_SUCCESSFUL;
  207. +}
  208. +
  209. +static int bcm63xx_do_cfg_write(int type, unsigned int busn,
  210. + unsigned int devfn, int where, int size,
  211. + u32 val)
  212. +{
  213. + u32 data;
  214. +
  215. + /* two phase cycle, first we write address, then write data to
  216. + * another location, caller already has a spinlock so no need
  217. + * to add one here */
  218. + if (bcm63xx_setup_cfg_access(type, busn, devfn, where))
  219. + return PCIBIOS_DEVICE_NOT_FOUND;
  220. + iob();
  221. +
  222. + data = le32_to_cpu(__raw_readl(pci_iospace_start));
  223. + data = preprocess_write(data, val, where, size);
  224. +
  225. + __raw_writel(cpu_to_le32(data), pci_iospace_start);
  226. + wmb();
  227. + /* no way to know the access is done, we have to wait */
  228. + udelay(500);
  229. + /* restore IO space normal behaviour */
  230. + bcm_mpi_writel(0, MPI_L2PCFG_REG);
  231. +
  232. + return PCIBIOS_SUCCESSFUL;
  233. +}
  234. +
  235. +static int bcm63xx_pci_read(struct pci_bus *bus, unsigned int devfn,
  236. + int where, int size, u32 *val)
  237. +{
  238. + int type;
  239. +
  240. + type = bus->parent ? 1 : 0;
  241. +
  242. + if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL)
  243. + return PCIBIOS_DEVICE_NOT_FOUND;
  244. +
  245. + return bcm63xx_do_cfg_read(type, bus->number, devfn,
  246. + where, size, val);
  247. +}
  248. +
  249. +static int bcm63xx_pci_write(struct pci_bus *bus, unsigned int devfn,
  250. + int where, int size, u32 val)
  251. +{
  252. + int type;
  253. +
  254. + type = bus->parent ? 1 : 0;
  255. +
  256. + if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL)
  257. + return PCIBIOS_DEVICE_NOT_FOUND;
  258. +
  259. + return bcm63xx_do_cfg_write(type, bus->number, devfn,
  260. + where, size, val);
  261. +}
  262. +
  263. +struct pci_ops bcm63xx_pci_ops = {
  264. + .read = bcm63xx_pci_read,
  265. + .write = bcm63xx_pci_write
  266. +};
  267. diff --git a/arch/mips/pci/pci-bcm63xx.c b/arch/mips/pci/pci-bcm63xx.c
  268. new file mode 100644
  269. index 0000000..52bac8e
  270. --- /dev/null
  271. +++ b/arch/mips/pci/pci-bcm63xx.c
  272. @@ -0,0 +1,178 @@
  273. +/*
  274. + * This file is subject to the terms and conditions of the GNU General Public
  275. + * License. See the file "COPYING" in the main directory of this archive
  276. + * for more details.
  277. + *
  278. + * Copyright (C) 2008 Maxime Bizon <[email protected]>
  279. + */
  280. +
  281. +#include <linux/types.h>
  282. +#include <linux/pci.h>
  283. +#include <linux/kernel.h>
  284. +#include <linux/init.h>
  285. +#include <asm/bootinfo.h>
  286. +
  287. +#include "pci-bcm63xx.h"
  288. +
  289. +/* allow PCI to be disabled at runtime depending on board nvram
  290. + * configuration */
  291. +int bcm63xx_pci_enabled = 0;
  292. +
  293. +static struct resource bcm_pci_mem_resource = {
  294. + .name = "bcm63xx PCI memory space",
  295. + .start = BCM_PCI_MEM_BASE_PA,
  296. + .end = BCM_PCI_MEM_END_PA,
  297. + .flags = IORESOURCE_MEM
  298. +};
  299. +
  300. +static struct resource bcm_pci_io_resource = {
  301. + .name = "bcm63xx PCI IO space",
  302. + .start = BCM_PCI_IO_BASE_PA,
  303. + .end = BCM_PCI_IO_END_PA,
  304. + .flags = IORESOURCE_IO
  305. +};
  306. +
  307. +struct pci_controller bcm63xx_controller = {
  308. + .pci_ops = &bcm63xx_pci_ops,
  309. + .io_resource = &bcm_pci_io_resource,
  310. + .mem_resource = &bcm_pci_mem_resource,
  311. +};
  312. +
  313. +static u32 bcm63xx_int_cfg_readl(u32 reg)
  314. +{
  315. + u32 tmp;
  316. +
  317. + tmp = reg & MPI_PCICFGCTL_CFGADDR_MASK;
  318. + tmp |= MPI_PCICFGCTL_WRITEEN_MASK;
  319. + bcm_mpi_writel(tmp, MPI_PCICFGCTL_REG);
  320. + iob();
  321. + return bcm_mpi_readl(MPI_PCICFGDATA_REG);
  322. +}
  323. +
  324. +static void bcm63xx_int_cfg_writel(u32 val, u32 reg)
  325. +{
  326. + u32 tmp;
  327. +
  328. + tmp = reg & MPI_PCICFGCTL_CFGADDR_MASK;
  329. + tmp |= MPI_PCICFGCTL_WRITEEN_MASK;
  330. + bcm_mpi_writel(tmp, MPI_PCICFGCTL_REG);
  331. + bcm_mpi_writel(val, MPI_PCICFGDATA_REG);
  332. +}
  333. +
  334. +void __iomem *pci_iospace_start;
  335. +
  336. +static int __init bcm63xx_pci_init(void)
  337. +{
  338. + unsigned int mem_size;
  339. + u32 val;
  340. +
  341. + if (!BCMCPU_IS_6348() && !BCMCPU_IS_6358())
  342. + return -ENODEV;
  343. +
  344. + if (!bcm63xx_pci_enabled)
  345. + return -ENODEV;
  346. +
  347. + /*
  348. + * configuration access are done through IO space, remap 4
  349. + * first bytes to access it from CPU.
  350. + *
  351. + * this means that no io access from CPU should happen while
  352. + * we do a configuration cycle, but there's no way we can add
  353. + * a spinlock for each io access, so this is currently kind of
  354. + * broken on SMP.
  355. + */
  356. + pci_iospace_start = ioremap_nocache(BCM_PCI_IO_BASE_PA, 4);
  357. + if (!pci_iospace_start)
  358. + return -ENOMEM;
  359. +
  360. + /* setup local bus to PCI access (PCI memory) */
  361. + val = BCM_PCI_MEM_BASE_PA & MPI_L2P_BASE_MASK;
  362. + bcm_mpi_writel(val, MPI_L2PMEMBASE1_REG);
  363. + bcm_mpi_writel(~(BCM_PCI_MEM_SIZE - 1), MPI_L2PMEMRANGE1_REG);
  364. + bcm_mpi_writel(val | MPI_L2PREMAP_ENABLED_MASK, MPI_L2PMEMREMAP1_REG);
  365. +
  366. + /* set Cardbus IDSEL (type 0 cfg access on primary bus for
  367. + * this IDSEL will be done on Cardbus instead) */
  368. + val = bcm_pcmcia_readl(PCMCIA_C1_REG);
  369. + val &= ~PCMCIA_C1_CBIDSEL_MASK;
  370. + val |= (CARDBUS_PCI_IDSEL << PCMCIA_C1_CBIDSEL_SHIFT);
  371. + bcm_pcmcia_writel(val, PCMCIA_C1_REG);
  372. +
  373. + /* disable second access windows */
  374. + bcm_mpi_writel(0, MPI_L2PMEMREMAP2_REG);
  375. +
  376. + /* setup local bus to PCI access (IO memory), we have only 1
  377. + * IO window for both PCI and cardbus, but it cannot handle
  378. + * both at the same time, assume standard PCI for now, if
  379. + * cardbus card has IO zone, PCI fixup will change window to
  380. + * cardbus */
  381. + val = BCM_PCI_IO_BASE_PA & MPI_L2P_BASE_MASK;
  382. + bcm_mpi_writel(val, MPI_L2PIOBASE_REG);
  383. + bcm_mpi_writel(~(BCM_PCI_IO_SIZE - 1), MPI_L2PIORANGE_REG);
  384. + bcm_mpi_writel(val | MPI_L2PREMAP_ENABLED_MASK, MPI_L2PIOREMAP_REG);
  385. +
  386. + /* enable PCI related GPIO pins */
  387. + bcm_mpi_writel(MPI_LOCBUSCTL_EN_PCI_GPIO_MASK, MPI_LOCBUSCTL_REG);
  388. +
  389. + /* setup PCI to local bus access, used by PCI device to target
  390. + * local RAM while bus mastering */
  391. + bcm63xx_int_cfg_writel(0, PCI_BASE_ADDRESS_3);
  392. + if (BCMCPU_IS_6358())
  393. + val = MPI_SP0_REMAP_ENABLE_MASK;
  394. + else
  395. + val = 0;
  396. + bcm_mpi_writel(val, MPI_SP0_REMAP_REG);
  397. +
  398. + bcm63xx_int_cfg_writel(0x0, PCI_BASE_ADDRESS_4);
  399. + bcm_mpi_writel(0, MPI_SP1_REMAP_REG);
  400. +
  401. + mem_size = bcm63xx_get_memory_size();
  402. +
  403. + /* 6348 before rev b0 exposes only 16 MB of RAM memory through
  404. + * PCI, throw a warning if we have more memory */
  405. + if (BCMCPU_IS_6348() && (bcm63xx_get_cpu_rev() & 0xf0) == 0xa0) {
  406. + if (mem_size > (16 * 1024 * 1024))
  407. + printk(KERN_WARNING "bcm63xx: this CPU "
  408. + "revision cannot handle more than 16MB "
  409. + "of RAM for PCI bus mastering\n");
  410. + } else {
  411. + /* setup sp0 range to local RAM size */
  412. + bcm_mpi_writel(~(mem_size - 1), MPI_SP0_RANGE_REG);
  413. + bcm_mpi_writel(0, MPI_SP1_RANGE_REG);
  414. + }
  415. +
  416. + /* change host bridge retry counter to infinite number of
  417. + * retry, needed for some broadcom wifi cards with Silicon
  418. + * Backplane bus where access to srom seems very slow */
  419. + val = bcm63xx_int_cfg_readl(BCMPCI_REG_TIMERS);
  420. + val &= ~REG_TIMER_RETRY_MASK;
  421. + bcm63xx_int_cfg_writel(val, BCMPCI_REG_TIMERS);
  422. +
  423. + /* enable memory decoder and bus mastering */
  424. + val = bcm63xx_int_cfg_readl(PCI_COMMAND);
  425. + val |= (PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER);
  426. + bcm63xx_int_cfg_writel(val, PCI_COMMAND);
  427. +
  428. + /* enable read prefetching & disable byte swapping for bus
  429. + * mastering transfers */
  430. + val = bcm_mpi_readl(MPI_PCIMODESEL_REG);
  431. + val &= ~MPI_PCIMODESEL_BAR1_NOSWAP_MASK;
  432. + val &= ~MPI_PCIMODESEL_BAR2_NOSWAP_MASK;
  433. + val &= ~MPI_PCIMODESEL_PREFETCH_MASK;
  434. + val |= (8 << MPI_PCIMODESEL_PREFETCH_SHIFT);
  435. + bcm_mpi_writel(val, MPI_PCIMODESEL_REG);
  436. +
  437. + /* enable pci interrupt */
  438. + val = bcm_mpi_readl(MPI_LOCINT_REG);
  439. + val |= MPI_LOCINT_MASK(MPI_LOCINT_EXT_PCI_INT);
  440. + bcm_mpi_writel(val, MPI_LOCINT_REG);
  441. +
  442. + register_pci_controller(&bcm63xx_controller);
  443. +
  444. + /* mark memory space used for IO mapping as reserved */
  445. + request_mem_region(BCM_PCI_IO_BASE_PA, BCM_PCI_IO_SIZE,
  446. + "bcm63xx PCI IO space");
  447. + return 0;
  448. +}
  449. +
  450. +arch_initcall(bcm63xx_pci_init);
  451. diff --git a/arch/mips/pci/pci-bcm63xx.h b/arch/mips/pci/pci-bcm63xx.h
  452. new file mode 100644
  453. index 0000000..a6e594e
  454. --- /dev/null
  455. +++ b/arch/mips/pci/pci-bcm63xx.h
  456. @@ -0,0 +1,27 @@
  457. +#ifndef PCI_BCM63XX_H_
  458. +#define PCI_BCM63XX_H_
  459. +
  460. +#include <bcm63xx_cpu.h>
  461. +#include <bcm63xx_io.h>
  462. +#include <bcm63xx_regs.h>
  463. +#include <bcm63xx_dev_pci.h>
  464. +
  465. +/*
  466. + * Cardbus shares the PCI bus, but has no IDSEL, so a special id is
  467. + * reserved for it. If you have a standard PCI device at this id, you
  468. + * need to change the following definition.
  469. + */
  470. +#define CARDBUS_PCI_IDSEL 0x8
  471. +
  472. +/*
  473. + * defined in ops-bcm63xx.c
  474. + */
  475. +extern struct pci_ops bcm63xx_pci_ops;
  476. +extern struct pci_ops bcm63xx_cb_ops;
  477. +
  478. +/*
  479. + * defined in pci-bcm63xx.c
  480. + */
  481. +extern void __iomem *pci_iospace_start;
  482. +
  483. +#endif /* ! PCI_BCM63XX_H_ */
  484. diff --git a/include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h b/include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h
  485. new file mode 100644
  486. index 0000000..c549344
  487. --- /dev/null
  488. +++ b/include/asm-mips/mach-bcm63xx/bcm63xx_dev_pci.h
  489. @@ -0,0 +1,6 @@
  490. +#ifndef BCM63XX_DEV_PCI_H_
  491. +#define BCM63XX_DEV_PCI_H_
  492. +
  493. +extern int bcm63xx_pci_enabled;
  494. +
  495. +#endif /* BCM63XX_DEV_PCI_H_ */
  496. --
  497. 1.5.4.3