diff options
author | nsouch <nsouch@FreeBSD.org> | 2000-01-14 00:18:06 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 2000-01-14 00:18:06 +0000 |
commit | 59fc142474158cbbfbae06872a4e3efaa40e777f (patch) | |
tree | 3dd5303c8a8a1e20337965402c872462f141a217 /sys/dev/ppbus/ppb_1284.h | |
parent | 83719ce7419aa6d99e02f397ba20a42d7406963b (diff) | |
download | FreeBSD-src-59fc142474158cbbfbae06872a4e3efaa40e777f.zip FreeBSD-src-59fc142474158cbbfbae06872a4e3efaa40e777f.tar.gz |
Port of ppbus standalone framework to the newbus system.
Note1: the correct interrupt level is invoked correctly for each driver.
For this purpose, drivers request the bus before being able to
call BUS_SETUP_INTR and BUS_TEARDOWN_INTR call is forced by the ppbus
core when drivers release it. Thus, when BUS_SETUP_INTR is called
at ppbus driver level, ppbus checks that the caller owns the
bus and stores the interrupt handler cookie (in order to unregister
it later).
Printing is impossible while plip link is up is still TRUE.
vpo (ZIP driver) and lpt are make in such a way that
using the ZIP and printing concurrently is permitted is also TRUE.
Note2: specific chipset detection is not done by default. PPC_PROBE_CHIPSET
is now needed to force chipset detection. If set, the flags 0x40
still avoid detection at boot.
Port of the pcf(4) driver to the newbus system (was previously directly
connected to the rootbus and attached by a bogus pcf_isa_probe function).
Diffstat (limited to 'sys/dev/ppbus/ppb_1284.h')
-rw-r--r-- | sys/dev/ppbus/ppb_1284.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/ppbus/ppb_1284.h b/sys/dev/ppbus/ppb_1284.h index f975c26..de1f270 100644 --- a/sys/dev/ppbus/ppb_1284.h +++ b/sys/dev/ppbus/ppb_1284.h @@ -108,17 +108,17 @@ #define PPB_PERIPHERAL_TRANSFER 13 #define PPB_PERIPHERAL_TERMINATION 14 -extern int nibble_1284_inbyte(struct ppb_device *, char *); -extern int byte_1284_inbyte(struct ppb_device *, char *); -extern int spp_1284_read(struct ppb_device *, int, char *, int, int *); - -extern int ppb_1284_negociate(struct ppb_device *, int, int); -extern int ppb_1284_terminate(struct ppb_device *); -extern int ppb_1284_read_id(struct ppb_device *, int, char *, int, int *); -extern int ppb_1284_read(struct ppb_device *, int, char *, int, int *); - -extern int ppb_peripheral_terminate(struct ppb_device *, int); -extern int ppb_peripheral_negociate(struct ppb_device *, int, int); -extern int byte_peripheral_write(struct ppb_device *, char *, int, int *); +extern int nibble_1284_inbyte(device_t, char *); +extern int byte_1284_inbyte(device_t, char *); +extern int spp_1284_read(device_t, int, char *, int, int *); + +extern int ppb_1284_negociate(device_t, int, int); +extern int ppb_1284_terminate(device_t); +extern int ppb_1284_read_id(device_t, int, char *, int, int *); +extern int ppb_1284_read(device_t, int, char *, int, int *); + +extern int ppb_peripheral_terminate(device_t, int); +extern int ppb_peripheral_negociate(device_t, int, int); +extern int byte_peripheral_write(device_t, char *, int, int *); #endif |