Commit Graph

67815 Commits

Author SHA1 Message Date
scw
5d63abe1f1 Fix a braino introduced in r1.37. Thanks to Tom Spindler for spotting it. 2003-11-04 22:20:50 +00:00
aymeric
a60cfa8cd7 . ANSIfy, make compile
. get rid of kbd_intr() and low-level keyboard handling
2003-11-04 19:18:05 +00:00
mycroft
c6589d2082 Ignore a CRCTO error on a SETUP transaction in combination with STALLED or NAK.
This fixes problems with the GL641.
2003-11-04 19:11:21 +00:00
thorpej
73fea8467b Enable i82541 and i82547 chips - it works well enough to get broader
testing.  Update the TODO list.
2003-11-04 19:09:39 +00:00
mycroft
94d9caaae4 Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.
2003-11-04 16:57:57 +00:00
dsl
190473c7b3 Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
(pad fields left in struct proc to avoid kernel bump)
Somehow this file escaped the earlier commit (in spite of being in the cvs diff
I did beforehand!)
2003-11-04 16:19:52 +00:00
scw
7f80949f0d Use the same trick as powerpc to resolve the 24-bit pc-relative
branch limitation.
2003-11-04 14:50:27 +00:00
pk
1fac26c0a5 * Set ksi_code to SI_NOINFO where we used to return zero.
* Fill in ksi_errno if we have an error code to report.
2003-11-04 14:24:25 +00:00
pk
bf835f94c2 Remove !__HAVE_SIGINFO transitional code. 2003-11-04 14:14:28 +00:00
jdolecek
f96eb7635f yield to the strchr() prototype from libkern.h 2003-11-04 14:04:04 +00:00
dsl
2ffbd2ab99 Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS.
Avoid unpredictable branch in i386 locore.S
(pad fields left in struct proc to avoid kernel bump)
2003-11-04 10:33:15 +00:00
itojun
57b5c736df suppress -Wuninitialized 2003-11-04 05:50:54 +00:00
uwe
0af2a03977 Provide wskbd* at j6x0tp? attachment that maps taps on the "HP hard
icons" (along the right edge of the screen) to key presses.
2003-11-04 03:43:12 +00:00
uwe
399158308d Redo a quick hack for intc_intr_disable() and intc_intr_enable() to have
a saner interface/semantic.
2003-11-04 03:13:48 +00:00
simonb
1c7a9a7183 Indentation nit. 2003-11-04 02:19:28 +00:00
simonb
d576cd5c19 Fix tyop in previous - a "$" before a make variable works wonders. 2003-11-04 02:18:49 +00:00
kleink
272041c199 Compact previous a little, making better use of _NETBSD_SOURCE. 2003-11-04 00:00:36 +00:00
kleink
331b96d4cf * define S_IFSOCK as an XSI extension,
* define S_ISLNK() for POSIX-2001, and
* define S_ISSOCK() for POSIX-2001.
The latter addresses standards/22902.
2003-11-03 23:55:02 +00:00
cl
66c8bc7693 Reimplement VP donation such that multiple unblocked upcalls can be
combined.  Also prepare for adding VP repossession later.

- kern_sa.c: sa_yield/sa_switch: detect if there are pending unblocked
  upcalls.
- kern_sa.c: sa_unblock_userret/sa_setwoken: queue LWPs about to invoke
  an unblocked upcall on the sa_wokenq.  put queued LWPs in a state where
  they can be put in the cache.  notify LWP on the VP about pending
  upcalls.
- kern_sa.c: sa_upcall_userret: check sa_wokenq for pending upcalls,
  generate unblocked upcalls with multiple event sas
- kern_sa.c: sa_vp_repossess/sa_vp_donate: g/c, restore original
  sa_vp_repossess
