he
89de8e1eca
Cast to char* before doing pointer arithmetic.
2007-03-08 23:17:56 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
ad
64c0514340
More vax changes.
2007-02-16 13:41:45 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
ragge
a4a700a791
Fixes due to cast-qual addition.
2005-06-27 11:05:24 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
perry
18db93c7f6
de-__P
2005-02-04 02:10:35 +00:00
he
6ef865c900
Include the <sys/bufq.h> header to allow these to compile again.
2004-10-31 12:52:55 +00:00
thorpej
e9818f5b5e
When adding/deleting multicast addresses, only whack the address
...
filter if the interface is marked RUNNING.
Fixes kern/27678.
2004-10-30 18:08:34 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
he
505125808c
Work around gcc 2.95.3's inability to detect that "ret" is initialized.
...
Will be documented in doc/HACKS, and should be looked at again when
gcc 3.3.2 for vax is ready.
2003-11-06 00:25:50 +00:00
he
6a3911e9ce
Make this compile, at least.
2003-11-04 23:19:12 +00:00
christos
808f08e986
Try to make this work. Havard will test it.
2003-11-04 23:01:13 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
thorpej
d58deb08c2
Use PAGE_SIZE rather than NBPG.
...
XXX Except in one place which will require more work.
2003-04-01 01:58:14 +00:00
thorpej
24ab4adb9c
Use PAGE_SIZE rather than NBPG.
2003-04-01 01:53:40 +00:00
thorpej
b97e4c2136
Merge the nathanw_sa branch.
2003-01-19 16:50:16 +00:00
bouyer
0a5eae1855
ragge said this chip should autopad, so just remove the check for len.
2003-01-15 22:08:08 +00:00
bouyer
84c7763ec2
Use a properly zeroed buffer to pad the packet to ETHER_MIN_LEN
...
XXX should it be ETHER_MIN_LEN - ETHER_CRC_LEN ?
2003-01-15 21:51:47 +00:00
matt
5d09a84558
Add multiple inclusion protection.
2003-01-06 21:02:18 +00:00
thorpej
72a7af27b0
Use aprint_normal() in cfprint routines.
2003-01-01 00:10:15 +00:00
thorpej
c9b3657ce9
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:33:28 +00:00
thorpej
bacf3a10fa
Use CFATTACH_DECL().
2002-09-30 20:43:55 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
wiz
f7d76b1062
bcmp -> memcmp.
2002-05-22 16:03:14 +00:00
lukem
f61cbe7489
add RCSID
2001-11-13 12:51:12 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
thorpej
cb6f78fe5d
bcopy -> memcpy
2001-07-18 16:53:52 +00:00
thorpej
c620771702
bzero -> memset
2001-07-18 16:51:39 +00:00
ragge
cae5d5a796
Lock the kernel lock at interrupt enter.
2001-06-04 21:31:28 +00:00
ragge
056e20f2cc
Need to get the kernel lock when entering by interrupts.
2001-06-03 15:15:02 +00:00
ragge
667dd41596
Remove ethernet CRC on received packets.
2001-05-27 19:36:06 +00:00
thorpej
67e357f0a9
splimp -> splvm.
...
This, like all other uses of spl*() in VAX code, needs to be
scrutinized.
2001-04-12 20:38:25 +00:00
thorpej
08afcfb9bd
ALTQ'ify.
2000-12-14 06:59:01 +00:00
thorpej
b84f740be0
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
2000-11-15 01:02:11 +00:00
thorpej
7ca3fb9ef0
Move the check for "promisc + unicast + not for us" into ether_input(),
...
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
ragge
acb96154d0
More intelligent BI vector assignment.
2000-07-26 12:41:40 +00:00
ragge
8cc5c2c8f1
Rename NODESIZE to BI_NODESIZE.
2000-07-06 17:47:02 +00:00
mrg
b5e0d5686e
remove include of <vm/vm.h>
2000-06-28 17:09:41 +00:00
mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
matt
2f85fe7adb
Adjust to new evcnt stuff.
2000-06-05 00:09:17 +00:00
matt
0bd304e528
More event counter stuff. Plus a little cruft cleanup while doing it.
2000-06-04 06:16:53 +00:00
matt
11ab56a399
Start counting interrupts.
2000-06-04 02:14:42 +00:00
thorpej
071aed40ac
A foolish consistency; most parts of the kernel use bp->b_data, so
...
change these from bp->b_un.b_addr to bp->b_data, as well. This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +00:00
ragge
9403f3fec8
Reset the device before starting the init sequence.
...
Add shutdown hook.
2000-04-16 09:55:39 +00:00
ragge
d9c7f72cf3
Device driver for the DEC DEBNA/DEBNT/DEBNK ethernet device.
...
This is for sure the most overkill hardware I've ever seen! For example,
it needs the VAX page tables so that it can access all data structures
and mbufs in virtual memory! It will be a real challenge to make this
device work on mips and Alpha systems :-)
2000-04-09 16:49:57 +00:00
ragge
30819cb81c
Bus_dma'ify the KDB50 driver, and make it work.
2000-03-26 11:45:04 +00:00
ragge
94b8f863fa
Don't use structs for BI space definitions, use offsets.
1999-11-03 21:57:40 +00:00
ragge
d1ffb22ab2
"files" also needed.
1999-08-04 19:13:05 +00:00
ragge
1aa825ae03
Converted to (mostly) MI code.
1999-08-04 19:12:22 +00:00