Commit Graph

151478 Commits

Author SHA1 Message Date
jeremy
b91b1cdbb2 Fixed a bug in the timeout range constraint macro that can cause a timeout
to break free of the constraint if the range minimum boundary is larger than
the maximum boundary.

Discovered by jmg@FreeBSD.org.  (See FreeBSD's tcp_timer.h rev 1.31).
2006-09-26 06:39:22 +00:00
gdamore
07a877c8d1 Note addition of support for Meraki Mini. 2006-09-26 06:38:57 +00:00
gdamore
e653071cb2 Initial import of AR2315 support, specifically the Meraki Mini (see
the Meraki web site at http://www.meraki.net/ )  This includes changes
to the AR5312 to make it more conducive to sharing code with the AR5315,
and also includes improved early console support.

All devices including ethernet and wlan interfaces on the Meraki Mini are
functional with this port, _except_ SPI flash, which will be introduced
later.

This port was funded by the Champaign-Urbana Communit Wireless Network
Project (CUWiN).
2006-09-26 06:37:31 +00:00
lukem
fa373d4d88 Use NS_INT16SZ instead of INT16SZ 2006-09-26 05:59:18 +00:00
manu
f693deda72 Fix buffer overflow
Also fix credits: SA bundle fix was contributed by Jeff Bailey, not
Matthew Grooms. Matthew updated the patch for current code, though.
2006-09-26 04:44:41 +00:00
manu
e63f95d0e9 fix SA bundle (e.g.: for negotiating ESP+IPcomp) 2006-09-26 04:41:26 +00:00
daniel
ce560c1e4f PR/9742: whatis doesn't deal with '.' in manpage names (John Hawkinson)
Use name matching code from OpenBSD (ack christos@).
2006-09-26 04:16:24 +00:00
kiyohara
58f6bfaae5 Fix device name in {fwohci,firewire}_print(). valiable aux is not string
pointer.
2006-09-26 02:50:42 +00:00
jmcneill
b11beef4fa Add acadapter, lid_switch, and sleep_button powerd scripts. 2006-09-26 02:19:56 +00:00
jmcneill
788671871d Install all example powerd scripts by default. 2006-09-26 02:18:16 +00:00
jmcneill
d54c2134a8 Add useful example scripts for powerd acadapter, lid_switch, and
sleep_button events. These use the /dev/apm interface, so should be useful
on more than just i386.
2006-09-26 02:17:38 +00:00
jmcneill
466af2f141 When resuming from S1 standby, don't try to release a mutex that we hadn't
previously acquired.
2006-09-26 01:50:43 +00:00
heas
e8bce64b5c Regen for pcidevs 1.833 2006-09-26 00:09:42 +00:00
heas
a19ef0d521 Add entries for Datum Inc. (Bancomm) & the BC635PCI_U card. 2006-09-25 23:58:23 +00:00
jmcneill
8f4e570fd3 PR# 32473: GUS PnP audio device seems to be broken in NetBSD 3.0
We now need to call isa_drq_alloc to reserve DMA channel(s) for ISA devices.
Thanks to Ben Collver for testing the patch for me!
2006-09-25 23:26:19 +00:00
jmcneill
1d83a2dea6 No need to call pci_set_powerstate from our powerhook, the bus handles this
for us now.
2006-09-25 23:11:07 +00:00
jmcneill
8e37d48dc1 Create a PCI bus powerhook to handle setting PCI D# power state transitions
on suspend/standby/resume.
2006-09-25 23:09:42 +00:00
jmcneill
ce9801710e Only display "interrupt while not running ignored" if DIAGNOSTIC is set, as
whenever this happens, so many messages are spewed to the screen from the
kernel that the system is effectively useless. Hardly ignored :-)
2006-09-25 22:15:15 +00:00
jmcneill
fbd43a6ddc Add powerhook for RT2560-based cardbus wireless adapters. 2006-09-25 22:14:01 +00:00
snj
03e091a960 Fix a sorting error in the last change. Pointed out by Jukka Salmi. 2006-09-25 21:26:27 +00:00
christos
b5a9957169 Fix reversed test in __NetBSD_Prereq__; from dbj 2006-09-25 20:28:47 +00:00
christos
fdceff11ff - mention init utmpx changes
- mention csplit
2006-09-25 20:12:49 +00:00
elad
fd2bf79719 Add a DIAGNOSTICS section, specifically to address the "Operation not
supported by device" error. Reference options(4). Bump date.
2006-09-25 20:07:17 +00:00
jnemeth
19555aa77c note that the current version of less is 395 2006-09-25 19:51:36 +00:00
christos
6accae529c Error message consistency:
1. don't print the program name in the message [syslog does it]
2. no extraneous \n [syslog takes care of it]
3. quote strings as `%s' [we are using syslog]
4. use %m instead of error = %d
2006-09-25 19:42:04 +00:00
christos
64d44756ee add csplit. 2006-09-25 19:23:42 +00:00
christos
1a6e50f273 PR/34599: Mindaugas: csplit(1) utility port 2006-09-25 19:21:42 +00:00
christos
1a9beba1e6 PR/34612: Bucky Katz: SA returns from sleep do not set the signal flags
Patch applied, many thanks for the example!
2006-09-25 18:28:56 +00:00
vanhu
e2a943b3df From Yves-Alexis Perez: struct ip -> struct iphdr for Linux 2006-09-25 17:42:08 +00:00
vanhu
0fa07a8062 struct ip -> struct iphdr for Linux 2006-09-25 17:42:07 +00:00
xtraeme
d532985d18 Fix typo and missing space. 2006-09-25 17:39:33 +00:00
pavel
3cdb79bdae Replace homegrown tests for FIFO (... & S_IFIFO) by S_ISFIFO. The old code
was "correct" by luck - we don't have any other file type whose S_IF* bits
in sys/stat.h overlap with S_IFIFO.

Originally discovered by Paul Stoeber in OpenBSD.
2006-09-25 16:16:18 +00:00
daniel
c43e654c14 PR/30698: install(1) stripping flags in METALOG [patch] (Jukka Salmi)
Apply patch, thanks!
2006-09-25 16:05:44 +00:00
cube
f6eef99476 Don't accept a compressed image that has 0 for the block size...
Fixes PR#34608.
2006-09-25 13:47:26 +00:00
rpaulo
8917262dee Remove line that shouldn't have been committed. 2006-09-25 13:21:53 +00:00
daniel
3b6bc88204 PR/32589: install -d ignores existing non-directories (joerg@netbsd.org)
Raise an error if an argument to 'install -d' exists as a non-directory,
as suggested by joerg@ (and acked by some developers on #netbsd-code).
With this change behavior is equal in this respect to FreeBSD and
DragonFly.
2006-09-25 13:21:19 +00:00
rpaulo
f3e1747995 PR/14806: NetBSD uses the wrong default TCP MSS.
No objections in tech-net.
2006-09-25 13:20:20 +00:00
sketch
a38b4ece79 typo. 2006-09-25 12:24:47 +00:00
xtraeme
94e721817e Back out linux_ptrace.c changes, looks like they were removed with
a reason in the past.
2006-09-25 10:55:54 +00:00
xtraeme
8de009a612 linux_ptrace.c is not available in all archs, only in powerpc, arm,
mips and i386... make it so.

Patch from Kurt Schreiner.
2006-09-25 10:36:23 +00:00
martin
77d6e4c5bd As suggested by Johan Veenhuizen in PR 32981, reword slightly to avoid
the impression return values would always be -1.
Approved by christos.
2006-09-25 08:55:33 +00:00
lukem
6dd25eb757 Update to 20060923 for the following changes:
20060201
debug -> ftpd_debug
xstrdup -> ftpd_strdup

20060317
* Make sure that "su" is initialized before dereferencing it.
  Fixes Coverity CID 1075.
* Set file to NULL after calling fclose().
  Fixes Coverity CID 2669.
* Remove unreachable code (res could never be NULL here).
  Fixes Coverity CID 712.

20060509
change (mostly) int to socklen_t.  GCC 4 doesn't like that int and
socklen_t are different signness.

20060923
Apply patch from PR bin/33261 sent by FUKAOMI Naoki:
"ftpd does not update wtmpx".
2006-09-25 06:30:55 +00:00
mrg
8dd1169cb4 print the cpu number in a bunch of fault handler debug messages. 2006-09-25 05:52:34 +00:00
manu
1127a06ee3 style (mostly for testing ipsec-tools-commits@netbsd.org) 2006-09-25 05:08:52 +00:00
manu
22ddfb23b1 Fix double free, from Matthew Grooms 2006-09-25 04:49:39 +00:00
briggs
31c06a3ac5 Obvious (now that Jorge Acereda pointed it out) bug in the restoremmu
section of ENTRY(ofwr_init) (a constant offset of 4 was changed to %r4).
2006-09-25 01:45:27 +00:00
bjh21
5858e7aa70 Arrange that catching an unexpected data abort in the kernel causes a trap
into DDB where possible, even if it happens in an interrupt handler.
2006-09-24 23:38:59 +00:00
bjh21
e0884dc370 PR 23783: the correct number of elements to insert into cmd_iohs is WDC_NREG,
not DRIVE_REGISTERS_SPACE.  The latter is much bigger and causes a buffer
overrun and panic.  Patch supplied by Mike Pumford.
2006-09-24 23:14:58 +00:00
snj
beecc65b09 Add missing rc.d scripts (cgd, ftpd, hostapd, ifwatchd, ipfs, irdaattach,
moused, rtclocaltime, staticroute, tpctl).

From Jukka Salmi in PR misc/33626.
2006-09-24 23:10:47 +00:00
dbj
2df12fb8b5 use _KERNEL_OPT instead of _LKM to check whether to include "opt_ktrace.h" 2006-09-24 21:44:58 +00:00