diff options
author | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2022-02-14 13:03:53 +0000 |
---|---|---|
committer | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2022-02-14 13:03:53 +0000 |
commit | bc5a65f27eb230ed24e45c6530f8a7e099958a3c (patch) | |
tree | 551584b4c6de88b074dfed6ab9e191c61360069c /sys/arch | |
parent | 506e646dbe794a674cf50865810def1bbce865f7 (diff) |
Delete incomplete implementation of bus_space_{alloc,free} in bus.h.
This prevents errors on luna88k in src/usr.sbin/fw_update/pattern.c
which includes dev/pci/pcivar.h, which includes machine/bus.h.
Suggested by miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/luna88k/include/bus.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/sys/arch/luna88k/include/bus.h b/sys/arch/luna88k/include/bus.h index d3fb42c9c0c..6e15858f1a6 100644 --- a/sys/arch/luna88k/include/bus.h +++ b/sys/arch/luna88k/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.11 2017/03/16 18:13:44 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.12 2022/02/14 13:03:52 aoyama Exp $ */ /* $NetBSD: bus.h,v 1.9 1998/01/13 18:32:15 scottr Exp $ */ /*- @@ -146,13 +146,7 @@ bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh, * Allocate a region of bus space. */ -static __inline__ int -bus_space_alloc(bus_space_tag_t tag, bus_addr_t rstart, bus_addr_t rend, - bus_size_t size, bus_size_t alignment, bus_size_t boundary, int flags, - bus_addr_t *addrp, bus_space_handle_t *handlep) -{ - panic("bus_space_alloc: unimplemented"); -} +/* XXX: currently unimplemented on luna88k */ /* * int bus_space_free(bus_space_tag_t t, @@ -161,11 +155,7 @@ bus_space_alloc(bus_space_tag_t tag, bus_addr_t rstart, bus_addr_t rend, * Free a region of bus space. */ -static __inline__ void -bus_space_free(bus_space_tag_t tag, bus_space_handle_t handle, bus_size_t size) -{ - panic("bus_space_free: unimplemented"); -} +/* XXX: currently unimplemented on luna88k */ /* * u_intN_t bus_space_read_N(bus_space_tag_t tag, |