Commit Graph

55398 Commits

Author SHA1 Message Date
wiz
440337fdce Remove (commented out) pms cdev_decl. 2002-04-19 02:12:00 +00:00
wiz
8aedc259f8 Don't cdev_decl(pms). 2002-04-19 02:10:17 +00:00
wiz
b430d917cf Complete renaming of opms to opms (was mostly pms internally).
Mechanical change, tested by cross-compiling GENERIC from i386.

Approved by christos.
2002-04-19 01:43:48 +00:00
simonb
f09098b78b Add a newline to a debug printf. 2002-04-19 01:14:17 +00:00
wiz
d79f4782b6 Complete renaming of opms to opms (was partly named pms, externally and
internally).  Move arm/iomd/pms* to arm/iomd/opms*. Mechanical change,
tested by cross-compiling a kernel from i386.

Approved by christos.

XXX: What are arm/arm32/conf.c and arm/include/conf.h good for?
2002-04-19 01:04:38 +00:00
gehenna
7fdc59f9fc Regen 2002-04-19 00:55:31 +00:00
matt
79b1afa490 Change test for M_EXT to M_READONLY for MROUTING. We only need to to do
a pullup if we aren't allowed to modify the packet.
2002-04-18 22:33:21 +00:00
thorpej
46a2773ba8 * Fix the CS_IS_ENABLED() logic so that it actually evaluates to
"true" at the appropriate times for non-PCMCIA interfaces.  This
  means that the ENETRESET path in cs_ioctl() now runs, thus fixing
  multicast (and IPv6) on my Shark.  Yay.

* Simplify cs_hash_index(): Rather than taking the bottom 6 bits of
  a big-endian CRC32 and reversing them, just take the top 6 bits of
  a little-endian CRC32.
2002-04-18 21:58:02 +00:00
kleink
99d4b7c71f Unused; already implemented in libkern. 2002-04-18 21:42:36 +00:00
thorpej
036066e625 Define the Symbios Logic and Tekram NVRAM contents. 2002-04-18 21:08:43 +00:00
thorpej
c685b2c67a Regen: Added Symbios 53c875A product ID. 2002-04-18 20:36:30 +00:00
thorpej
cdd30a00ba Add Symbios 53c875A product ID. 2002-04-18 20:35:39 +00:00
leo
1913310c9e Handle uninitialize warning. 2002-04-18 20:12:01 +00:00
matt
66c475ca19 Use a common genassym.cf for all the PPC_MPC6XX ports. Add a makeoptions to
std.foo to indicate the directory to get genassym.cf from.  Add an intrframe
to <powerpc/frame.h> and make trap_subr.S use symbolic offsets into it.
2002-04-18 20:08:05 +00:00
kleink
de339ffb8a Alpha-sort/cosmetics. 2002-04-18 19:48:41 +00:00
tshiozak
eb4e540b0e add PCI/USB vendor ID for Kurusugawa Electronics, Inc.
PCI-ID: 0x6809, USB-ID: 0x0b7e.
2002-04-18 17:40:56 +00:00
eeh
c54358008e Remove unused file. 2002-04-18 17:24:09 +00:00
eeh
4acff51bdc Cleanup a bit and get rid of unnecessary cache flushes. 2002-04-18 17:19:12 +00:00
eeh
55bcc7df8b Don't include cpuvar.h. 2002-04-18 16:37:26 +00:00
eeh
bb8f4cc510 Calculate NBPG from PGSHFT. 2002-04-18 16:31:47 +00:00
wiz
95bc0b09e2 Remove opms(4) for bebox (superseded by pms(4)).
Approved by christos.
2002-04-18 15:44:20 +00:00
bouyer
ca16b3dee1 Add libsa's files.c to list of sources, so that files[] exists. 2002-04-18 15:39:02 +00:00
martin
379eadc41a Duh, 0 bits enable interrupts in the IPAC!
So to disable them all better use 0xff instead of 0x00 as mask. Noted
by Matthias Drochner.

Move some initialization unrelated to interrupts back to its place at
attach time.
2002-04-18 15:32:30 +00:00
tsutsui
e5c1c88d93 Add version strings by newvers_stand.sh to secondary boot. 2002-04-18 14:54:38 +00:00
briggs
29e436c9e8 Enable new option SIOP_SYMLED 2002-04-18 14:32:57 +00:00
ad
49afc8d8b9 This file no longer used. 2002-04-18 13:41:35 +00:00
wiz
13ad4ddfa4 Remove duplicate lines. 2002-04-18 13:27:00 +00:00
wiz
dedd141239 Split opms@arm32 in opms@acorn32 and opms@shark. 2002-04-18 13:21:06 +00:00
wiz
5b79e27a96 This port never even had opms -- remove line referencing it. 2002-04-18 13:18:29 +00:00
wiz
5bcf16a588 -opms(i386) 2002-04-18 13:10:06 +00:00
wiz
c6dc851f64 Remove opms(4) and its device, /dev/pms0, from the i386 port, because
it has been obsoleted by pms(4).

