diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_schizo.c')
-rw-r--r-- | arch/sparc64/kernel/pci_schizo.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c index dec8dc9499e0..ba9206eb9516 100644 --- a/arch/sparc64/kernel/pci_schizo.c +++ b/arch/sparc64/kernel/pci_schizo.c | |||
@@ -1295,14 +1295,6 @@ static void schizo_base_address_update(struct pci_dev *pdev, int resource) | |||
1295 | pci_write_config_dword(pdev, where + 4, 0); | 1295 | pci_write_config_dword(pdev, where + 4, 0); |
1296 | } | 1296 | } |
1297 | 1297 | ||
1298 | static void schizo_resource_adjust(struct pci_dev *pdev, | ||
1299 | struct resource *res, | ||
1300 | struct resource *root) | ||
1301 | { | ||
1302 | res->start += root->start; | ||
1303 | res->end += root->start; | ||
1304 | } | ||
1305 | |||
1306 | #define SCHIZO_STRBUF_CONTROL (0x02800UL) | 1298 | #define SCHIZO_STRBUF_CONTROL (0x02800UL) |
1307 | #define SCHIZO_STRBUF_FLUSH (0x02808UL) | 1299 | #define SCHIZO_STRBUF_FLUSH (0x02808UL) |
1308 | #define SCHIZO_STRBUF_FSYNC (0x02810UL) | 1300 | #define SCHIZO_STRBUF_FSYNC (0x02810UL) |
@@ -1670,7 +1662,6 @@ static void __schizo_init(struct device_node *dp, char *model_name, int chip_typ | |||
1670 | p->index = pci_num_controllers++; | 1662 | p->index = pci_num_controllers++; |
1671 | p->scan_bus = schizo_scan_bus; | 1663 | p->scan_bus = schizo_scan_bus; |
1672 | p->base_address_update = schizo_base_address_update; | 1664 | p->base_address_update = schizo_base_address_update; |
1673 | p->resource_adjust = schizo_resource_adjust; | ||
1674 | p->pci_ops = &schizo_ops; | 1665 | p->pci_ops = &schizo_ops; |
1675 | 1666 | ||
1676 | /* Like PSYCHO we have a 2GB aligned area for memory space. */ | 1667 | /* Like PSYCHO we have a 2GB aligned area for memory space. */ |