Commit Graph

75109 Commits

Author SHA1 Message Date
christos
17c0b722c8 Regen 2005-03-07 02:28:11 +00:00
christos
5af7360b1c PR/29614: Andrzej Kukula: Missing PCI IDs of ATI IXP 300 and 400 ATA controller 2005-03-07 02:27:17 +00:00
yamt
e16a97f90b - unwrap short lines.
- remove unneeded parenthesis.
- whitespace.
2005-03-06 23:06:40 +00:00
yamt
fd5005e8d7 don't assume alignment of sack options. 2005-03-06 23:05:56 +00:00
yamt
1152380a6b wrap long lines. 2005-03-06 23:05:20 +00:00
tsutsui
3f9745a76c Add two options to change the default keymap:
- options MKBD_LAYOUT="KB_xx"
    allow user to override the default keymap
- options MKBD_SWAPCTRLCAPS
    allow user to specify swapctrlcaps with the default (probed) keymap
2005-03-06 14:52:49 +00:00
yamt
2dc19239d5 update SYSCTL_DESCR; sack is implemented. 2005-03-06 10:15:30 +00:00
thorpej
1f89264732 Add a /*CONSTCOND*/ to last. 2005-03-06 03:41:36 +00:00
matt
c24b749deb Fix typo. Opposite of >= is <, not ==. 2005-03-06 00:52:25 +00:00
matt
9337b701be Replace some gotos with a do while (0) and breaks. No functional change. 2005-03-06 00:48:52 +00:00
matt
8e04817c50 Add IPv4/TCP hooks for TCP Segment Offload on transmit. 2005-03-06 00:35:07 +00:00
matt
4acc1b7c25 Add beginning of TCP Segment Offload support. 2005-03-06 00:08:30 +00:00
thorpej
04c00a86d4 - Set IFCS on every data descriptor (hint from Linux driver).
- Make sure IDE is set on context descriptors.
2005-03-05 21:37:07 +00:00
kleink
1c7e2b47c4 Provide select() and pselect() prototypes in <sys/select.h>, per
1003.1-2001, and leave the select() prototype in <unistd.h> for
compatibility.  To allow for transition, reorganization of this is
deferred until netbsd-3 gets branched.
2005-03-05 19:48:38 +00:00
heas
37ea29ba5a Perform a s/w checksum for packets that are not the same length as the length
field of the IP header (ip->ip-len) indicates they should be.  This handles
the case where an ethernet frame has been padded to meet the minimum ethernet
frame length or erroneously (my cisco switch unnecessarily adds 4 bytes to its
SYN).  This padding will be included in the hardware checksum and may be
non-zero, thus making it incorrect.
Also, clear csum_flags when we want a s/w checksum, since we may have started
down the h/w checksum path and determined that it was not usable.

While here, clean-up a few WS nits and ifdef INET the hardware checksum code.
2005-03-05 18:36:23 +00:00
heas
e7144a2c1a Perform a s/w checksum for packets that are not the same length as the length
field of the IP header (ip->ip-len) indicates they should be.  This handles
the case where an ethernet frame has been padded to meet the minimum ethernet
frame length or erroneously (my cisco switch unnecessarily adds 4 bytes to its
SYN).  This padding will be included in the hardware checksum and may be
non-zero, thus making it incorrect.
2005-03-05 18:32:59 +00:00
christos
7254715c73 add file locking. 2005-03-05 17:47:38 +00:00
christos
44f6417295 - someone must have been confused about how to use the stackgap.
- remove extra caddr_t
- cleanup unneeded syscalls.
- add locking.
2005-03-05 17:47:06 +00:00
chs
a6d3ad34e1 use attach args instead of dv_unit, just like cf_unit. 2005-03-05 17:40:56 +00:00
chs
805f942254 remove some more __P that I missed before. 2005-03-05 17:34:06 +00:00
jdolecek
07ad370ac0 const sptab[] 2005-03-05 17:31:07 +00:00
christos
cfa16776df cleanup and fix locking. 2005-03-05 17:16:17 +00:00
jdolecek
5c1a928111 g/c debugging printf 2005-03-05 14:51:21 +00:00
jdolecek
f4707bed18 modify vge_m_defrag() to support > MCLBYTES chains, by allocating appropriate
number of mbuf clusters; also don't free the original mbuf chain

simplify vge_encap() and make error reporting more consistent

normalize vge_start() (including use of IFQ_* macros), and handle the case
when the input mbuf chain is defragmented