Reviewed by fvdl and christos.
2002-04-18 12:54:09 +00:00
kleink
eb225418ed Don't do random replacement in isitrap601; just like isitrap. 2002-04-18 12:33:26 +00:00
martin
ff434a1201 Handle unexpected interrupts better. 2002-04-18 12:19:05 +00:00
bouyer
618e11b77d Add (commented out) options SIOP_SYMLED 2002-04-18 12:06:11 +00:00
bouyer
1d7af0f55e defflag SIOP_SYMLED. 2002-04-18 12:04:05 +00:00
bouyer
52cdca5f88 If SIOP_SYMLED is defined, drive the activity LED though GPIO pin 1. 2002-04-18 12:03:15 +00:00
bouyer
7341a66098 Regen: add hooks to drive LED via GPIO. 2002-04-18 11:59:41 +00:00
bouyer
172d73c2d5 Add hooks to drive the activity led via the GPIO pin 1, as required by some
tekram and symbios adapters.
2002-04-18 11:56:11 +00:00
thorpej
0f3cb4bcae Add a standalone routine for fetching the memory size from the
core module on an ARM Integrator board.
2002-04-18 05:30:45 +00:00
onoe
86920876dd (force commit: no changes in the code)
WI_RID_SCAN_APS in previous commit works for Intel Pro/Wirelss 2011
with firmware 2.51.1.
It seems that the firmware automatically updated after the card runs on
Windows 2000 with 2011_2011B_CD_3.0 in Intel web site.
2002-04-18 05:24:28 +00:00
augustss
2f34976283 Regen. 2002-04-18 03:49:17 +00:00
augustss
544654cbc3 nother device. 2002-04-18 03:48:53 +00:00
gmcgarry
36adeea7c2 Don't frob MCR_IEN bit if on a 425e. Problem initially reported
by Christoph Badura:

It looks to me like the 425e uses reverse polarity of the MCR_IEN bit with
respect to the other 4xx models.  That could be because it doesn't have
an inverter wired behind the IEN(OUT2) output of the UART.

Fix is inspired by change in OpenBSD.  Serial console input is
confirmed working on 425e by Thilo Manske.
2002-04-17 23:31:24 +00:00
hubertf
0ee29be147 add appropriate description 2002-04-17 23:23:49 +00:00
bouyer
6b14001ff6 Really use a JUMP for NOP, not a block move. 2002-04-17 21:39:14 +00:00
gmcgarry
b3dae2b4b6 Regen: "digital audio" 2002-04-17 20:51:11 +00:00
gmcgarry
c4ab5a6201 typo in previous 2002-04-17 20:50:45 +00:00
gmcgarry
5123c61682 device id 0x13 is "digital audio" as reported by Thilo Manske. 2002-04-17 20:49:06 +00:00
gmcgarry
e25ab469b9 Attach apci console as an intio device, not a dio device.
Fixes console attach on 425e noted by Thilo Manske.
2002-04-17 20:40:30 +00:00
thorpej
a7a582e392 * Call board_init() rather than mem_init() (board_init() will take
care of that for us).
* Call board_fini() right before jumping to the kernel entry point.
2002-04-17 17:38:58 +00:00
thorpej
a400421fe8 Add board_init() and board_fini() routines for IQ80310 and IQ80321
eval boards.
2002-04-17 17:37:52 +00:00
martin
32b8af4ca2 Be carefull not to cause interrupts while /dev/isdn is not open.
Make the LEDs work.
2002-04-17 17:35:29 +00:00
martin
c8b77487a2 When clearing interrupts, clear IPAC interrupts for cards that have
one.
2002-04-17 17:34:48 +00:00
drochner
14a494bc05 return ENXIO if a driver cannot be found 2002-04-17 15:23:47 +00:00
rafal
7a25d8c7ba Add event counter for zs interrupts and attach and use it; also, get the
zs major number out of the cdevsw table rather than hardcoding it in zs.c.
2002-04-17 13:49:54 +00:00
mycroft
f61e8b1c43 Per PR 13668, add tlp at pci. 2002-04-17 11:52:47 +00:00
wiz
2228f81f19 Fix two typos in comments. kern/16386 by Sean Davis. 2002-04-17 09:16:27 +00:00
wiz
b9abd324c6 Fix typo in comment. kern/16382 by Sean Davis. 2002-04-17 09:14:21 +00:00
mycroft
8de6aa0fbc This file is redundant now. 2002-04-17 02:27:14 +00:00
mycroft
a03e2b5e1e Remove TLP_MATCH_* options. 2002-04-17 02:26:48 +00:00
mycroft
558b4fb278 Switch from de to tlp by default. 2002-04-17 02:22:41 +00:00
mycroft
88e968078c Remove TLP_MATCH_* options. 2002-04-17 02:19:13 +00:00
mycroft
332493e8b7 These machines are gone. 2002-04-17 02:04:26 +00:00
heinz
cc1422920f Change name of console fonts kf_8x8.c and kf_8x11.c 2002-04-17 00:59:07 +00:00
heinz
89a0c77ff9 Add East European (iso8859-2) console fonts 2002-04-17 00:52:13 +00:00
heinz
77a6abbbed Renamed kf_8x8.c and kf_8x11.c to kf_iso8859_1_8x8.c and kf_iso8859_1_8x11.c 2002-04-17 00:51:05 +00:00
thorpej
e1f3e69604 * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-17 00:35:04 +00:00
thorpej
37dc008ca3 Cleanup how file system configuration information is declared, grouping
related information together, with the file system code itself.

