aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/puc
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2002-02-17 09:41:23 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2002-02-17 09:41:23 +0000
commit9f67ccb7e50932ac9be5f5073d2697ee96120228 (patch)
tree3607c09e0fe1e40e8470a9687a464f30e0d67675 /sys/dev/puc
parent9d139b79d492d3b18595beade89e8f3b79e0e3d4 (diff)
downloadsrc-9f67ccb7e50932ac9be5f5073d2697ee96120228.tar.gz
src-9f67ccb7e50932ac9be5f5073d2697ee96120228.zip
Move the bus_space_subregion function from the puc driver to the bus_space
sutff. Reviewed by: jhay
Notes
Notes: svn path=/head/; revision=90763
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 83da26c102a1..563633fe8f4f 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)