diff options
author | nyan <nyan@FreeBSD.org> | 2002-02-17 09:41:23 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2002-02-17 09:41:23 +0000 |
commit | 22001980c0e3a79547ab6165337ad113341832bc (patch) | |
tree | 3607c09e0fe1e40e8470a9687a464f30e0d67675 /sys/dev/puc | |
parent | 1ed4a21d0776cd372c00c7ab70a145f6e190ca94 (diff) | |
download | FreeBSD-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.c | 12 |
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) |