This is just low-hanging fruit -- more to come.
2002-04-16 23:14:05 +00:00
eeh
8c0f10ff03 Add icache_flus_page() to go with dcache_flush_page(). 2002-04-16 23:13:13 +00:00
eeh
690711542d We want pages modulo 16K not modulo 32K. 2002-04-16 23:11:20 +00:00
eeh
cd1c5cd9c5 Make lots of routines profile-friendly and get rid of some cruft. 2002-04-16 23:09:37 +00:00
bjh21
12282dd258 Regen. Remove pppoe from FALCON kernels. 2002-04-16 22:44:26 +00:00
bjh21
0884ac3b9e Don't include pppoe in FALCON kernels, since they don't include any Ethernet
devices.
2002-04-16 22:42:55 +00:00
thorpej
4762adb809 Move ALTQ configuration definitions into altq/files.altq 2002-04-16 21:27:13 +00:00
thorpej
20ddfbf4c1 Move sysmon configuration definitions to dev/sysmon/files.sysmon. 2002-04-16 21:00:27 +00:00
thorpej
eedd94475c * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-16 20:50:16 +00:00
thorpej
bbb03955e8 Centralize the RAIDframe config definitions. 2002-04-16 20:33:00 +00:00
manu
5261d673c9 Added getpgrp/setpgrp.
setpgrp is stolen from compat/sunos. It should probbaly be moved to
/compat/common
2002-04-16 20:15:47 +00:00
manu
08948f97d1 Added sysconf(SC_IP_SECOPTS) 2002-04-16 20:15:03 +00:00
thorpej
f23ba7637c Add Application Accelerator Unit registers. 2002-04-16 17:36:06 +00:00
uch
5f10da67a7 Define all CPU types if _LKM is defined. 2002-04-16 17:33:56 +00:00
wiz
5040dc6d7d Remove last(?) traces of pmsi. 2002-04-16 11:49:54 +00:00
drochner
e5abb78d1a regen 2002-04-16 10:08:58 +00:00
drochner
276fd6a576 add some C&T VGA chip 2002-04-16 10:08:34 +00:00
kleink
b1a7e54209 pmsi(4) is gone. 2002-04-16 07:42:19 +00:00
onoe
fa97a362d4 Support WI_RID_SCAN_APS (wiconfig -D) for Symbol CF Card.
It apparently requires newer firmware (3.10.4), and doesn't work on
Intel PRO/Wireless 2011 (2.0.11).
2002-04-16 07:24:06 +00:00
martin
22143f5a44 Add strtoul.c, otherwise kernels using "wi* at pcmcia?" do not work
anymore.

Why only four archs provide this is beyound me.
2002-04-16 06:36:02 +00:00
enami
6cfcfb947c genfs_{compat_}getpages(): For PGO_LOCKED request, it is safe to return
read only page if it was due to read fault.  This avoid many unnecessary
read fault introduced by recent nfs_bio.c change.  Reviewed by chuq.
2002-04-16 06:05:05 +00:00
enami
08625200a0 KNF and other misc. cosmetic changes. 2002-04-16 06:00:46 +00:00
thorpej
bbdbd9ab37 Add i80321 DMA controller registers. 2002-04-16 04:50:14 +00:00
uwe
42c0a37e03 Add Krups (sparc) devices. 2002-04-16 03:08:12 +00:00
manu
28a3cfe032 Do not restore SR on sigreturn: this could enable the user process to gain
unpropre privileges.
2002-04-15 20:48:12 +00:00
thorpej
d533e315ee Fix a typo and an omission in last. 2002-04-15 17:27:39 +00:00
bjh21
1f1695ddff Build the keymap-generating programs as hostprogs, since they're only run
on the host system and never installed.

Install the generated keymaps using <bsd.files.mk> rather than by hand, so
that all the UNPRIVED magic can work.
2002-04-15 17:27:33 +00:00
bjh21
5178253d62 Only include opt_*.h #ifdef _KERNEL_OPT. 2002-04-15 17:05:13 +00:00
mycroft
aa878fabc4 For 78Q2120 revisions 3 and earlier, punt to ukphy, as our special media status
routine does not work on those chips.
2002-04-15 16:50:52 +00:00
thorpej
bc6522fb34 Add bits for the XScale Auxillary Control Register. 2002-04-15 16:34:32 +00:00
onoe
a40f47b098 Add support to Symbol Wireless Networker CF card.
The card is Type 1 CF card and it doesn't have firmware in.
So we need to download the firmware image into the card before
touching it.
XXX downloading code should be written in generic (bus independent),
    but I don't have enough information for now.
