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
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
kiyohara
58f6bfaae5
Fix device name in {fwohci,firewire}_print(). valiable aux is not string
...
pointer.
2006-09-26 02:50:42 +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
christos
b5a9957169
Fix reversed test in __NetBSD_Prereq__; from dbj
2006-09-25 20:28:47 +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
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
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
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
mrg
8dd1169cb4
print the cpu number in a bunch of fault handler debug messages.
2006-09-25 05:52:34 +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
dbj
2df12fb8b5
use _KERNEL_OPT instead of _LKM to check whether to include "opt_ktrace.h"
2006-09-24 21:44:58 +00:00
bjh21
83d7ac871e
Turn address exceptions into SIGSEGV rather than SIGBUS, since they're really
...
just attempts to access unmapped (and incidentally unmappable) memory,
rather than anything special.
2006-09-24 21:42:06 +00:00
bjh21
7841bf68c0
uvm_fault has been sensible about when to return ENOMEM for some time now,
...
so it's reasonable for us to kill processes when we get it returned,
rather than sleeping. Do that.
2006-09-24 20:54:14 +00:00
briggs
65b5f899a0
Dump the pin and line information only if DEBUG is defined.
2006-09-24 19:17:56 +00:00
briggs
06b73e4c8c
Match APPLE_INTREPID2_*
2006-09-24 19:17:28 +00:00
peter
223213b93f
Improve some debug texts.
2006-09-24 19:07:26 +00:00
briggs
d9a3e24d2f
Regen with new IDs for devices in the last-generation Apple PowerBook G4.
2006-09-24 18:36:40 +00:00
briggs
f1e45a271e
Add IDs for the devices in the last-generation PowerBook G4.
2006-09-24 18:35:34 +00:00
peter
d04123ca73
Run the "power button event" hooks when the special button OFF is pressed.
...
Change the keycodes in the keymaps that are currently using the OFF button
to -1 so that they will still operate the same way (i.e. do nothing).
No objection on port-hpcsh & port-hpcmips.
2006-09-24 18:34:41 +00:00
peter
7644942c0e
Minor KNF, replace some spaces with tabs.
2006-09-24 18:24:55 +00:00
bouyer
f99383d432
The Xen folks says everyone should use hypercall call page now, make it so.
...
Old hypercall call method still still available with
options XEN_NO_HYPERCALLPAGE
but this is disabled by default (xen-3.0.2-2 supports hypercall call page
just fine).
While there add a VIRT_BASE= string in __xen_guest section; from
Bastian Blank on port-xen@.
2006-09-24 18:14:44 +00:00
christos
8b0b9e2db5
Regen
2006-09-24 17:18:49 +00:00
christos
385afe8d48
Fix whitespace inconsistencies; no functional change
2006-09-24 17:18:02 +00:00
christos
da685f2130
From Claus Andersen:
...
- change uftdi driver to use usb_lookup
- are more devices (from FreeBSD/OpenBSD)
2006-09-24 17:17:17 +00:00
peter
bf8bba312d
Various cleanup & KNF.
2006-09-24 15:40:14 +00:00
peter
d466201fb2
Add support for timecounter and generic todr.
...
#ifdef'ed for now until all consumers are using it.
2006-09-24 15:36:34 +00:00
bouyer
b6ce42d579
Factor out some hypercall code in macros, so that it's easier to change
...
the way hypercalls are called.
2006-09-24 15:30:14 +00:00
xtraeme
2e6b13ae04
PR 34478: "modload compat_linux.o fail" by Takehiko NOZAKI.
...
Applied patch, thanks.
2006-09-24 14:35:22 +00:00
jmcneill
5396cf7fbb
PR# 23620: channels are swapped
2006-09-24 14:26:50 +00:00
jmcneill
e396b69764
PR# 29372: notebook with Maestro 2E sound chip panics (w/ fix)
2006-09-24 13:24:32 +00:00
elad
20ceabba1e
Super-user access only matters for part of the KAUTH_SYSTEM_TIME requests,
...
so defer the ones we don't care about.
Thanks to Jukka Salmi for the ktrace output!
2006-09-24 12:30:32 +00:00
elad
9b44f0d6f5
PR/33569: Kristaps Johnson: systrace.h is not bundled with NetBSD
...
distribution
In the spirit of encouraging development on NetBSD, install systrace.h
to /usr/include/sys as well.
2006-09-24 11:49:20 +00:00
elad
4ec2268a16
PR/34594: KIYOHARA Takashi: ifdefed by KTRACE or SYSTRACE in
...
linux32_syscall.c
Applied patch, thanks for the report!
2006-09-24 11:45:02 +00:00
xtraeme
887cf52b75
Add a quirk table with known CPUs not matching BIOS cpuid and PST
...
cpuid signature.
Tested by Nino Denhe with a kernel I sent him privately.
2006-09-24 11:12:40 +00:00
fvdl
fc06b6e99a
EPASSTHROUGH from lower layers is returned as ENOTTY to the (system) caller.
...
Make it so.
2006-09-24 10:20:16 +00:00