Commit Graph

100249 Commits

Author SHA1 Message Date
chris
e37cad3dd2 Add comment to MAKEDEV about audio* devices.
Also update the MAKEDEV manpage (as reminded by wiz)
2002-07-30 20:50:10 +00:00
bouyer
27198fbcab Regen: Add Intel 845G PCI IDs 2002-07-30 20:43:57 +00:00
bouyer
551aeaf8b3 Add Intel 845G PCI IDs, from kern/17743 by Andreas Wrede <andreas@planix.com> 2002-07-30 20:43:12 +00:00
nathanw
3fe600dd5c Experimentation reveals that the implementation of GET_ENV on at least
some systems chokes if the buffer is not 8-byte aligned. GCC only aligns
character arrays to 4-byte boundaries by default, so it's possible to get
unlucky and die in the boot blocks with a "kernel stack not valid halt".

Avoid the problem by using a local, aligned buffer as the argument to GET_ENV,
and copying the result into the caller's buffer.

Should fix PRs port-alpha/17682 and port-alpha/17717.
CVS ----------------------------------------------------------------------
2002-07-30 20:36:42 +00:00
chris
5c83dc74b0 Update MAKEDEV to create pci0 and pci1 with the all target.
Also add a new audio target that generate audio0-3 and audio symlinks, matches the i386 /dev/audio devs.
2002-07-30 19:41:08 +00:00
wiz
93aef72209 Sort sections, Sh -> Ss in one place. 2002-07-30 17:06:58 +00:00
itojun
4f0c9c76b6 sync up with latest openbsd systrace.
- avoid race conditions by having seqno in ioctl
- better uid/gid tracking
- "replace" policy to replace args
- less diffs, as many of local changes were fed back to openbsd already