2002-04-15 15:05:58 +00:00
mycroft
69bae7ce64 Add wm. 2002-04-15 15:00:18 +00:00
onoe
410544177a Generated from the firmware binaries for T3 series CF adapter.
Obtained from Tim Gardner <timg@tpi.com> who developoed the Linux driver.
And approved by Brad Lefore <blefore@sj.symbol.com> to redistribute it
with BSD license.
2002-04-15 14:58:51 +00:00
tsutsui
2168ee307b Remove (commented-out) pmsi entries. 2002-04-15 14:47:03 +00:00
mycroft
0a948745d1 Regen. 2002-04-15 14:44:30 +00:00
mycroft
9d7578b25c Use chip numbers for most of the new Adaptec IDs, not board numbers. 2002-04-15 14:43:42 +00:00
skrll
6024d2c603 Nuke pmsi 2002-04-15 12:52:28 +00:00
joda
518cc55c27 Maxtor D040H2 also can't modesense 2002-04-15 12:40:28 +00:00
ad
e200da16d8 Regen. 2002-04-15 11:12:46 +00:00
ad
aad41f43b6 Add a bunch of Adaptec, Dell and HP products. From OpenBSD. 2002-04-15 11:12:25 +00:00
leo
6b640fdcec Fix PR-16305. Make the 'end' symbol local. 2002-04-15 09:29:56 +00:00
mhitch
77b771d03b Don't copy boot.amiga to ${DESTDIR}/ - it is now done by the install/update
script, sysinst, or manually when the bootblock is installed.
2002-04-15 08:38:55 +00:00
martin
ed5298eb2f Make the LEDs work.
Green LED = we have a TEI assigned, yellow LED slow blinking = one B-channel
in use, yellow LED fast blinking = both B-channels in use.
2002-04-15 08:11:00 +00:00
simonb
50d6d2b7d6 Add pcn, pnaphy.
Add algor, evbmips, sbmips devices.
Sort.
2002-04-15 07:37:17 +00:00
martin
bc96c942e9 This card issues a constant stream of interrupts (from an internal timer).
Make it do this only while /dev/isdn is open.
2002-04-15 06:59:51 +00:00
gmcgarry
3238830b82 rtc is used on hp300 2002-04-15 06:08:19 +00:00
gmcgarry
acb682fad2 When searching for devices also skip those deleted by userconf.
Problem reported by uwe.
2002-04-15 05:30:12 +00:00
simonb
f938ee8df6 Fix a couple of tyops. 2002-04-15 04:13:25 +00:00
briggs
0c4a264e40 Really nuke pmsi 2002-04-15 02:05:10 +00:00
briggs
9d121c1c24 Nuke pmsi 2002-04-15 01:43:35 +00:00
manu
33d1091e95 Removed the IRIX signal trampoline, which is useless now we use the signal
trampoline provided by IRIX libc.
2002-04-14 21:52:25 +00:00
manu
f8c12b3107 IRIX provide a signal trampoline in libc, we now use it.
- the signal trampoline address is given to the kernel by a sigaction()
  fourth argument
- we introduce an irix_emuldata structure to keep track of the signal
  trampoline address
- we don't support per-sigaction signal trampolines, we only do per-process
- now that we use the IRIX libc signal trampoline, we do not have to handle
  the errno update from the signal trampoline
- it is possible that IRIX 5 signal delivery works too, since theses binaries
  will come with their own signal trampoline
