diff options
author | Marius Strobl <marius@FreeBSD.org> | 2004-05-08 13:53:47 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2004-05-08 13:53:47 +0000 |
commit | 66a79ac95d028683db9065cc84c9204dcca7e707 (patch) | |
tree | 64a67df6eb8ceed88df33d5510a5cd9bf18f9cd2 /sys/sparc64/include | |
parent | 60f798c1c8ae20ac0dfb17b1c9e4f1734b87a757 (diff) |
- Remove the old sparc64 OFW PCI code (as opposed to the former
"options OFW_NEWPCI").
This is a bit overdue, the new sparc64 OFW PCI code which is
meant to replace the old one is in place for 10 months and
enabled by default in GENERIC for 8 months. FreeBSD 5.2 and
5.2.1 also shipped with the new code enabled by default.
- Some minor clean-up, e.g. remove functions that encapsulated
the #ifdefs for OFW_NEWPCI, remove unused resp. no longer
required includes, etc.
Approved by: tmm, no objections on freebsd-sparc64
Notes
Notes:
svn path=/head/; revision=129051
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/ofw_bus.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/sparc64/include/ofw_bus.h b/sys/sparc64/include/ofw_bus.h index f720180bf989..bc766b470cd5 100644 --- a/sys/sparc64/include/ofw_bus.h +++ b/sys/sparc64/include/ofw_bus.h @@ -37,8 +37,6 @@ */ typedef u_int32_t pcell_t; -#ifdef OFW_NEWPCI - struct ofw_bus_iinfo { u_int8_t *opi_imap; u_int8_t *opi_imapmsk; @@ -52,13 +50,4 @@ int ofw_bus_lookup_imap(phandle_t, struct ofw_bus_iinfo *, void *, int, int ofw_bus_search_intrmap(void *, int, void *, int, void *, int, void *, void *, void *, int); -#else - -typedef int obr_callback_t(phandle_t, u_int8_t *, int, u_int8_t *, int, - u_int8_t **, int *, void *); - -u_int32_t ofw_bus_route_intr(phandle_t, int, obr_callback_t *, void *); - -#endif - #endif /* !_MACHINE_OFW_BUS_H_ */ |