Commit Graph

94140 Commits

Author SHA1 Message Date
kristerw 93318b47b3 Check result of malloc and strdup
Made some functions static
Removed unneccessary buffer
Increased size of some buffers that could overflow
2002-03-16 22:36:42 +00:00
he be17728da0 Also correct the attach flags to enable IO space on the Intel 450NX.
OK'ed by fvdl.
2002-03-16 22:17:27 +00:00
jmcneill 94e84af5fb Backout addition of the VIA VT8233. 2002-03-16 21:45:49 +00:00
christos 640a59b952 catch-up with stackgap change. 2002-03-16 20:45:43 +00:00
christos 381e6a7764 make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.
2002-03-16 20:43:48 +00:00
reinoud 089222c4d1 Add a new regression test for ARM 6 and ARM7 machines to check if
unhandled instruction patterns in the early or late abort handler
terminate the program with a SEGV instead of the panic it used to
give.

Since this test is quite volatile if failing its not run automatically.
2002-03-16 20:37:49 +00:00
bjh21 a12e90b08f Only put the CPU type into cpu_model, not the state of the control register.
Instead, print the control register state on the next line at startup.
2002-03-16 18:47:51 +00:00
chs 9a418970cf decode the sub-system IDs on adaptec cards so we can differentiate between
multi-port cards (which need the shared-rom/intr stuff) and single-port cards
(which must not have it).  previously we enabled sharing for all adaptec cards,
which caused problems if you had multiple single-port cards on the same PCI bus.
2002-03-16 18:44:17 +00:00
bjh21 dccc5d2c67 Get rid of the #ifdef DEBUG_FAULT_CORRECTION #ifdef mess, and use a
couple of conditionally-defined macros instead.  This makes the
fault-correction code almost readable.
2002-03-16 18:26:00 +00:00
bjh21 da4eca13c2 Kill some unnecessary settings of arm_dcache_align_mask. 2002-03-16 18:11:11 +00:00
bjh21 2d05b7a7b6 For those CPUs which don't have a cache-type register, keep the details
of the cache in a static table.  Note that the table isn't complete --
contributions of cache details for CPUs whose data sheets I haven't got are
welcome.
2002-03-16 18:02:19 +00:00
martin 1351389550 Move man pages of renamed devices and adapt them to their new name. 2002-03-16 17:57:34 +00:00
chs 9846849435 in the TULIP_ROM_MB_21142_MII case of tlp_2114x_isv_tmsw_init(),
use "cp" instead of "ncp" as a temporary pointer into the SROM.
we still need the value of ncp here, it points to the next media block.
(update the copy of this code in tlp_21142_reset() just 'cause.)
this makes the BNC port on the Adaptec ANA-6911A work.
2002-03-16 17:38:35 +00:00
martin 2f5bc7e4b4 ISDN devices renamed, sort, add missing third column for nqmgr. 2002-03-16 17:31:23 +00:00
tsutsui fd7bd6f395 Handle a.out -> ELF library upgrade in md_update().
XXX No French message for emulbackup?
2002-03-16 17:26:55 +00:00
bouyer 0b16dfbbae Present the same interface to periph driver for ASYNC scsipi_command() in the
normal case, and in the polling or "no thread yet" cases:
don't return an error from scsipi_complete(), as the error should already have
been handled in scsipi_complete() and eventually periph driver callbacks.
Should fix kern/15190.
2002-03-16 17:21:19 +00:00
jmcneill 5f17e8f802 Add support for the VT8233 AC'97. 2002-03-16 17:20:05 +00:00
martin 093f5dbc55 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 17:03:28 +00:00
ad 087ddca279 Move `stic*' before `st*' to avoid a false match. 2002-03-16 16:56:44 +00:00
martin 94881fb123 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 16:55:51 +00:00
tsutsui 11f2ca401d Use sony8x16 fonts instead of gallant12x22. 2002-03-16 16:50:34 +00:00
tsutsui ffe9018d26 Remove st1 and unnecessary wscons devices from floppy. 2002-03-16 16:42:46 +00:00
tsutsui ce457aa10e Fix a couple of typo:
- s/ehci/uhci/ (in unused arg of macro)
- s/ohci/uhci/ (in panic message)
2002-03-16 16:13:41 +00:00
tsutsui e01954f52a Fix a couple of typo:
- s/ehci/ohci/ (in unused arg of macro)
- s/uhci/ohci/ (in debug message)
2002-03-16 16:11:18 +00:00
ichiro 66ae17a426 add device TDK USB-PDC Adapter UPA9664 2002-03-16 16:10:19 +00:00
tsutsui fbe3c6dd52 Make also sd2 and sd3 devices for install floppy. 2002-03-16 16:05:22 +00:00
tsutsui ba21baeee2 - Use new common ramdisk build method.
- Add sysinst, and remove some binaries from list (for now).
2002-03-16 15:54:08 +00:00
tsutsui 010ec39dbb First cut at sysinst for newsmips. Mostly copied from news68k. 2002-03-16 15:47:56 +00:00
mrg f87760870d tell newer binutils that our use of %g2 and %g3 is OK here. 2002-03-16 15:15:33 +00:00
pooka 28a03499e8 Replace unused padding in struct linux_stat64 by lst_ino64 as found in
linux's m68k struct stat64.

makes linux compat compile again
2002-03-16 14:49:29 +00:00
bjh21 57eb77d59f Add CPU ID for the ARM1022ES.
Also add a CPU class for ARM10E processors in general.
2002-03-16 14:41:15 +00:00
jmcneill 9bcb29f652 Add multiple voice support to the ESS Allegro-1 / Maestro-3 family of
audio accelerators.

Mixing is done in hardware by the ASSP, but is limited to 4 simultaneous
channels due to the restricted "minisrc" image that we are currently
working with.

Due to limitations in the audio subsystem, I'm currently attaching multiple
'audio' devices to 'esa', one for each voice. Because of this hack, the
default ESA_NUM_VOICES is 1.
2002-03-16 14:34:00 +00:00
mrg f259d9d73e this file is no longer used. 2002-03-16 14:03:00 +00:00
mrg 0eed6807d4 convert to using <dev/ebus/ebusvar.h> and it's struct member names. 2002-03-16 14:00:00 +00:00
manu 431e4d2b95 Added enough of swaptcl() command emulation to get swap -l working. This
is needed by acad (it exec's swap -l to check if swap is enabled)
2002-03-16 13:29:42 +00:00
ad 3f357e222f Sync with reality. 2002-03-16 12:10:18 +00:00
tron a5bec38356 Remove "-c" from "${INSTALL_FILE}" to avoid leaving ".tmp" files arround. 2002-03-16 10:19:58 +00:00
tsutsui 9948034261 Use distrib/utils/x_ed, and remove -lcrypt from libs. 2002-03-16 09:35:55 +00:00
isaki 81b3e9fb81 Fix mis-increment bug in converter msm6258_ulinear8_to_adpcm().
This fix needs factor_denom.
2002-03-16 09:00:42 +00:00
isaki ae997346b5 Add factor_denom, a denominator of factor,
in 'struct audio_param' for vs0 on x68k.

{hw,user}_bytes_per_sample is changed to {hw,user}_bits_per_sample
to handle 4bit/sampling.
2002-03-16 08:58:49 +00:00
tsutsui b322db6bea s/macppc/news68k/ in comments. (Oops) 2002-03-16 08:51:07 +00:00
tsutsui 1cdefcf3a6 Fix toggle_getit() args for md_set_no_x().
XXX It seems this should be handled without magic numbers..
2002-03-16 08:42:52 +00:00
tsutsui 72fc77e730 Fix typo in toggle_getit() arg. 2002-03-16 08:40:12 +00:00
tsutsui fd0eb9f1bd - Use common sysinst/bsddisklabel.c for md_make_bsd_partitions()
- Prepare md_cleanup_install() (XXX not tested)
2002-03-16 08:25:00 +00:00
tsutsui 79d84eddd3 Switch to the new common ramdisk build infrastructure. 2002-03-16 07:27:09 +00:00
toshii a74f33173a Discard hpcarm copies of fusu.S and mem.c and use arm/arm32 versions. 2002-03-16 06:52:16 +00:00
gmcgarry c8e4daf662 Move exec_hp300() out of uboot.c into its own file so that it can
be used by SYS_INST.  SYS_INST can now boot ELF kernels inside the
miniroot.
2002-03-16 06:20:07 +00:00
chs 9fe7f9402f only comments may follow #endif on a line. 2002-03-16 05:27:53 +00:00
reinoud 5fd6dd1b2b Clean up cpufunc.c so you can really use it for debugging ... the
dependency on DEBUG_PMAP was useless anyway since the PMAP_DEBUG was
printing soooo much garbage cpufunc's debugging stuff was lost anyway.
2002-03-16 03:38:28 +00:00
lukem c7ab75bebc need to pass DISTRIBREV and DISTRIBVER to parselist as well 2002-03-16 01:32:21 +00:00