pci.c (3d5271f9883cba7b54762bc4fe027d4172f06db7) pci.c (cb6fc18e9ca615f03d18e60c49855b434ca2e51e)
1/* $Id: pci.c,v 1.6 2000/01/29 00:12:05 grundler Exp $
2 *
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * Copyright (C) 1997, 1998 Ralf Baechle
8 * Copyright (C) 1999 SuSE GmbH

--- 33 unchanged lines hidden (view full) ---

42/* To be used as: mdelay(pci_post_reset_delay);
43 *
44 * post_reset is the time the kernel should stall to prevent anyone from
45 * accessing the PCI bus once #RESET is de-asserted.
46 * PCI spec somewhere says 1 second but with multi-PCI bus systems,
47 * this makes the boot time much longer than necessary.
48 * 20ms seems to work for all the HP PCI implementations to date.
49 *
1/* $Id: pci.c,v 1.6 2000/01/29 00:12:05 grundler Exp $
2 *
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * Copyright (C) 1997, 1998 Ralf Baechle
8 * Copyright (C) 1999 SuSE GmbH

--- 33 unchanged lines hidden (view full) ---

42/* To be used as: mdelay(pci_post_reset_delay);
43 *
44 * post_reset is the time the kernel should stall to prevent anyone from
45 * accessing the PCI bus once #RESET is de-asserted.
46 * PCI spec somewhere says 1 second but with multi-PCI bus systems,
47 * this makes the boot time much longer than necessary.
48 * 20ms seems to work for all the HP PCI implementations to date.
49 *
50 * XXX: turn into a #defined constant in <asm/pci.h> ?
50 * #define pci_post_reset_delay 50
51 */
51 */
52int pci_post_reset_delay = 50;
53
52
54struct pci_port_ops *pci_port;
55struct pci_bios_ops *pci_bios;
53struct pci_port_ops *pci_port __read_mostly;
54struct pci_bios_ops *pci_bios __read_mostly;
56
55
57int pci_hba_count = 0;
56static int pci_hba_count __read_mostly;
58
59/* parisc_pci_hba used by pci_port->in/out() ops to lookup bus data. */
60#define PCI_HBA_MAX 32
57
58/* parisc_pci_hba used by pci_port->in/out() ops to lookup bus data. */
59#define PCI_HBA_MAX 32
61struct pci_hba_data *parisc_pci_hba[PCI_HBA_MAX];
60struct pci_hba_data *parisc_pci_hba[PCI_HBA_MAX] __read_mostly;
62
63
64/********************************************************************
65**
66** I/O port space support
67**
68*********************************************************************/
69

--- 296 unchanged lines hidden ---
61
62
63/********************************************************************
64**
65** I/O port space support
66**
67*********************************************************************/
68

--- 296 unchanged lines hidden ---