.. | .. |
---|
34 | 34 | #define DBG_RES(x...) |
---|
35 | 35 | #endif |
---|
36 | 36 | |
---|
37 | | -/* To be used as: mdelay(pci_post_reset_delay); |
---|
38 | | - * |
---|
39 | | - * post_reset is the time the kernel should stall to prevent anyone from |
---|
40 | | - * accessing the PCI bus once #RESET is de-asserted. |
---|
41 | | - * PCI spec somewhere says 1 second but with multi-PCI bus systems, |
---|
42 | | - * this makes the boot time much longer than necessary. |
---|
43 | | - * 20ms seems to work for all the HP PCI implementations to date. |
---|
44 | | - * |
---|
45 | | - * #define pci_post_reset_delay 50 |
---|
46 | | - */ |
---|
| 37 | +struct pci_port_ops *pci_port __ro_after_init; |
---|
| 38 | +struct pci_bios_ops *pci_bios __ro_after_init; |
---|
47 | 39 | |
---|
48 | | -struct pci_port_ops *pci_port __read_mostly; |
---|
49 | | -struct pci_bios_ops *pci_bios __read_mostly; |
---|
50 | | - |
---|
51 | | -static int pci_hba_count __read_mostly; |
---|
| 40 | +static int pci_hba_count __ro_after_init; |
---|
52 | 41 | |
---|
53 | 42 | /* parisc_pci_hba used by pci_port->in/out() ops to lookup bus data. */ |
---|
54 | 43 | #define PCI_HBA_MAX 32 |
---|
55 | | -static struct pci_hba_data *parisc_pci_hba[PCI_HBA_MAX] __read_mostly; |
---|
| 44 | +static struct pci_hba_data *parisc_pci_hba[PCI_HBA_MAX] __ro_after_init; |
---|
56 | 45 | |
---|
57 | 46 | |
---|
58 | 47 | /******************************************************************** |
---|