160051 Commits

Author SHA1 Message Date
tsutsui
1cbdf43c6d Print Error EPC rather than EPC on NMI. 2007-06-27 18:15:51 +00:00
mhitch
6fc4ae964e CAC_GET4() was incorrectly defined, fix it. Not used currently, but bio(4)
support I'm working on does.
2007-06-27 17:57:55 +00:00
mhitch
a69c525cfd Ooops - I missed another call to trap. Fixes PR#36567. 2007-06-27 17:55:51 +00:00
tsutsui
386666a542 Print EPC address on NMI (i.e. when "DUMP" button is pressed) for debug. 2007-06-27 15:48:16 +00:00
xtraeme
e31adb2d42 Use aprint_debug rather than printf for the annoying message
"WARNING: Callback scheduled before sysmon task queue thread present.".
2007-06-27 13:04:15 +00:00
xtraeme
d6e294cd05 regen 2007-06-27 11:53:54 +00:00
xtraeme
16437a5d29 Improve the NS CS5535 entries and remove the NS part, it's redundant. 2007-06-27 11:53:38 +00:00
uebayasi
2360b1d428 Fix typo. 2007-06-27 08:16:58 +00:00
rumble
d8487906df Fix typo. 2007-06-26 22:45:36 +00:00
xtraeme
468f2b4743 regen 2007-06-26 22:43:16 +00:00
xtraeme
9d2af5fa13 Add National Semiconductor CS5535 devices, found in the decTOP. 2007-06-26 22:42:58 +00:00
jmcneill
7d42ba2288 Don't be quite so aggressive in EcWaitEvent; makes acpiec work on the
Sony VAIO VGN-N250E, and possibly others.
2007-06-26 22:36:16 +00:00
mjacob
959a8b2a95 When loading firmware for the 23XX and 24XX cards and DMA'ing it from
the request queue, remember to convert it to little endian format.
2007-06-26 21:00:18 +00:00
mjacob
1d191096fb If we have 2K Login firmware for 23XX cards, remember to put out the
'extended' structure- not the older one. Matters for the swozzling
that goes on for big endian machines.
2007-06-26 20:58:27 +00:00
briggs
a336d0a8d5 When collecting memory regions from the BIOS, ignore regions that are less
than a page size.  This assists a decTOP Geode-based system that reports
memory regions:
        start      end         size       type
	0x00000000 0x0009e000  0x0009e000 1 (Memory)
	0x00100000 0x06be3c00  0x06ae3c00 1 (Memory)
	0x06be3c00 0x06be6000  0x00002400 3 (ACPI)
	0x06fff800 0x06fffc00  0x00000400 1 (Memory)
	0x06fffc00 0x07000000  0x00000400 4 (NVS)
2007-06-26 20:11:12 +00:00
bouyer
0bee3ccac3 Remove the __asm("lock") again from softintr(), as ci_ipending is local
to the CPU. Thanks to YAMAMOTO Takashi and Andrew Doran for their comments
on this.
2007-06-26 19:41:11 +00:00
christos
30638c77c3 PR/36562: Takeshi Nakayama: sshd(8) HostbasedAuthentication fails after
upgrading to 4.0_BETA
Remove $HOME test since this is also used by sshd.
2007-06-26 18:28:34 +00:00
nonaka
212a81151a Don't setup GP[87:86] to LDD[17:16] at pxa2x0_lcd_initialize().
Because zaurus uses GP[87:86] as SSP2.
2007-06-26 15:38:38 +00:00
cube
954bc13440 Change dk_lookup() to accept an additional argument of the type enum uio_seg
that tells whether the given path is in user space or kernel space, so it
can tell NDINIT().

While the raidframe calls were ok, both ccd(4) and cgd(4) were passing
pointers to user space data, which leads to strange error on i386, as
reported by Jukka Salmi on current-users.