2002-04-14 21:50:49 +00:00
thorpej
cff1953dae Fix typo in last (luckily, search/replace makes the same typo everywhere). 2002-04-14 21:32:24 +00:00
thorpej
302ea396c3 iq80310_do_pending -> iq80310_do_soft, to accurately describe what's
actually going on there.
2002-04-14 21:30:19 +00:00
onoe
dd80e6d577 Some fixes for Symbol card.
- The version string doesn't need to start with 'V'.
- Symbol firmware also support CREATE_IBSS.
- But it doesn't support ROAMING_MODE nor MICROWAVE_OVEN.
2002-04-14 19:55:23 +00:00
thorpej
a9e4c1a943 * Delcare COUNTER_MASK properly.
* Restructure timer_read() so that the compiler generates better code.
2002-04-14 19:47:03 +00:00
mycroft
f00c3c2e40 tm_gpctl and tm_gpdata must be shifted right 16 bits. DOH.
This makes another CardBus tlp card work...
2002-04-14 19:10:18 +00:00
mycroft
ab262fe6f0 Snarf-and-barf the `quirk' code from if_tlp_pci.c, and use it to set the right
mediasw (MII-over-SIO) on the Level One FPC-0101TX 10/100 card.
XXX This should probably key off subsystem IDs, not OUIs...
2002-04-14 17:17:10 +00:00
bouyer
fda8de6495 bus_space_unmap() ctl_baseioh instead of ctl_ioh for the native case.
Pointed out by enami, and should fix kern/16307.
2002-04-14 16:55:08 +00:00
lukem
fdc8fec66f allow default colours to be overridden by
PCCONS_DEFAULT_FG PCCONS_DEFAULT_SO_FG
	PCCONS_DEFAULT_BG PCCONS_DEFAULT_SO_BG
2002-04-14 14:20:33 +00:00
tsutsui
d539066478 Set COPTS="-Os -mmemcpy" 2002-04-14 12:51:17 +00:00
martin
e4998611e9 Fix copyright notice. 2002-04-14 12:24:26 +00:00
takemura
8bbc2ff5a7 Added '#if defined(_KERNEL)' surrounging KERNEL_RCSID macro. Hpccmap is
used in bootloader too.
2002-04-14 09:07:04 +00:00
takemura
e63e3c0ed4 Added bus probing to avoid bus error. 2002-04-14 07:59:56 +00:00
tsutsui
a1124f0f2a Enable spifi SCSI. 2002-04-14 07:37:58 +00:00
takemura
c9cb463127 Print bad address in interrupt handler. 2002-04-14 07:34:20 +00:00
takemura
ab452aef6c Fixed 8bpp problem of mq200. 2002-04-14 06:07:40 +00:00
tsutsui
55c1bc5448 Expand MEMORY_DISK_ROOT_SIZE to 2.5Mbytes. 2002-04-14 02:30:22 +00:00
mycroft
36c2231c92 Remove pmsi. 2002-04-14 01:45:29 +00:00
mycroft
92719d60d8 The functionality of pmsi has been implemented in pms, so it's time for pmsi
to go back where it came from.
2002-04-14 01:42:52 +00:00
briggs
301eca907d Enable ext2fs and RAIDframe. 2002-04-13 23:33:16 +00:00
thorpej
71123e8747 Gah, correct editor mistake in last. 2002-04-13 22:42:39 +00:00
thorpej
755369ecb1 * Eliminate some redundant masking.
* Don't run the snake if the board doesn't have a 7-segment display.
2002-04-13 22:41:46 +00:00
bjh21
b5d40b188c Remove bogus dependency on options HPCARM. 2002-04-13 19:15:52 +00:00
briggs
652b9e4c7b Fixes and changes from Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>.
* Clean up after briggs@ changes to support bus_dma.
* Add support for reading sMemory resources from nubus cards.
* Add support for old cards with only the board rsrc (NatSemi NB-GPIB, e.g.)
* Add a few more card identifiers.
2002-04-13 17:49:41 +00:00
tsutsui
f1cd70e3dc Add -DLIBSA_USE_MEMCPY and -DLIBSA_USE_MEMSET to CPPFLAGS. 2002-04-13 17:48:10 +00:00
christos
45c8aefabf PR/16058: Tero Kivinen: Don't attempt to free resources that we failed to
get in the attach phase.
2002-04-13 17:06:53 +00:00
christos
db29511727 PR/16058: Tero Kivinen: Don't free rbuf or detach tty if rbuf allocation
failed during attach phase.
2002-04-13 17:05:16 +00:00
matt
54d0dedd0c Cleanup the debug prints in pmap_enter. 2002-04-13 15:58:30 +00:00
bjh21
34aad0d131 Only include opt_compat_svr4.h ifdef _KERNEL_OPT. 2002-04-13 14:20:29 +00:00
tsutsui
df16ac88cd Use "-Os -mmultiple". 2002-04-13 13:44:48 +00:00
tsutsui
c7a7330ca9 Add "cleanlibdir" target. 2002-04-13 13:35:23 +00:00
tsutsui
c58dce575b Set USE_LIBSA_MEMCPY and USE_LIBSA_MEMSET to save a few bytes. 2002-04-13 13:31:40 +00:00
isaki
9ee0a509cd Fix minor typo in adpcm_estim[]. 2002-04-13 12:40:50 +00:00
simonb
506b9316a4 Remove commented out "options EXEC_ELF_CATCHALL", and note that
COMPAT_1{1,2} provide this (renamed) functionality.
2002-04-13 12:08:46 +00:00
martin
8d2451d1be When pruning state at interrupt enable time, also call the clearirq
routine for cards that provide it.
2002-04-13 11:03:54 +00:00
manu
c56e133974 More comments on the new signal frame/trampoline 2002-04-13 10:52:59 +00:00
martin
0cdadad2cd Defer initialization of the ISAC chip until we enable interrupts - it gets
into a strange failure mode if we do it with disabled interrupt. When
(re-)enabling interrupts reset transmitter and receiver and clear any
pending state.
2002-04-13 10:28:36 +00:00
takemura
090be59325 Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
        arch/hpcsh/dev/hd64461/hd64461video.c   Rev. 1.7 to 1.8
        arch/hpcmips/dev/plumvideo.c            Rev. 1.23 to 1.24
        arch/hpcmips/tx/tx3912video.c           Rev. 1.24 to 1.25
2002-04-13 09:29:53 +00:00
tsutsui
97538862ad Add -b option for contiguous secondary boot on ustarfs. 2002-04-13 08:14:07 +00:00
tsutsui
b29a332627 Add ustarfs support and changedisk_hook(). 2002-04-13 08:04:41 +00:00
tsutsui
3369f7b337 Add some ioctl() definitions to eject floppy. 2002-04-13 07:56:02 +00:00
tsutsui
894a4f24e2 Add getchar(). 2002-04-13 07:53:53 +00:00
tsutsui
d5dd9411f6 bcopy() -> memcpy() 2002-04-13 07:34:41 +00:00
tsutsui
10720920d5 bzero() -> memset() 2002-04-13 07:34:17 +00:00
tsutsui
c69f6fde96 Rename halt() -> rom_halt(), and declare it in romcall.h. 2002-04-13 02:43:43 +00:00
tsutsui
5e64969e37 Build SA libs with -mmemcpy and set LIBSA_USE_MEMSET and LIBSA_USE_MEMCPY. 2002-04-13 02:30:30 +00:00
tsutsui
9d95be4e68 Add -mmemcpy to CFLAGS. 2002-04-13 02:29:08 +00:00
mycroft
d4a9baf2b1 Add IR support. 2002-04-13 02:25:27 +00:00
thorpej
5358f38f8b Add an install kernel for the Npwr. 2002-04-13 00:51:18 +00:00
tv
43df8ed28f Add host-OS tools for i386, which end up in the "installation/misc"
directory of the release tree.
2002-04-12 23:11:58 +00:00
leo
9485827587 Regen. 2002-04-12 22:37:21 +00:00
leo
d7f7c55a74 Move USERCONF to GENERIC.in and trim the phy-list. 2002-04-12 22:34:13 +00:00
leo
df30bb7f3d Oops, remove some unintended changes. 2002-04-12 22:29:14 +00:00
leo
c3e3c2c718 Add some PCI ethernet/audio cards for the Hades and the Milan. 2002-04-12 22:22:25 +00:00
leo
f94a8b4d29 Don't bail out when /netbsd is not present. We don't really need it
anyway.
2002-04-12 22:11:33 +00:00
leo
cbe57bbd7c Make the exitcode != 0 when the ioctl fails. 2002-04-12 22:09:28 +00:00
thorpej
10c0c20ad4 Default all XScale core processors to the read/write-allocate write-back
cache mode.  Add a new XSCALE_CACHE_WRITE_THROUGH option for people who
are paranoid about the cache-related errata (you *do* have to line up
the planets correctly to trip them, but having the option is useful).
2002-04-12 21:52:45 +00:00
thorpej
60e10382d5 Add a "netbsd-sd0" configuration. 2002-04-12 21:45:13 +00:00
thorpej
3d6043053d * Add the ability to display .'s on the 7seg display.
* Display . . when halted.
2002-04-12 20:50:26 +00:00
thorpej
09eacc7061 Set COM_HW_NO_TXPRELOAD. The IQ80321's UART doesn't lose without
this, but it works fine with it, and this serves to broaden the
testing field of the flag.
2002-04-12 19:35:17 +00:00
thorpej
4a0ee23b99 Set COM_HW_NO_TXPRELOAD. 2002-04-12 19:34:24 +00:00
thorpej
ff7306cf44 * Add a new hwflag, COM_HW_NO_TXPRELOAD, which tells comstart() to
not pre-load the chip's Tx buffer, but instead waits for the Tx Ready
  interrupt to transmit the first chunk of data.
* On the IOP310, set COM_HW_NO_TXPRELOAD, rather than COM_HW_TXFIFO_DISABLE.

This solves the "UART hangs" problem on the Npwr in a nicer way (i.e. we
get to use the FIFO, whee).  The COM_HW_NO_TXPRELOAD happens to match the
Linux 16550 driver's Tx algorithm, and the "UART hang" was never observed
on the Npwr running Linux.

Eventually, we might want to eliminate the COM_HW_NO_TXPRELOAD, and simply
always use its algorithm.  But it should be tested on more 16x50 variants
before we do that.

Kudos to Valeriy Ushakov <uwe@netbsd.org> for pointing out this solution
(which also happens to fix the stray UART interrupt issue on the Krups
Javastation), and to Allen Briggs <briggs@netbsd.org> for experimenting
with various methods of fixing this.
2002-04-12 19:32:30 +00:00
thorpej
f56b432a79 Use the bus_space_generic bus space ops. 2002-04-12 19:12:31 +00:00
thorpej
80146a5185 Use the bus_space_generic bus space ops. 2002-04-12 19:02:30 +00:00
thorpej
79303779d8 Add some generic bus_space ops, which are pulled in by the
"bus_space_generic" configuration attribute.
2002-04-12 18:56:57 +00:00
thorpej
32a0860797 Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel.  What
  you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
  on which ARM architecture versions are configured (based on CPU_*
  options).  Also defines ARM_NARCH to determins how many architecture
  versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
  which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
  to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.
2002-04-12 18:50:29 +00:00
manu
5ee554064d Reworked IRIX signal delivery so that ucontext is used instead of sigcontext
when SA_SIGINFO is used. The IRIX process will hence find the expected
information using the third argument of the signal handler.

We do not provide code and siginfo yet.
2002-04-12 18:44:57 +00:00
mycroft
3b38c02e34 Add support for the ServerWorks OSB4 and CSB5 chipsets.
Note:  The code is written a little more cruftily than it should be.  It's also
only tested on the OSB4.  I'm not sure it even makes sense to have support for
`native' mode, but I put it in just in case.
2002-04-12 18:02:04 +00:00
bjh21
9ca6637757 opt_footbridge.h no longer exists. 2002-04-12 18:01:17 +00:00
mycroft
04d3df6513 Enable AGP GART support by default. 2002-04-12 17:58:17 +00:00
heinz
ebc862f9b0 Added some clarifying comments after my mistake. 2002-04-12 17:56:14 +00:00
heinz
ce4cc4a651 Regenerate to compensate my mistake of committing this _together_ with
usbdevs. Should now have the correct reference to usbdevs.
2002-04-12 17:40:38 +00:00
manu
78583a4567 Always define SA_SIGINFO, and keep track of it in SVR4 emulation. This is
needed for IRIX signal delivery.
Approved by Christos.
2002-04-12 17:37:30 +00:00
christos
7d930e8572 Use SESSHOLD and SESSRELE consistently.
Add SESSHOLD and SESSRELE to the t_session, so that we don't have dangling
references [inspired by OpenBSD].
2002-04-12 17:02:33 +00:00
pk
0c22ac1fa6 Add entries for Type5 keys T5_Insert, T5_Home, T5_End, T5_PgUp and T5_PgDn
as suggested by uwe@netbsd.org.
2002-04-12 14:27:29 +00:00
briggs
e588351a82 Don't need to install spkr.h 2002-04-12 13:33:23 +00:00
christos
71d5289a50 regen 2002-04-12 13:12:57 +00:00
christos
9a5cce0e79 add some more devices; sorry I don't remember where they came from. 2002-04-12 13:12:40 +00:00
heinz
16e1edf6ab Add a bunch of webcams from Philips (infos found on a Linux web site) 2002-04-12 13:12:28 +00:00
bjh21
1283cdaaed Add <luna68k/svr4_machdep.h>, since that seems to be necessary to get
things to compile.
2002-04-12 12:46:39 +00:00
gmcgarry
6e066ba77a Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
martin
a56dc0602f Document a puzzling assignement. 2002-04-12 06:21:57 +00:00
thorpej
a6159879f0 Remove footbridge-specific stuff that will never apply on the Integrator. 2002-04-12 06:13:42 +00:00
lukem
dab39d6237 use ${ELF2ECOFF} from <bsd.{own,sys}.mk> 2002-04-12 05:11:17 +00:00
briggs
a7d9bc4bf3 Processing pending interrupts before reenabling external interrupts in splx(). 2002-04-12 04:52:57 +00:00
briggs
b5ee40947f Disable TXFIFO on npwr. There is some sort of serial interrupt lossage that
seems to be greatly alleviated by this change.
2002-04-12 03:01:57 +00:00
briggs
8989cea6a8 Enable pciide, wd, atapibus, and atapi devices. 2002-04-12 02:57:00 +00:00
briggs
b5b11bf5f5 Map winbond interrupts. 2002-04-12 02:55:03 +00:00
briggs
67dbc34547 Remove exception for CONSPEED on NPWR -- current redboot uses 115200, too. 2002-04-12 00:58:49 +00:00
thorpej
49df0c927f Lose -nbsd 2002-04-11 21:47:36 +00:00
bjh21
3a33a1deec Jason claims that nothing tests for RISCPC any more. Make it so. 2002-04-11 17:31:23 +00:00
skrll
ac60400580 The results of my cats NWDO hacking.
This was tested using a custom INSTALL kernel. The current one is >4Mb
which the cats firmware can't currently boot. We need to decide what
needs to be removed from INSTALL.
2002-04-11 16:33:58 +00:00
hannken
6991df9968 Add config for the SUNIX line of pci serial/parallel cards.
Approved by: Jason R. Thorpe <thorpej@wasabisystems.com>
2002-04-11 13:53:56 +00:00
augustss
d0c3f994ea Put device name at start of line. 2002-04-11 11:21:26 +00:00
pk
b7cae9b821 Pass fully encoded bus addresses in the attach arguments. 2002-04-11 11:11:23 +00:00
pk
24db2d2924 pmap_kremove4_4c(): correctly compute the maximum number of pages to be
unmapped within a segment.
2002-04-11 11:08:40 +00:00
augustss
3f41adf3be When the DAC claims to support variable rate it doesn't seem to
always do this, so do some extra chechs and fall back on fixed rate.
2002-04-11 10:54:23 +00:00
mjacob
31045afa8c Clean up a bit from the last checkin so that the correct result pointers
are used- didn't make a difference, but hey...

