Deleted Added
full compact
if_ep.c (1444) if_ep.c (1549)
1/*
2 * Copyright (c) 1993 Herb Peyerl <hpeyerl@novatel.ca>
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

--- 85 unchanged lines hidden (view full) ---

94} ep_softc[NEP];
95
96static int epprobe __P((struct isa_device *));
97static int epattach __P((struct isa_device *));
98static int epioctl __P((struct ifnet * ifp, int, caddr_t));
99
100void epinit __P((int));
101void epintr __P((int));
1/*
2 * Copyright (c) 1993 Herb Peyerl <hpeyerl@novatel.ca>
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

--- 85 unchanged lines hidden (view full) ---

94} ep_softc[NEP];
95
96static int epprobe __P((struct isa_device *));
97static int epattach __P((struct isa_device *));
98static int epioctl __P((struct ifnet * ifp, int, caddr_t));
99
100void epinit __P((int));
101void epintr __P((int));
102void epmbuffill __P((caddr_t, int));
102void epmbuffill __P((caddr_t));
103void epmbufempty __P((struct ep_softc *));
104void epread __P((struct ep_softc *));
105void epreset __P((int));
106void epstart __P((struct ifnet *));
107void epstop __P((int));
108void epwatchdog __P((int));
109
110struct isa_driver epdriver = {

--- 837 unchanged lines hidden (view full) ---

948 if (j & EEPROM_TST_MODE) {
949 printf("\nep%d: 3c509 in test mode. Erase pencil mark!\n", is->id_unit);
950 return (1);
951 }
952 return (0);
953}
954
955void
103void epmbufempty __P((struct ep_softc *));
104void epread __P((struct ep_softc *));
105void epreset __P((int));
106void epstart __P((struct ifnet *));
107void epstop __P((int));
108void epwatchdog __P((int));
109
110struct isa_driver epdriver = {

--- 837 unchanged lines hidden (view full) ---

948 if (j & EEPROM_TST_MODE) {
949 printf("\nep%d: 3c509 in test mode. Erase pencil mark!\n", is->id_unit);
950 return (1);
951 }
952 return (0);
953}
954
955void
956epmbuffill(sp, dummy_arg)
956epmbuffill(sp)
957 caddr_t sp;
957 caddr_t sp;
958 int dummy_arg;
959{
960 struct ep_softc *sc = (struct ep_softc *)sp;
961 int s, i;
962
963 s = splimp();
964 i = sc->last_mb;
965 do {
966 if(sc->mb[i] == NULL)

--- 28 unchanged lines hidden ---
958{
959 struct ep_softc *sc = (struct ep_softc *)sp;
960 int s, i;
961
962 s = splimp();
963 i = sc->last_mb;
964 do {
965 if(sc->mb[i] == NULL)

--- 28 unchanged lines hidden ---