ppbconf.h (184130) | ppbconf.h (185003) |
---|---|
1/*- 2 * Copyright (c) 1997, 1998, 1999 Nicolas Souchu 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1997, 1998, 1999 Nicolas Souchu 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/ppbus/ppbconf.h 184130 2008-10-21 18:30:10Z jhb $ | 26 * $FreeBSD: head/sys/dev/ppbus/ppbconf.h 185003 2008-11-16 17:42:02Z jhb $ |
27 * 28 */ 29#ifndef __PPBCONF_H 30#define __PPBCONF_H 31 32#include <sys/queue.h> 33 34/* --- 158 unchanged lines hidden (view full) --- 193 * IEEE1284 code is used */ 194 struct ppb_xfer 195 get_xfer[PPB_MAX_XFER]; 196 197 /* mode dependent put msq. If NULL, 198 * IEEE1284 code is used */ 199 struct ppb_xfer 200 put_xfer[PPB_MAX_XFER]; | 27 * 28 */ 29#ifndef __PPBCONF_H 30#define __PPBCONF_H 31 32#include <sys/queue.h> 33 34/* --- 158 unchanged lines hidden (view full) --- 193 * IEEE1284 code is used */ 194 struct ppb_xfer 195 get_xfer[PPB_MAX_XFER]; 196 197 /* mode dependent put msq. If NULL, 198 * IEEE1284 code is used */ 199 struct ppb_xfer 200 put_xfer[PPB_MAX_XFER]; |
201 | 201 |
202 struct resource *intr_resource; 203 void *intr_cookie; 204}; 205 206/* EPP standards */ 207#define EPP_1_9 0x0 /* default */ 208#define EPP_1_7 0x1 | 202 struct resource *intr_resource; 203 void *intr_cookie; 204}; 205 206/* EPP standards */ 207#define EPP_1_9 0x0 /* default */ 208#define EPP_1_7 0x1 |
209 | 209 |
210/* Parallel Port Chipset IVARS */ /* elsewhere XXX */ 211#define PPC_IVAR_EPP_PROTO 0 | 210/* Parallel Port Chipset IVARS */ /* elsewhere XXX */ 211#define PPC_IVAR_EPP_PROTO 0 |
212 | 212 |
213/* 214 * Maximum size of the PnP info string 215 */ 216#define PPB_PnP_STRING_SIZE 256 /* XXX */ 217 218/* 219 * Parallel Port Bus structure. 220 */ --- 47 unchanged lines hidden --- | 213/* 214 * Maximum size of the PnP info string 215 */ 216#define PPB_PnP_STRING_SIZE 256 /* XXX */ 217 218/* 219 * Parallel Port Bus structure. 220 */ --- 47 unchanged lines hidden --- |