Put in commented out GFF_ID code- for use in future attempts to search
the fabric- this probably has to go thru the management server path.

Don't whine about handles we can't find if these are aborted commands
(we know we can't find the handles because we destroy handles after
a successful mailbox abort- we don't wait for the F/W to decide whether
it wants to return a status IOCB after this happens).
2002-04-11 02:32:03 +00:00
martin
f12d3f51e7 Remove some redundant tries to disable interupts. We already avoided enabling
them.
Fix a stupid typo when enabling/disabling interrupts: we clear pending
interrupts when enabling, not disbling isac interrupts.
2002-04-10 23:51:06 +00:00
thorpej
de43efffee G/c non-netwinder stuff. 2002-04-10 22:35:17 +00:00
thorpej
bfe71d0a4b vm_offset_t -> vaddr_t,paddr_t 2002-04-10 22:30:44 +00:00
thorpej
27d98ca694 Remove the Control register handling from arm32_vector_init(). Apparently,
the ARM6 and ARM7 do completely the wrong thing if you read this register,
so we have to handle this a different way.
2002-04-10 21:45:43 +00:00
thorpej
d2a6d9baa7 Remove obsolete tests of "netwinder" and "footbridge". 2002-04-10 20:30:30 +00:00
thorpej
2bbba08b60 Delete option SAIP; nothing tests it. 2002-04-10 20:20:04 +00:00
thorpej
9d1c2c73c1 Eliminate all #ifdef HPCARM, and delete the option. 2002-04-10 20:17:23 +00:00
thorpej
e52d5c4ec1 Remove FOOTBRIDGE. 2002-04-10 20:13:54 +00:00
thorpej
4a45f1922b Remove meaningless test against FOOTBRIDGE. 2002-04-10 20:13:20 +00:00
thorpej
4f778bc49c G/c FOOTBRIDGE option. 2002-04-10 20:12:08 +00:00
thorpej
a9242efbfb Remove options NETWINDER and FOOTBRIDGE; nothing tests for them. 2002-04-10 20:11:44 +00:00
thorpej
59d47eeb79 Remove "options RISCPC"; nothing tests for it anymore. 2002-04-10 20:10:08 +00:00
thorpej
59c9e94b72 vm_offset_t -> vaddr_t,paddr_t 2002-04-10 19:35:22 +00:00
scw
d5ecd48d67 DTRT to avoid installing "netbsd.tmp" in /usr/mdec.
Addresses port-mvme68k/16282.
2002-04-10 18:43:21 +00:00
christos
10ecebd46a implement getdents64; my full java tree builds now. 2002-04-10 18:19:34 +00:00
christos
7e9e73a53c regen 2002-04-10 18:19:04 +00:00
christos
db952e86f3 add getdents64 2002-04-10 18:18:26 +00:00
thorpej
ad2350dccf On XScale processors where we use write-back caching, use are
read/write-allocate line allocation policy.

