diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-03-20 07:10:52 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-03-20 07:10:52 +0000 |
commit | f1f26a3e939884afc813e3610f3a14f7b14daa30 (patch) | |
tree | 6c4e668af2b9d162a937f2496b2fb0330080c8b9 /sys/arch/powerpc/pci/mpc106reg.h | |
parent | 7a6e9d2f4f21a9750c5fcb19ff5581c6bdf6d479 (diff) |
Changes to support uninorth bridge (probably a bit of a hack for now).
cleaned up the previous support for the macobio that was there previously.
Now registers real interupt handler devices instead of the pseudo configed
ones before.
The G4 systems are not yet working, the onboard ide configures properly
and interrupts seem to work, but the system hangs before mounting
the root drive (even ramdisks). Maybe someone will point out something
bogus in the code, so it is being checked in.
Diffstat (limited to 'sys/arch/powerpc/pci/mpc106reg.h')
-rw-r--r-- | sys/arch/powerpc/pci/mpc106reg.h | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/sys/arch/powerpc/pci/mpc106reg.h b/sys/arch/powerpc/pci/mpc106reg.h index bd08514c870..3a488d2e659 100644 --- a/sys/arch/powerpc/pci/mpc106reg.h +++ b/sys/arch/powerpc/pci/mpc106reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mpc106reg.h,v 1.5 2000/01/22 03:55:40 rahnds Exp $ */ +/* $OpenBSD: mpc106reg.h,v 1.6 2000/03/20 07:10:50 rahnds Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -72,25 +72,19 @@ #define MPC106_PCI_PMGMT 0x70 void -mpc_cfg_write_1( bus_space_tag_t iot, bus_space_handle_t ioh_cf8, - bus_space_handle_t ioh_cfc, u_int32_t reg, u_int8_t val); +mpc_cfg_write_1( struct pcibr_config *cp, u_int32_t reg, u_int8_t val); void -mpc_cfg_write_2( bus_space_tag_t iot, bus_space_handle_t ioh_cf8, - bus_space_handle_t ioh_cfc, u_int32_t reg, u_int16_t val); +mpc_cfg_write_2( struct pcibr_config *cp, u_int32_t reg, u_int16_t val); void -mpc_cfg_write_4( bus_space_tag_t iot, bus_space_handle_t ioh_cf8, - bus_space_handle_t ioh_cfc, u_int32_t reg, u_int32_t val); +mpc_cfg_write_4( struct pcibr_config *cp, u_int32_t reg, u_int32_t val); u_int8_t -mpc_cfg_read_1( bus_space_tag_t iot, bus_space_handle_t ioh_cf8, - bus_space_handle_t ioh_cfc, u_int32_t reg); +mpc_cfg_read_1( struct pcibr_config *cp, u_int32_t reg); u_int16_t -mpc_cfg_read_2( bus_space_tag_t iot, bus_space_handle_t ioh_cf8, - bus_space_handle_t ioh_cfc, u_int32_t reg); +mpc_cfg_read_2( struct pcibr_config *cp, u_int32_t reg); u_int32_t -mpc_cfg_read_4( bus_space_tag_t iot, bus_space_handle_t ioh_cf8, - bus_space_handle_t ioh_cfc, u_int32_t reg); +mpc_cfg_read_4( struct pcibr_config *cp, u_int32_t reg); #endif /* _MACHINE_MPC106REG_H_ */ |