Commit Graph

134211 Commits

Author SHA1 Message Date
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
yamt
6a707a2a07 note yamt-km-doc. 2005-02-18 10:10:43 +00:00
thorpej
2a7ae5ee05 Fix package_version.h include path so it has a chance of working in
our source tree.
2005-02-18 06:28:52 +00:00
thorpej
b4668e17e3 Alter the include path for package_version.h so that it has a chance
of working in our source tree.
2005-02-18 06:24:38 +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
jsm
6f99e036e2 Add STFW. 2005-02-18 01:40:49 +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
christos
1a940a96f9 remove extraneous `*' that caused a core-dump. 2005-02-17 21:22:25 +00:00
christos
3f899b0a98 do some manual CSE. 2005-02-17 19:58:21 +00:00
tron
f82977b51c Fix lint warning caused by last change. 2005-02-17 19:15:38 +00:00
xtraeme
ef1154956f Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-17 17:41:34 +00:00
xtraeme
6dca62f25b Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:35:47 +00:00
xtraeme
ee89c9ff79 Kill __P(), use ANSI function declarations. 2005-02-17 17:31:28 +00:00
xtraeme
1db2ef90e1 Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:29:58 +00:00
xtraeme
abda23981e Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:17:25 +00:00
xtraeme
6dd2a8ed92 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-17 17:12:42 +00:00
xtraeme
971b39df9c Kill __P(), use ANSI function declarations. 2005-02-17 16:53:45 +00:00
xtraeme
d33a7206d5 Kill __P(), use ANSI function declarations. 2005-02-17 16:29:26 +00:00
xtraeme
06bca8b1ce Kill __P(). 2005-02-17 16:07:53 +00:00
xtraeme
0b39b8da10 Kill __P(), use ANSI function declarations. 2005-02-17 15:17:44 +00:00
tsutsui
13238da8a4 Account ifp->if_opackets and ifp->if_collisions. 2005-02-17 15:16:26 +00:00
xtraeme
f224c38b66 Kill __P(), use ANSI function declarations. 2005-02-17 15:00:33 +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
taca
3b1c86cc41 ISC DHCP 3.0.2 has released.
ISC DHCP 3.0.2 is now available.  This release fixes a number of bugs
present in the previous (3.0.1) release of ISC DHCP, most notably a
few failover bugs, a protocol violation, and a significant repair to
the selection and allocation of expired/abandoned leases.  As this is a
maintenance release, no new features have been added.
2005-02-17 05:28:48 +00:00
enami
aa6d8c7778 Jump to just before the copy instead of after it. Saves 8 byte on i386. 2005-02-17 04:30:23 +00:00
enami
d02f179fc6 Simplify, KNF and plug leaks. Compile test only. 2005-02-17 04:16:09 +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
briggs
a6246199bb Supply _kvm_kvatop() and _kvm_pa2off() for OEA-type CPUs. This does
not yet support other PPC CPU types.
Contributed by Wasabi Systems Inc.
2005-02-17 02:31:27 +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
f47f1e617d Add spr.h 2005-02-17 02:24:00 +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
christos
81a2ba5600 Simplify and KNF. Instead of keeping track if the pointer was allocated,
keep a copy of the pointer itself and only re-use it if the current
environment is equal to the saved pointer. Idea from OpenBSD. Avoids
problem of re-allocing a non-allocated pointer if a program resets the
environment after it has been grown.
2005-02-17 02:17:43 +00:00
briggs
9ca4305a3b Add spr.h. 2005-02-17 02:14:52 +00:00