due to the 1st item, it was impossible for us to provide backward-compatibility
(new kernel + old bin/systrace won't work).  upgrade both.
2002-07-30 16:29:28 +00:00
thorpej
d3aa5664b7 Move the uvm_setpagesize() call to platform-dependent code in preparation
for other changes to pmap_bootstrap().
2002-07-30 16:16:38 +00:00
thorpej
3dcad9ac9e Don't use pmap_kenter_pa() in pmap_map(); doing so causes an assertion
failure in pmap_kenter_pa().
2002-07-30 16:07:23 +00:00
augustss
0e796224d0 Remove warning about PCI bus configuration being broken since it
works now.
2002-07-30 15:01:15 +00:00
augustss
2dce9e8e5e Number PCI busses using a simple pre-order numbering instead of
some strange binary split numbering that doesn't work with multiple
bridges on the same bus, nor with deeply nested bridges.
2002-07-30 15:00:03 +00:00
darrenr
5d8479d5bd patch from openbsd to fix bounds checking, eliminating an overflow condition. 2002-07-30 14:57:31 +00:00
itojun
2994867f8f remove debugging message leftover 2002-07-30 14:37:38 +00:00
christos
d64bbf607d Fix async map handling. Many thanks to Joerg Wunsch for the explanation. 2002-07-30 13:16:35 +00:00
itojun
e9316c8858 apply patch supplied with OpenSSL Security Advisory [30 July 2002]
advisory 1: four potentially remotely-exploitable vulnerability in
SSL2/SSL3 code
advisory 2: ASN1 parser vulnerability (all SSL/TLS apps affected)
2002-07-30 12:55:08 +00:00
itojun
c68c6aa7e0 die if integer overflow. from openbsd 2002-07-30 09:45:02 +00:00
lukem
f91d5a2f45 add wdogctl 2002-07-30 09:11:27 +00:00
wiz
b1c4a6f299 regen (+sysmon) 2002-07-30 08:39:14 +00:00
wiz
94732e83a5 Add /etc/rc.d/wdogctl. 2002-07-30 08:37:41 +00:00
soren
178d83d503 Die, qaddr_t, die! - mnt_data in struct mount is already effectively
a void *, so stop pretending otherwise.
2002-07-30 07:40:07 +00:00
soren
099793e880 Updates from OpenBSD:
date: 2002/06/11 18:59:22;  author: provos;  state: Exp;  lines: +48 -42
SPLAY_{INSERT,REMOVE} have return values now that can be used for error
checking
date: 2002/06/11 22:09:52;  author: provos;  state: Exp;  lines: +6 -5
have rb_remove return the right value, too.
2002-07-30 06:12:13 +00:00
matt
7c4618a9ce cpu_info is not in spr0, but spr_g_0. 2002-07-30 06:10:46 +00:00
soren
8f6326d364 A local copy of <sys/tree.h> is unnecessary. 2002-07-30 06:09:56 +00:00
matt
3e158de7c1 Don't define register references if not KERNEL or STANDALONE. 2002-07-30 06:09:10 +00:00
matt
1cddd41e0c Convert to use register prefixes. (0 -> %r0, etc.) 2002-07-30 06:07:56 +00:00
thorpej
afbf483286 Add a wdogctl startup/shutdown script. 2002-07-30 05:58:42 +00:00
thorpej
5fed6739d9 Use more descriptive interrupt names. 2002-07-30 04:45:41 +00:00
junyoung
158fd900d1 Consistent use of 'v'. 2002-07-30 04:10:36 +00:00
lukem
e1f944b902 sun2 doesn't have x server or clients at this time 2002-07-30 03:32:47 +00:00
thorpej
4c9de392fd Bring down a fix from the "newlock" branch, slightly modified:
* In pool_prime_page(), assert that the object being placed onto the
  free list meets the alignment constraints (that "ioff" within the
  object is aligned to "align").
* In pool_init(), round up the object size to the alignment value (or
  ALIGN(1), if no special alignment is needed) so that the above invariant
  holds true.
2002-07-30 01:41:00 +00:00
itojun
27174b9ec9 fix null pointer deref. from ho@openbsd 2002-07-29 22:54:38 +00:00
thorpej
3a9f076a1f Note support for the i80321 watchdog timer. 2002-07-29 22:05:37 +00:00
thorpej
d8eb148780 Clean up some comments. 2002-07-29 22:00:00 +00:00
matt
b79865a0af To make things clearer, use register prefixes in asm() code. 2002-07-29 21:54:35 +00:00
wiz
92b80e91d7 Format the path to a file with .Pa. 2002-07-29 21:08:30 +00:00
thorpej
1384fef106 Note that not all watchdog timers can be disarmed once armed, and that
when such a case is encountered, an error message will be displayed and
the timer will remain armed if an attempt to disarm it is made.
2002-07-29 21:00:15 +00:00
augustss
056f94ceb3 Regen. 2002-07-29 20:08:50 +00:00
augustss
ef76dd6ed4 Add a couple of bridge devices. 2002-07-29 20:08:25 +00:00
thorpej
26f7a64dc3 Add iopwdog (i80321 built-in watchdog timer), fxp, and inphy. 2002-07-29 18:42:27 +00:00
thorpej
2bbd3be11a Add support for the i80321 watchdog timer. 2002-07-29 18:40:04 +00:00
thorpej
3ab4598cc0 Add sysmon at cdev 101. 2002-07-29 18:26:58 +00:00
thorpej
2367c7fff8 Add support for attaching IOP built-in sub-devices (aau, dma, ssp,
watchdog, etc.)
2002-07-29 17:37:14 +00:00
thorpej
c92ad565ad * Remove some AAU definitions -- they will be defined elsewhere in
a future commit.
* Fix a typo in the watchdog enable names.
* Add SSP (synchronous serial port, for SPI, Microwire, etc.) definitions.
2002-07-29 17:28:06 +00:00
atatat
6675196afb Make tun interfaces perform auto-creation. This means that if a
program opens /dev/tun# and tun# has not been SIOCIFCREATE'd already,
it will be SIOCIFCREATE'd automatically.  FreeBSD's tun interfaces
behave in a somewhat similar fashion.
2002-07-29 16:53:30 +00:00
simonb
c38f2b0214 Remove some debug code accidently left in. 2002-07-29 16:25:02 +00:00
simonb
10a72d78d1 Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU.  Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
2002-07-29 16:22:55 +00:00
simonb
3f8c0bc7c5 Move the soft interrupts IPL masks from port-specific code to
board-specific code.
Change a u_long to a uint32_t in the timer calibration routines.
2002-07-29 16:21:03 +00:00
simonb
c61cf25192 Remove prototype for non-existant softintr_dispatch().
Add/modify a few comments.
2002-07-29 16:14:05 +00:00
lukem
491925ee64 update mac68k xserver size 2002-07-29 16:12:26 +00:00
simonb
c42f11dc45 Don't install <machine/{intr.h,isa_machdep.h,pci_machdep.h,rnd.h}>, and
add these to the obsolete list.
2002-07-29 15:55:43 +00:00