On the i80321, this improves nearly every lmbench benchmark, dramatically
so the ones that are sensitive to memory bandwidth (100-300% improvement
for these).
2002-04-10 17:39:31 +00:00
thorpej
2b924304ab Add a new function, pmap_alloc_ptpt(), that allocates the PTPT and
maps it the way we want, rather than using uvm_km_zalloc() and playing
the "revoke cacheability" song-and-dance.
2002-04-10 17:08:13 +00:00
thorpej
cad393fa1c pmap_alloc_l1pt(): Just enter the mappings for the L1 table by
hand, rather than calling pmap_kenter_pa() and then revoking
cacheability in the PTE.
2002-04-10 15:56:21 +00:00
thorpej
cd0e28f1e7 Use L2_S_CACHE_MASK in places where we revoke cacheability. 2002-04-10 15:44:23 +00:00
briggs
4fb4a95b7e Install cpu.h. Noted in PR port-powerpc/16285 from smi@sm.sony.co.jp. 2002-04-10 15:36:42 +00:00
mycroft
fd303c4dc5 Add a special case for nrpos=1 to cbtorpos(). This massively reduces CPU usage
by newfs(8) -- and fsck_ffs(8) on a relatively empty file system.  There is
still one divide left in the inner loops, to calculate cylno values.
2002-04-10 14:31:07 +00:00
tsutsui
937863b61e Add (missing) scsibus* at adw? 2002-04-10 13:41:04 +00:00
tsutsui
2b96151049 Disable BOOT_AOUT. 2002-04-10 13:38:42 +00:00
haya
cc2da29e03 Correct an error message. 2002-04-10 10:09:31 +00:00
itojun
9998fd3a57 revert previous 2002-04-10 09:53:01 +00:00
itojun
7aef2b4e07 make it compile (missing includes) 2002-04-10 09:37:51 +00:00
itojun
45451927ec correct variable initialization. reported by fujitsu folks 2002-04-10 09:18:57 +00:00
mycroft
afc5d40400 Use blkstofrags() and fragstoblks(). Use &(NBBY-1) rather than %NBBY.
Switch off of fs_fragshift rather than fs_frag (generates better jump tables).
2002-04-10 08:05:11 +00:00
mycroft
0a9b835878 Use fsbtodb() rather than multiplying by NSPF(). 2002-04-10 07:46:10 +00:00
briggs
41ec4fe6c2 Accept the bus_dma_tag_t for obio, too. 2002-04-10 05:13:09 +00:00
thorpej
668547d841 pmap_kenter_pa(): Obey the "prot" argument, rather than simply making
all mappings r/w (!!).
2002-04-10 04:40:58 +00:00
briggs
648cd86d69 Use m68k/m68k/cacheops.[ch]
Use m68k/m68k/bus_dma.c
	- Add mainbus_attach_args with bus_space_tag_t and bus_dma_tag_t.
	- Use passed-in tags for nubus scan.
2002-04-10 04:38:48 +00:00