2003-11-03 22:34:51 +00:00
manu
10d03389ac mach_port_get_attributes (incomplete and untested) 2003-11-03 22:17:42 +00:00
manu
90b3ec4640 First attempt at mach_make_memory_entry. Untested 2003-11-03 20:58:18 +00:00
jdolecek
ed1e458331 vaddr_t is not a pointer 2003-11-03 20:32:17 +00:00
petrov
334dcc0296 Do not set HMEDEBUG as default mode. 2003-11-03 20:30:14 +00:00
mycroft
64bd03aa66 Remove acpiec locking from the list. 2003-11-03 20:16:46 +00:00
mycroft
823720b33d Rework slightly so we use acpi_match_hid() in pckbc_acpi_attach() too. 2003-11-03 19:11:41 +00:00
mycroft
3ee522bd34 Match all PNP03?? IDs.
Also match more PNP0F?? IDs (e.g. the one the HP OmniBook reports).  There's
also no need to check IBM3780 any more, as the IBM and Acer machines which
returned it also return a CID of PNP0F13.
2003-11-03 19:04:56 +00:00
mycroft
cec77f23d6 Match all PNP04?? IDs. 2003-11-03 19:03:54 +00:00
mycroft
c992c0b1e9 Match all PNP07?? IDs. 2003-11-03 19:03:40 +00:00
mycroft
8a8efa0ccf Use pmatch() so that we can use patterns. 2003-11-03 18:51:31 +00:00
mycroft
d4f7d52915 Add a SMC ID. 2003-11-03 18:25:56 +00:00
mycroft
4ac0e3e5c6 More cleanup:
* Use ACPI_FAILURE() and ACPI_SUCCESS().
* Output exception strings in a few more places.
2003-11-03 18:07:10 +00:00
mycroft
b910c03a32 Clean up some messages:
* Use AcpiFormatException() in a bunch of places.
* acpi_resource_parse() already prints an error, so don't do it in the callers.
2003-11-03 17:54:39 +00:00
mycroft
01558f7ee2 Clean up some messages:
* Use AcpiFormatException() in a bunch of places.
* acpi_resource_parse() already prints an error, so don't do it in the callers.
2003-11-03 17:24:22 +00:00
mycroft
72ae89b69a Fix locking protocol, and use _GLK appropriately. From kochi, with some
modifications.
2003-11-03 17:23:38 +00:00
thorpej
05225cfc05 Add two new boot flags:
-x Boot with debugging messages (AB_DEBUG)
-z Boot silently (AB_SILENT)
2003-11-03 16:39:07 +00:00
cube
78677ac649 Regen. 2003-11-03 15:58:48 +00:00
cube
bda71e9e81 Add some IDs for the EPIA-M 10000 motherboard. 2003-11-03 15:57:46 +00:00
briggs
07a0e27c44 Revert the change in default value of ipv6_v6only. Further discussion
on this topic is required.  It should be reintroduced and pursued in
the IETF.
2003-11-03 15:12:06 +00:00
briggs
953bcec0ab ifmedia_set() should not panic, nor can it really fail. So if there is
some problem setting the media to the requested value (usually IFM_AUTO),
we now force the media selection to IFM_NONE.
This addresses PR/14029 ``panic("ifmedia_set") a little too brutal''
and may address to some degree PR/19504 and PR/23341.
2003-11-03 14:43:32 +00:00
kochi
84795bd3fd * now the size of ACPI_DEVICE_INFO is variable:
it can now accomodate multiple _CIDs
  sizeof(ACPI_DEVICE_INFO) should not be used
* make ad_devinfo member in acpi_devnode a pointer
* implement acpi_match_hid() to simplify matching devices;
  _CIDs are also taken into account now as well as _HID
2003-11-03 06:03:47 +00:00
mycroft
21978e6e0a Add another item, and some comments on particular machines affected. 2003-11-03 05:41:06 +00:00
yamt
933834a7ae revert rev.1.70 as it was not needed.
uvm_map_lookup_entry() should handle addresses out of the map.
2003-11-03 04:39:11 +00:00
yamt
efe5d5c154 make lint happy. 2003-11-03 04:20:28 +00:00
yamt
c8d12c1c35 retire PG_ZERO zero-fill checks. uvm_pagefree now check it for us. 2003-11-03 04:02:13 +00:00
yamt
70538d0c22 add a DEBUG check if freed PG_ZERO pages are really zero-filled. 2003-11-03 03:58:28 +00:00
ichiro
8b115395c7 Fix uninitialized variable warnings 2003-11-03 03:05:25 +00:00
he
20a53a5841 Fix uninitialized error in pcib_print(). 2003-11-02 22:03:42 +00:00
scw
b9d5da7eda The expansion bus is mapped via ixpsip now. 2003-11-02 21:27:51 +00:00
scw
e9cd075343 It makes more sense to map the expansion bus registers in ixpsip
instead of the pci bridge driver.
2003-11-02 21:24:39 +00:00
scw
21f388f6e0 Add generic read/write region 1 ops. 2003-11-02 21:20:32 +00:00