jdolecek
dc8941eb32
use VLAN_* macros for VLAN tag extraction/addition
...
also restructure and simplify input VLAN ID code handling somewhat, to not use
local have_vlan/vlan_tag variables, and use the appropriate cur_rx condition
on the one place where it's needed
2005-02-20 15:48:35 +00:00
jdolecek
4c60443769
expose the new VLAN macros only within kernel
2005-02-20 15:41:48 +00:00
jdolecek
8b0dfe8d52
add several VLAN tagging related macros, to reduce code duplication
...
in various ethernet adapter drivers and improve code consistency; mostly
FreeBSD-compatible, with exception of VLAN_OUTPUT_TAG(), which takes
(struct ethercom *) rather than (struct ifnet *) as first parameter
since the information cannot be extracted via (struct ifnet)
also add VLAN_ATTACHED(ec), which tests if any VLAN is attached to the
ethernet device
2005-02-20 15:29:03 +00:00
tsutsui
d3dc0553bb
Use ANSI function decls.
2005-02-20 13:59:27 +00:00
cube
55dc3e11f4
Add a couple of protocols (from ppp-2.4.3).
2005-02-20 10:23:13 +00:00
cube
a8a27dce29
Add MPPE definitions (from ppp-2.4.3).
2005-02-20 10:22:26 +00:00
matt
832084d8ae
Regen. (no actual differences)
2005-02-19 22:19:02 +00:00
matt
16cf76fdc3
Add placeholders for sys_pselect and sys_pollts
2005-02-19 22:15:51 +00:00
jdolecek
d58eded060
g/c obsolete comment for _bus_dmamap_load_buffer()
2005-02-19 21:40:21 +00:00
martti
460bbcc960
Upgraded IPFilter to 4.1.6
2005-02-19 21:30:24 +00:00
martti
76b5d9e30f
Import IPFilter 4.1.6
2005-02-19 21:26:02 +00:00
rearnsha
3351f73643
Add on-board CompactFlash device.
2005-02-19 16:57:58 +00:00
rearnsha
7af50b5bf5
Add support for the on-board CompactFlash card.
2005-02-19 16:56:04 +00:00
rearnsha
575ff76f8f
Add bus-space write-multi-2 and read-multi-2 methods.
2005-02-19 16:55:11 +00:00
tsutsui
31cb734598
Include "ioconf.h" for struct cfdriver *_cd decls.
2005-02-19 16:31:49 +00:00
tsutsui
067a87d594
- options<space><tab>
...
- bump SYMTAB_SPACE
2005-02-19 16:19:58 +00:00
tsutsui
3a03be0a7a
u_intNN_t -> uintNN_t
2005-02-19 15:43:13 +00:00
tsutsui
63478f4368
- ANSI function decls (func() -> func(void))
...
- u_intNN_t -> uintNN_t
- some KNF
2005-02-19 15:42:33 +00:00
tsutsui
eff817e362
- u_intNN_t -> uintNN_t
...
- ANSI function decls
- ntohl -> be32toh, htonl -> htobe32, htons -> htobe16
- bcopy -> memcpy, bcmp -> memcmp, bzero -> memset
- some KNF
2005-02-19 15:40:15 +00:00
tsutsui
cb6453db10
- u_intNN_t -> uintNN_t
...
- more ANSI function decls
- sone KNF
2005-02-19 15:37:34 +00:00
tsutsui
11b735f28a
u_intNN_t -> uintNN_t
2005-02-18 22:39:31 +00:00
dsl
bd99144a6b
change ffs_snapshot to !ffs_no_snapshot
2005-02-18 21:15:38 +00:00
dsl
1122e62a52
Add FFS_NO_SNAPSHOT - commented out in XEN
2005-02-18 21:12:36 +00:00
dsl
4822cbaae2
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
2005-02-18 21:05:50 +00:00
tsutsui
abb2f77dd5
Print newline in some error messages.
2005-02-18 17:56:57 +00:00
drochner
0717077eea
The joystick driver is using mi timing code for many months.
...
Noone complained, so we can remove the unused md versions.
2005-02-18 15:39:17 +00:00
thorpej
846027d4f3
Re-apply changes that were mistakenly lost by the previous revision.
2005-02-18 05:58:31 +00:00
briggs
b7b84489c8
Update the interrupt mitigation support.
...
Actually initialize the interrupt throttling register.
Actually initialize the tx and tx absolute interrupt delay timer regs.
Update default values for the rx and tx delay timers.
Inspired by Zdenek Salvet in PR kern/29373.
2005-02-18 04:32:35 +00:00
heas
981782a1d9
Adjust/add a few comments, add a few bitmask_snprintf formats, and add
...
register definitions for hardware checksums and the PCS (the fiber interface
version of a MII).
2005-02-18 01:39:18 +00:00
heas
f5a6c8bf2f
Adjust csum_data usage; mask off the high 16 bits for L4 header stuff offset
...
and make use of the L3 header length from the high 16 bits such that an
m_pullup is no londer necessary.
2005-02-18 01:21:02 +00:00
heas
d6e174eefd
Adjust csum_data usage; mask off the high 16 bits.
2005-02-18 01:10:44 +00:00
heas
0f8efdd552
My last change for pseudo-header checksums was flawed. The pseudo-header
...
checksum is always in the L4 header by the time we get to this point. It
was occasionally not there due to a bug in tcp_respond, which has since
been fixed.
So, instead just stash the length of the L3 header in the high 16 bits of
csum_data.
2005-02-18 00:52:56 +00:00
heas
9d624b89de
Add handling for hardware TCP/UDP checksums.
2005-02-18 00:40:32 +00:00
heas
7056d7dd2a
Handle interface IFF_DEBUG flags sooner in hme_ioctl and cache a copy of
...
sc_ethercom.ec_capenable such that we can properly adjust the max frame size
when vlan tagging is enabled/disabled.
2005-02-18 00:22:11 +00:00
peter
e5d29518c6
Remove one repeated word. From Martin Végiard.
2005-02-18 00:21:37 +00:00
peter
dc3b7c44eb
Fix a typo, recieve -> receive. From Martin Végiard.
2005-02-18 00:17:13 +00:00
tsutsui
13238da8a4
Account ifp->if_opackets and ifp->if_collisions.
2005-02-17 15:16:26 +00:00
tsutsui
6b5872e584
Add __attribute__((__packed__)) to structure declarations of DMA descriptors.
...
Checked on 712/60. (hmm, I wonder how does it work before...)
2005-02-17 14:56:37 +00:00
tsutsui
9411ae0318
and add options COMPAT_20.
2005-02-17 14:44:50 +00:00
tsutsui
04c0426781
Add options COMPAT_16.
2005-02-17 14:44:06 +00:00
tsutsui
061b204c56
user_backtrace() is used if DEBUG or USERTRACE is defined, but not DIAGNOSTIC.
2005-02-17 14:19:49 +00:00
tsutsui
7989b67eb5
Add __attribute__((__packed__)) to DMA descriptor declarations.
2005-02-17 11:32:42 +00:00
tsutsui
c1510a551c
Allow MD attachments to override CTEST4 register value.
2005-02-17 11:30:58 +00:00
tsutsui
a68fa671e6
Remove unneeded includes.
2005-02-17 11:23:36 +00:00
he
932c2bb115
In the __lint__ version of __builtin_va_arg(), apply the cast the
...
user specified. Fixes build problem.
2005-02-17 08:35:24 +00:00
christos
a05a0bbcb8
Deal with possibly uninitialized variable, and tidy up a bit.
2005-02-17 04:14:31 +00:00
christos
9606238d80
There were more broken things aside from the __'s missing.
2005-02-17 03:12:36 +00:00
christos
0a15d30196
Don't forget the trailing __'s in NetBSD Version. Should fix PR/29407.
2005-02-17 02:26:51 +00:00
briggs
367930c274
Add (back) spr.h
2005-02-17 02:24:47 +00:00
briggs
6451b0332b
Update to a kcore_hdr_t that is useful for OEA-style CPUs. Adding
...
support for Book-E and other CPUs will require updating this structure
appropriately.
Contributed by Wasabi Systems, Inc.
2005-02-17 02:21:28 +00:00