Commit Graph

153657 Commits

Author SHA1 Message Date
tsutsui 6590e7b074 Prepare and use an inline function which sets 64 bit DMA address into
struct re_desc to avoid unnecessary 64 bit arithmetic on ILP32 ports.
2006-11-17 21:49:49 +00:00
tsutsui 80b92a7179 Use ETHER_HDR_LEN rather than sizeof(struct ether_header).
BTW, should we have the similar ip4csum-tx bug workaround for fxp(4)?
2006-11-17 21:35:24 +00:00
tsutsui f48e88ab0d Add a workaround for hardware ip4csum-tx bug on re(4) chips.
See discussion on tech-kern and tech-net for details:
http://mail-index.netbsd.org/tech-net/2006/10/21/0000.html
http://mail-index.netbsd.org/tech-net/2006/11/04/0003.html
http://mail-index.netbsd.org/tech-net/2006/11/07/0002.html
http://mail-index.netbsd.org/tech-net/2006/11/12/0000.html
etc.
2006-11-17 21:29:36 +00:00
reed 77c6811b1b Uppercase "BSD". s/Netbsd/NetBSD/
Saw this in the missing bootmenu menu.
2006-11-17 21:04:22 +00:00
tsutsui 44e83481b7 Defer _spl0() or _splnone() calls (which enable hardware interrupts)
from cpu_configure(9) to cpu_initclocks(9) on mips ports which use
mips3_clockintr.c:mips3_clockintr() (i.e. CPU INT5 clock) to avoid
hardclock(9) before softclock interrupt is initialized in initclocks().
This should be harmless because initclocks() is a part of configure()
in these days and there is no MI function which expects hardware
interrupts between cpu_configure(9) and cpu_initclocks(9).

Disccussed on tech-kern and port-mips.
2006-11-17 21:01:03 +00:00
pooka 8bf1f71b17 document PUFFSFLAG_NOCACHE 2006-11-17 18:00:20 +00:00
pooka a2646bee20 mount with PUFFSFLAG_NOCACHE 2006-11-17 17:48:51 +00:00
pooka a0e314dc77 shuffle flags a bit 2006-11-17 17:48:32 +00:00
pooka e5e4a4f6bc Introduce uncached operation, makes sense when the file system backend
can be modified from elsewhere than the file system interface
2006-11-17 17:48:02 +00:00
hannken e29b23b983 Add specificdata support to mount points.
Welcome to NetBSD 4.99.4

