5340 Commits

Author SHA1 Message Date
yamt
175fe41cad stack frames can be overwrapped for eg. softintr. 2002-06-26 08:18:01 +00:00
drochner
a548b203d4 use PCI_ID_CODE instead of a local macro (cosmetics) 2002-06-25 21:18:32 +00:00
lukem
214a01678d - replace all "scsibus* at XXXX" with a single "scsibus* at scsi?"
- replace all "atapibus* at XXXX" with a single "atapibus* at atapi?"
- replace all "audio* at XXXX" with a single "audio* at audiobus?"
- replace all "midi* at XXXX" (except "midi* at pcppi?") with a single
  "midi* at midibus?"
2002-06-25 03:12:04 +00:00
lukem
e3b23eaafd Switch from pccons to wscons, so that USB keyboards have a chance of
working.  From Grant Beattie <grant@netbsd.org>, with changes by me.
2002-06-24 16:14:13 +00:00
itojun
9f911945d5 handle IDT-less case just as linux does 2002-06-24 10:10:17 +00:00
itojun
fe3778040b tabify 2002-06-24 10:10:16 +00:00
itojun
241389f5d8 make it at least compile/link - copy change to i386/locore.s (1.255 -> 1.256)
not sure if it is correct
2002-06-24 10:05:54 +00:00
thorpej
f89b062ae7 During native signal delivery (and iBCS2, since it uses the native
sigcode), arrange to have the signal handler invoked directly, using
the trampoline only for the return path, saving a call insn.  Play
some other stack trickery in the trampoline to turn 2 pushl's into
one movl.
2002-06-23 22:18:49 +00:00
fvdl
73f40b9030 Add bge@pci attachment. 2002-06-22 23:13:37 +00:00
gmcgarry
02ca40e27f Make this compile with NETIF_DEBUG. 2002-06-21 23:18:45 +00:00
ross
f46b777e48 ca* at cac? ==> ld* at cac? 2002-06-21 22:57:55 +00:00
thorpej
3d7cdd4ec5 Add support for auxillary busses on the Intel 82452 PCI-Host
bridge.  PR 17353, from MOCHIDA Shuji.
2002-06-21 16:03:33 +00:00
christos
0b3fc0988b Regen. 2002-06-18 17:22:10 +00:00
christos
88612aefe1 ${CC} 2002-06-18 17:21:53 +00:00
christos
48b4953ba1 simplify: use hexdump to produce the output in the desired form instead
of massaging it with sed.
2002-06-18 17:21:33 +00:00
drochner
8d0aee4e8d make it compile with ACPI_DEBUG
(removing the half-done debugging support, sorry)
2002-06-18 10:32:02 +00:00
tron
cee165577f Fix typo which caused a build failure for kernels with diagnostic checks. 2002-06-18 09:56:33 +00:00
tshiozak
2d5fc6d0a9 add MD support for ACPI sleep/wakeup. 2002-06-18 07:56:12 +00:00
tshiozak
0c0fe6076b use AcpiHwRegister{Read,Write} functions instead of (obsoleted)
AcpiHwBitRegister{Read,Write}.
2002-06-18 07:53:05 +00:00
tshiozak
c6d5efc480 auto-generated code from acpi_wakecode.S.
standard update process of this file :
  1. fix acpi_wakecode.S .
  2. commit acpi_wakecode.S .
  3. make -f Makefile.wakecode
  4. commit acpi_wakecode.h .
2002-06-18 07:41:15 +00:00
tshiozak
4ba1b15b75 add a code to embed RCS tag of acpi_wakecode.S in acpi_wakecode.h . 2002-06-18 07:37:37 +00:00
tshiozak
834397e5a9 ACPI wake-up code for i386. but, we have no interface to use it efficiently. 2002-06-18 07:25:12 +00:00
itojun
7eba810efa s/options\t\t/options \t/ 2002-06-18 03:06:58 +00:00
christos
1fb8545c60 Copyright and comment clarification from Masanori-san. 2002-06-18 02:42:16 +00:00
christos
d0497fdbca glue for MD acpi devices. 2002-06-17 22:38:31 +00:00
christos
5d3a22f6d5 Move MI drivers here. Approved by thorpej 2002-06-17 22:38:03 +00:00
fvdl
42d8b412ee Add XMM trap type. 2002-06-17 21:38:20 +00:00
christos
3b50728cf4 MD systrace gluons. 2002-06-17 16:32:57 +00:00
lukem
fde6ae6f04 Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
thorpej
17848b05a8 Update for acpica-unix-20020612. From Takayoshi Kochi. 2002-06-15 18:01:05 +00:00
itohy
ece09443af s/XHOLE_VEC/XHOLD_VEC/ 2002-06-10 14:52:21 +00:00
tron
98568ec314 Add missing calls to bus_space_unmap(9) when the hardware RNG is not
detected, cannot be activated or doesn't work.
2002-06-09 15:02:25 +00:00
gmcgarry
94b4a243e6 Support Athlon performance counters. 2002-06-07 04:04:47 +00:00
gmcgarry
3acf6ed1d8 Add Athlon performance counters. 2002-06-07 04:03:49 +00:00
gmcgarry
72fe1c3076 Add i586 performance counters. 2002-06-07 01:30:19 +00:00
gmcgarry
4db43b2db0 Include PERFCTRS to match MTRR option. Now pmc(1) does something useful. 2002-06-06 21:16:47 +00:00
thorpej
d941ddfee0 Don't use -traditional-cpp if HAVE_GCC3. 2002-06-04 21:39:09 +00:00
drochner
d2b9876081 move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
lukem
06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
itojun
937b671271 use exit(int), not exit(void), consistently - even if the arg has no meaning. 2002-06-01 11:40:31 +00:00
thorpej
28afbb384c Build with -ffreestanding. 2002-05-31 18:26:26 +00:00
thorpej
6ef955a02d Make this work with an ISO C preprocessor. 2002-05-31 18:22:54 +00:00
thorpej
3a00c62229 Move the IDTVEC() macro to <machine/asm.h>, and make it work with
an ISO C preprocessor.
2002-05-31 18:07:31 +00:00
thorpej
a5baff6d08 Add an __unused__ attribute to n_support and n_lower, since they are
unused if a kernel supports all CPU families.
2002-05-31 17:46:51 +00:00
tron
0f15ab8163 Remove senceless benchmark loop for i8xx hardware random generator
attach code. The throughput was neither calculated nor displayed.
2002-05-28 17:25:43 +00:00
tron
94d3fd0f89 Add hardware random generator support for Intel i845, i850 and i860
chipsets.
2002-05-28 17:23:07 +00:00
jmcneill
2f2e418115 Add explanation for PMS_DISABLE_POWERHOOKS, as requested by hubertf. 2002-05-25 17:05:33 +00:00
jmcneill
f70f5218cf Add a 'tlp at pci' attachment to the laptop installation kernel. GENERIC_LAPTOP
already has this, and some machines (notably, mine :) ) have onboard tlp and
won't boot with INSTALL or GENERIC.
2002-05-18 23:49:40 +00:00
thorpej
204183c0fa * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses.  For busses behind a bridge, it points to
  a persistent copy of the bridge's pcitag_t.  This can be very useful
  for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
  uses OFW device nodes to enumerate the bus.  When a PCI bus that is
  behind a bridge is attached, pci_attach_hook() allocates a new PCI
  chipset tag for the new bus and sets it's "curnode" to the OFW node
  of the bridge.  This is used as a starting point when enumerating
  that bus.  Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
thorpej
dada8613e1 Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
2002-05-15 19:23:51 +00:00