JUMBO packets seem to work fine now
2005-03-05 14:37:15 +00:00
thorpej
d72073667c txpullup event counters are no longer needed. 2005-03-05 05:05:43 +00:00
briggs
6fe1c07527 Fix checksum offload for fragmented packets. From John Heasley
on gnats-bugs in PR kern/29544.
Tested with an NFS client using default rwsize on an NFS server
with wm(4) interface configured IP4CSUM,TCP4CSUM,UDP4CSUM.
Prior revision required the server to have checksum offload disabled.
2005-03-05 02:46:38 +00:00
nathanw
ec956cbe3a Don't enable interrupts while calling trap() if the trapping frame
didn't have them enabled either.

Addresses PR port-macppc/29559.
2005-03-04 22:40:32 +00:00
perseant
8de99480fa Move "ifile is too large for your NBUFS/BUFPAGES" messages into a function.
Use log(9) to warn the user instead of printf(9).  Since the theory is that
the Ifile is "always in cache", but the greater performance risk is
when the inode entries can't be held in cache, note these two cases
separately, at different log levels (notice and warning, respectively).
2005-03-04 22:19:05 +00:00
scw
51315622ae Undo revision 1.175 (hi jason!) to prevent a buzz-loop in
bus_dmamap_load_mbuf(). This implementation already dealt
with zero length mbufs.

Addresses port-sparc64/29473
2005-03-04 22:04:51 +00:00
christos
cac7cf0758 PR/26823: Michael L. Hitch: Endianness flag were not preserved in the compat
superblock read routine.
2005-03-04 21:45:29 +00:00
tacha
357eb4e7e6 Disestablish powerhook while detaching atabus. 2005-03-04 11:00:54 +00:00
mycroft
8d0711abed Preload the referenced and modified bits when entering a page due to a fault. 2005-03-04 06:26:58 +00:00
mycroft
7d64f202fc Copyright maintenance. 2005-03-04 06:01:52 +00:00
mycroft
2fcca2a309 Minor cleanup in ksiginfo setup code. 2005-03-04 06:01:21 +00:00
mycroft
5640dcbb4a Re-add callout_active(), in a way compatible with the FreeBSD version, and use
it in the TCP stack to test which of the REXMT or PERSIST timer is in use.
This fixes a race condition that could cause "panic: tcp_output REXMT".  See
tech-net for details.
2005-03-04 05:51:41 +00:00
mycroft
26fac798eb Not used any more. 2005-03-04 05:22:52 +00:00
mycroft
5c336d800d Regen. 2005-03-04 05:03:42 +00:00
mycroft
3839e0db1b Separate out vendors from the product table, to reduce string duplication.
Saves ~10K.
2005-03-04 05:03:19 +00:00
briggs
6ae9462824 Fix from Nozomu Ando to ensure that read interrupts are acknowledged.
May address PR port-macppc/28870.
2005-03-04 04:18:30 +00:00
tron
a179b1e8b6 Backout last commit because an entry for atu(4) already existed.
Problem noted by FUKAUMI Naoki on current-users mailing list.
2005-03-03 23:02:01 +00:00
martin
585285c6fe Fix a conditional: sparc's will use the raster ops via RASTERCONSOL 2005-03-03 16:01:37 +00:00
martin
b402d19851 Make it (at least) compile w/o wsdisplay @ cgsix.
Pointed out by Juergen Hannken-Illjes.
2005-03-03 12:11:49 +00:00
itojun
a02091146b atu on OQO model 01 is confirmed to be working under basestation/no-WEP.
(WEP is not supported yet, it is an different issue)
2005-03-03 09:23:24 +00:00
itojun
8a4d93018c OQO wifi interface needs quirks
(not confirmed if it works or not, so commented out)
2005-03-03 08:10:35 +00:00
itojun
4bb7e85761 OQO ether port confirmed to be working 2005-03-03 08:10:01 +00:00
yamt
f81c9770f3 bufq_priocscan_get: don't update state in the case of !remove. fix BUFQ_PEEK. 2005-03-03 05:00:22 +00:00
christos
8eb274055a Some ibcs2 binaries need executable stacks. Thanks to J Chapman Flack
for determining this and coming up with a fix.
2005-03-03 04:39:37 +00:00
perseant
871beffabf Put the ISSPACE() check where it belongs. This allows rewriting a file
on a full filesystem while still returning ENOSPC on an attempt to allocate
new blocks.
2005-03-02 21:16:09 +00:00
mycroft
1d50f417b8 Copyright maintenance. 2005-03-02 12:25:27 +00:00
mycroft
902a7e92fe Copyright maintenance. 2005-03-02 12:00:25 +00:00