summaryrefslogtreecommitdiffstats
path: root/sys/dev/puc
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-02-17 09:41:23 +0000
committernyan <nyan@FreeBSD.org>2002-02-17 09:41:23 +0000
commit22001980c0e3a79547ab6165337ad113341832bc (patch)
tree3607c09e0fe1e40e8470a9687a464f30e0d67675 /sys/dev/puc
parent1ed4a21d0776cd372c00c7ab70a145f6e190ca94 (diff)
downloadFreeBSD-src-22001980c0e3a79547ab6165337ad113341832bc.zip
FreeBSD-src-22001980c0e3a79547ab6165337ad113341832bc.tar.gz
Move the bus_space_subregion function from the puc driver to the bus_space
sutff. Reviewed by: jhay
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/puc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c
index 83da26c..563633f 100644
--- a/sys/dev/puc/puc.c
+++ b/sys/dev/puc/puc.c
@@ -537,18 +537,6 @@ puc_print_resource_list(struct resource_list *rl)
}
#endif
-/* XXX
- * This function should be part of the general bus_space_* functions. It
- * should also handle the PC98 case where bus_space_handle_t is a structure.
- */
-int
-bus_space_subregion(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset,
- bus_size_t s, bus_space_handle_t *newhandle)
-{
- *newhandle = h + offset;
- return (0);
-}
-
static struct resource *
puc_alloc_resource(device_t dev, device_t child, int type, int *rid,
u_long start, u_long end, u_long count, u_int flags)
OpenPOWER on IntegriCloud