freebsd-src/sys/i386/isa
David Greenman 3579d8917b Patch from dcjm@cs.ed.ac.uk (Dave Matthews)...
Yes, I know that IFADDR ioctl is supposed to be deprecated... Note
that the patch was modified by me to fit better into the driver. -DG

...

While porting CAP to 386bsd/pk0.2.4 and now to FreeBSD Release 1.0
I found a couple of bugs associated with the packet filter. Here
are the fixes.  I'm posting them here because they apply to
FreeBSD and 386bsd/pk0.2.4 and possibly to other *BSD.

The first occurs when using the packet filter to write raw
ethernet packets.  The header consisting of the sender and
destination addresses and the protocol is removed and later
added back on, but with the byte order of the protocol reversed.
The fix ensures that the byte order in the protocol field is
swapped when it is removed.

The second fix ensures that SIOCGIFADDR works for BPF as claimed
in the man pages, by adding it to the ed driver.  Similar fixes
will be needed for other ethernet drivers.
Dave Matthews.
1994-01-31 07:34:20 +00:00
..
ic Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
sound After some testing dma_pagesize reduced to 4096 for *both* 1994-01-08 16:48:35 +00:00
aha1542.c More sane AHA_RESET_TIMEOUT, from some testing by 1994-01-22 21:54:10 +00:00
aha1742.c Add comment to MAX_SLOTS that it may need to be 16 and to check against 1994-01-11 07:24:32 +00:00
bt742a.c Make everything compile with -Wtraditional. Make it easier to distribute 1993-12-19 00:55:01 +00:00
clock.c Make everything compile with -Wtraditional. Make it easier to distribute 1993-12-19 00:55:01 +00:00
fd.c Use separate fields for format GAP and read/write GAP. 1993-12-21 05:09:21 +00:00
fdreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
icu.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
icu.s Separated netisrs for pkintr() (X.25) and hdintr() (HDLC) so that someone 1993-12-20 14:58:21 +00:00
if_ed.c Patch from dcjm@cs.ed.ac.uk (Dave Matthews)... 1994-01-31 07:34:20 +00:00
if_edreg.h Put some more info about the toshiba ethernet cards into if_edreg.h. 1994-01-25 22:52:09 +00:00
if_ep.c Whoops, syntax error where I forgot a parenthesis. 1994-01-26 20:18:56 +00:00
if_epreg.h Committed the original NetBSD version of this driver to get the changes 1994-01-10 18:56:26 +00:00
if_ie.c Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
if_iereg.h > Gcc2 generates memcpy calls when doing some structure copying in the 1993-10-12 06:52:34 +00:00
if_is.c Make everything compile with -Wtraditional. Make it easier to distribute 1993-12-19 00:55:01 +00:00
if_isreg.h Moved allocation of memory into is_attach so that malloc gets 1993-10-24 04:27:00 +00:00
isa.c Now prints ``on eisa'' if id_iobase >= 0x1000, and made a slight code 1994-01-22 21:52:04 +00:00
isa.h Fixed comment that refered to 8252 (we really have 8253's). 1994-01-05 15:03:28 +00:00
isa_device.h Temporary hack to allow multiple controller support until Rod gets more 1994-01-04 20:06:30 +00:00
iso8859.font Put back the $Id$ strings 1993-10-28 06:15:14 +00:00
kbd.h Made all header files idempotent and moved incorrect common data from 1993-11-07 17:44:34 +00:00
kbdtables.h Add Ctrl-Altr-Esc DBG key to RUKEYMAP (russian keymap) 1994-01-24 05:22:27 +00:00
lpt.c Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
lptreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
mcd.c Added the correct typecast's to the untimeout calls. Added a missing 1994-01-22 18:00:54 +00:00
mcdreg.h From Gary Clark II: 1994-01-16 23:34:17 +00:00
mse.c Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
npx.c Convert syscall to trapframe. Based on work done by John Brezak. 1994-01-03 07:55:47 +00:00
rtc.h RTCFDT_720K (physical drive 720K) added. 1993-12-18 01:12:47 +00:00
sio.c Patch from Brian Smith (modified a little by me) to allow kernel config 1994-01-31 06:12:18 +00:00
sioreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00
spkr.c Fix error with tsleep loop 1994-01-25 23:04:27 +00:00
syscons.c Changed the default 'reboot' routine from cpu_reset() to shutdown_nice(). 1994-01-18 05:33:34 +00:00
timerreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
ultra14f.c Patch from Julian. Commit message by me. 1994-01-29 10:29:14 +00:00
vector.s Correct Vresume size, we have now 32 bits for it. 1994-01-10 23:15:09 +00:00
wd.c Increased TIMEOUT in wdwait from 2000 to 20000 since it seems many people 1994-01-22 11:00:01 +00:00
wdreg.h New wd driver, based on Bruce Evans 'wx/altwd' driver which has passed 1994-01-04 20:05:26 +00:00
wt.c Make everything compile with -Wtraditional. Make it easier to distribute 1993-12-19 00:55:01 +00:00
wtreg.h wt.c - version 1.3 1993-12-13 18:38:44 +00:00