The issue has been there since last august, I'm actually a bit surprised
that no one in the meantime has used ccd(4) or cgd(4) on an arch where it
would have simply faulted.
2007-06-26 15:22:23 +00:00
nonaka
f27c627687 fix typo. 2007-06-26 15:10:32 +00:00
nonaka
ff380a6cd7 s/const const/const/ 2007-06-26 15:08:42 +00:00
nonaka
1413f63080 Add options COMPAT_40. 2007-06-26 13:57:18 +00:00
pooka
a5c38fbcdf g/c bit about MNT_NOATIME being mandatory. it obvious isn't since
the code was #if 0'd out.
2007-06-26 13:20:34 +00:00
tsutsui
aa994dbf76 Use C99 initializers. 2007-06-26 13:20:19 +00:00
apb
f2b53f1d21 Move several variable initialisations to the beginning of
initdefaults().  This should fix a bug reported by Valeriy E. Ushakov
in which we called setmakevar() before instead of after
initialising makeenv.
2007-06-26 12:59:38 +00:00
tsutsui
1a56f97bac Fix swapped SI_QUEUENAMES to match SI_SOFT* numbers. 2007-06-26 12:55:38 +00:00
pooka
f055736150 Simplify code, mainly vop_strategy. No functional change 2007-06-26 12:50:49 +00:00
tsutsui
a6d1baeba9 Add options COMPAT_40. 2007-06-26 12:12:58 +00:00
tsutsui
dd8d8eb3f6 Use C99 initializers. 2007-06-26 12:03:31 +00:00
pooka
4a403dd973 Fix return value comparison inversion. Makes psshfs work for the
nocache case again, as the server error value for EOF is properly
handled again.
2007-06-26 11:04:29 +00:00
xtraeme
c18664aad7 Protect inet6_ident_core() with #ifdef INET6, fixes building without
options INET6.
2007-06-26 09:19:36 +00:00
christos
b7ebeed97d fix the assert (from anon ymous) 2007-06-25 23:58:42 +00:00
christos
438db9abdd mention tcpdrop 2007-06-25 23:40:22 +00:00
christos
2ddadd346c add tcpdrop 2007-06-25 23:38:57 +00:00
christos
5c67bb8390 man bits from anon ymous 2007-06-25 23:36:18 +00:00
christos
0a36551606 tcpdrop kernel bits (from anon ymous) 2007-06-25 23:35:12 +00:00
christos
bfb6cb13d5 Add tcpdrop from {Free,Open}BSD. 2007-06-25 23:34:52 +00:00
bouyer
deb08fe320 We're not ready to handle ATAPI yet so just claim there's no drive to the
upper layer. This should work around a NULL pointer dereference when
an ATAPI device is detected on a AHCI device.
2007-06-25 20:58:07 +00:00
bouyer
1206dd032d Various cleanups in interrupt code, and fix a potential crash in doreti:
if we enter doreti_checkast with only soft interrupt pendings, we would
jump to one of the soft* vector with %esi uninitialized, and the vector
would do a jump *%esi at the end ...
I don't know why nobody ever went into this; I guess in the common case
there's no soft irq pending without a hard irq in this code path ...
2007-06-25 20:09:34 +00:00
bouyer
bf539c16bd Add back a __asm("lock") that got lost in the yamt-idlelwp merge. 2007-06-25 20:02:45 +00:00
bouyer
142ad1ab3e Call p_emul->e_syscall_intern() before sendsig_reset() to match what
i386 does.
2007-06-25 20:01:23 +00:00
bouyer
a7d4fae602 Fix race condition in cpu_idle() on ci_want_resched. From YAMAMOTO Takashi. 2007-06-25 19:57:32 +00:00
jschauma
129a9f6a6e add FTHOI (for the {heck,hell} of it) 2007-06-25 17:25:17 +00:00
rumble
4f748f12bb Note that if vp is NULL in cache_enter, a negative entry is created. 2007-06-25 16:33:50 +00:00
tsutsui
12f2307a5f Add options COMPAT_40. 2007-06-25 13:22:45 +00:00
aymeric
fe3cd5e510 in the FIRMWORKSBUGS case, and if PSL_DR/PSL_IR are set, don't do the
job of saving and restoring registers twice: let ofwreal cope with everything.

This was the last bit needed to get a stock NetBSD/ofppc kernel booting
on the Efika. This will have to be adapted to the ppcoea-renovation branch.
2007-06-25 11:22:13 +00:00
aymeric
7340de8e08 Recognize the Freescale G2 cores: initialize cache line size, and doze mode
While there, fix the way the major version of a PowerPC processor is computed
2007-06-25 11:16:47 +00:00
aymeric
6ebc93ac7f Recognize the Intrepid2 ATA controller. Needed at least for the last PB G4 2007-06-25 11:12:54 +00:00
aymeric
beb9020c42 Recognize the Intrepid2 gem. Needed at least on the last PowerBook G4. 2007-06-25 11:11:00 +00:00
pooka
0f53ecfb54 fold in common code for node creation. no functional change. 2007-06-25 07:52:01 +00:00