Approved by: Jason Thorpe <thorpej@netbsd.org>
2006-11-17 17:05:18 +00:00
macallan aa4a0d1a02 add RADEONFB_MMAP_BARS 2006-11-17 17:01:47 +00:00
ws bb49b83c02 Looks like the capability of octal counting is vanishing (hi, yamt). 2006-11-17 12:33:39 +00:00
pooka 48697c774d do correct size calculation in getattr(). accidentally replaced that
with a dummy before commit.
2006-11-17 00:27:16 +00:00
uwe 20e7821e8a Enforce correct userspace bounds in copy{in,out}str().
From Miod Vallat <miod@openbsd.org>.
2006-11-16 23:12:23 +00:00
uwe 4fb9f81ff9 Sync with sys/endian.h: s/const/__const__/ in __attribute__ 2006-11-16 23:01:16 +00:00
dyoung 33f672908d Correct the length of the TTL argument to setsockopt(IPPROTO_IP,
IP_TTL).
2006-11-16 22:58:00 +00:00
uwe bd3c9477fb Bring back __unused (sed cannot tell if it's in an argument list or not). 2006-11-16 22:55:25 +00:00
dyoung 8cfa750e0f Use LIST_FOREACH(). 2006-11-16 22:54:14 +00:00
oster d4240170d8 xen_shm_errintvl is only used in the DEBUG case. Fixes build for non-DEBUG. 2006-11-16 22:38:18 +00:00
dyoung 51a6c2e769 Cosmetic: s/g_proto/sc_proto/.
(Straggler from last commit affecting net/if_gre.c, netinet/ip_gre.c.)
2006-11-16 22:32:38 +00:00
joerg f39fcf5763 LFS will never set SF_SNAPSHOT and doesn't support ffs_snapgone anyway.
So conditionally the calls to that function on the inclusion of FFS and
allow a LFS-only kernel to link.
2006-11-16 22:29:03 +00:00
dyoung 641edc65f1 Cosmetic: s/g_proto/sc_proto/. Remove superfluous parentheses and
curly braces.
2006-11-16 22:26:35 +00:00
ginsbach dca2bdf5fa - print lineno as the line number in error rather than line
- use errx(3) instead of err(3) since errno is not set; all the calls are
  for input parse errors which don't set errno
2006-11-16 21:34:53 +00:00
christos 5e16b7787c - don't hardcode 5, 10 define and use MII_ANEGTICKS{,_GIGE}
- instead of != limit, use <= limit (conservative)
2006-11-16 21:24:06 +00:00
christos 5d48d92007 ifdef out an unused function if !FFS_NO_SNAPSHOT 2006-11-16 21:21:34 +00:00
jdolecek e0f8f596d4 undo previous change - crom_buf->len has been changed to uint32_t
(this is backward ABI compatible) so the check for negative value is
no longer necessary
2006-11-16 16:10:43 +00:00
jdolecek 8c96a4b6ac make the struct fw_crom_buf's len uint32_t, so that it can never be negative
the real fix to
http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0261.html
2006-11-16 15:59:28 +00:00
elad 4bfbbae383 Avoid integer overflow, as reported by Rodrigo Rubira Branco in a
message to full-disclosure:

http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0261.html

Also see comment from bouyer@:

http://mail-index.netbsd.org/tech-security/2006/11/16/0001.html
2006-11-16 14:35:07 +00:00
yamt f93e215353 wm: add IPv6 rx tcp/udp checksum offloading. 2006-11-16 06:07:54 +00:00
yamt 730ba489f6 xen_shm: make some variables static. 2006-11-16 05:43:47 +00:00
atatat bade8c3805 remove stray links 2006-11-16 04:43:32 +00:00
christos 2343154519 pass lint 2006-11-16 04:31:24 +00:00
yamt 6de2ee76e8 wm_tx_offload: in the case of "txtsopain",
m_copyback ip header to the correct offset.
2006-11-16 04:30:02 +00:00
christos f8013c3836 fix gcc4 sign issues. 2006-11-16 04:15:13 +00:00
christos a682c5bf65 - remove stray mlinks
- remove gcc4 hacks
2006-11-16 04:14:50 +00:00
christos 168cd830d2 __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
christos c72ed40f25 regen 2006-11-16 00:53:31 +00:00
christos c4f844860a non working dual serial port. 2006-11-16 00:53:16 +00:00
christos 5cbe0fbb62 add another device. 2006-11-16 00:52:48 +00:00
christos b1d5ffd2bd lfs_cleanerd.debug moved. 2006-11-16 00:50:19 +00:00
christos 96a58b2a60 more uucp cleanup 2006-11-16 00:49:20 +00:00
mgrooms 8ceadc3208 Correct issues associated with anonymous sainfo selection in racoon. 2006-11-16 00:30:55 +00:00
christos 02b04bf496 add aic97xx.c to the varstack list. from shannonjr. 2006-11-15 23:09:53 +00:00
drochner 1a7611ad20 since these stupid codenames are mentioned everywhere, do so for Core2
as well
2006-11-15 19:18:33 +00:00
jdolecek 7ab2ff0691 Model 15 is the 'Core 2', so let's use that instead of the default 2006-11-15 17:48:56 +00:00
christos 583dd15916 no names in params. 2006-11-15 17:00:09 +00:00
christos 8ddd07b65e fix build with objdirs 2006-11-15 16:59:52 +00:00
christos aa62ece776 Add -d option, similar to gnu date. 2006-11-15 16:55:18 +00:00
elad cbaf7914e4 First attempt at an examples section, and while here also add some notes
about extending kauth(9).
2006-11-15 14:55:54 +00:00
elad 26e33be266 PR/35056: Keiichi Shima: netstat does not compile in crunched environment
Patch applied, thanks!
2006-11-15 11:55:00 +00:00