if_plip.c (38373) | if_plip.c (40039) |
---|---|
1/*- 2 * Copyright (c) 1997 Poul-Henning Kamp 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 --- 10 unchanged lines hidden (view full) --- 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 * From Id: lpt.c,v 1.55.2.1 1996/11/12 09:08:38 phk Exp | 1/*- 2 * Copyright (c) 1997 Poul-Henning Kamp 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 --- 10 unchanged lines hidden (view full) --- 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 * From Id: lpt.c,v 1.55.2.1 1996/11/12 09:08:38 phk Exp |
27 * $Id: if_plip.c,v 1.2 1998/08/12 18:02:48 bde Exp $ | 27 * $Id: if_plip.c,v 1.3 1998/08/17 01:05:23 bde Exp $ |
28 */ 29 30/* 31 * Parallel port TCP/IP interfaces added. I looked at the driver from 32 * MACH but this is a complete rewrite, and btw. incompatible, and it 33 * should perform better too. I have never run the MACH driver though. 34 * 35 * This driver sends two bytes (0x08, 0x00) in front of each packet, --- 171 unchanged lines hidden (view full) --- 207 lpdata[nlp] = lp; 208 209 /* 210 * lp dependent initialisation. 211 */ 212 lp->lp_unit = nlp; 213 214 if (bootverbose) | 28 */ 29 30/* 31 * Parallel port TCP/IP interfaces added. I looked at the driver from 32 * MACH but this is a complete rewrite, and btw. incompatible, and it 33 * should perform better too. I have never run the MACH driver though. 34 * 35 * This driver sends two bytes (0x08, 0x00) in front of each packet, --- 171 unchanged lines hidden (view full) --- 207 lpdata[nlp] = lp; 208 209 /* 210 * lp dependent initialisation. 211 */ 212 lp->lp_unit = nlp; 213 214 if (bootverbose) |
215 printf("plip: irq %d", ppb->ppb_link->id_irq); | 215 printf("plip: irq %d\n", ppb->ppb_link->id_irq); |
216 217 /* 218 * ppbus dependent initialisation. 219 */ 220 lp->lp_dev.id_unit = lp->lp_unit; 221 lp->lp_dev.name = lpdriver.name; 222 lp->lp_dev.ppb = ppb; 223 lp->lp_dev.intr = lpintr; --- 536 unchanged lines hidden --- | 216 217 /* 218 * ppbus dependent initialisation. 219 */ 220 lp->lp_dev.id_unit = lp->lp_unit; 221 lp->lp_dev.name = lpdriver.name; 222 lp->lp_dev.ppb = ppb; 223 lp->lp_dev.intr = lpintr; --- 536 unchanged lines hidden --- |