Commit Graph

54084 Commits

Author SHA1 Message Date
eeh
253a2ae2f4 Redirect to powerpc/include/ibm4xx/dcr405gp.h 2002-03-13 23:10:36 +00:00
eeh
2277f9518e Delete this file. It's only relevent to 405gp. 2002-03-13 23:09:52 +00:00
eeh
2b55b12b59 405gp-specific DCRs. 2002-03-13 23:09:11 +00:00
eeh
3b27dc6be4 Use powerpc/include/ibm4xx/cpu.h. 2002-03-13 23:07:47 +00:00
wiz
3c20f3f606 Fix some typos in comments. 2002-03-13 22:23:50 +00:00
jdolecek
fcc4c4d402 Merge the update to FreeBSD rev 1.95.
Changes:
* MP locking changes (mostly FreeBSD specific)
  XXXSMP the MP locking macros are noops on NetBSD for now
* kevent fix (FreeBSD rev. 1.87): when the last reader/writer
  disconnects, ensure that anybody who is waiting for the kevent
  on the other end of the pipe gets EV_EOF
* kill __P
2002-03-13 21:50:24 +00:00
jdolecek
368878d433 add NetBSD RCS tag 2002-03-13 20:51:37 +00:00
jdolecek
19ac0b19d7 Merge in FreeBSD rev. 1.18 - MP changes + rename of PIPE_LOCK to PIPE_LOCKFL
XXXSMP the MP hooks are unused on NetBSD for now

put NetBSD kernel-only parts into #ifdef _KERNEL
2002-03-13 20:50:00 +00:00
manu
eb3041b4dc I finnally identified syssgi(SGI_FDHI) as the implementation of the
getdtablehi(3) library call. Updated comments and removed the paranoid
diagnostics about this mysterious syssgixi() request.
2002-03-13 20:33:41 +00:00
jandberg
225d8bccbe Fixed cc_load_mode restart copper after setting the new list
when called with null argument. This is needed for the screen
blank to actually take effect.
2002-03-13 20:33:35 +00:00
jandberg
4b1642e62c added WSCONS config file and makefile target to generate it 2002-03-13 20:23:44 +00:00
eeh
90a4d6de36 Get rid of any references to PCI. 2002-03-13 19:37:44 +00:00
eeh
2949f98aba Install machine check trap handler. 2002-03-13 19:36:45 +00:00
eeh
a2d1936614 Add cache_info offset into curcpu(). 2002-03-13 19:34:06 +00:00
eeh
d9a7cb78c4 dcr.h has moved. 2002-03-13 19:32:25 +00:00
eeh
f71b8e46fe CACHELINESIZE is going away. Use curcpu()'s cache_info instead. 2002-03-13 19:31:33 +00:00
eeh
38e180b078 This is now a pci controller driver that attaches to mainbus rather than
a pci-pci bridge.
2002-03-13 19:28:25 +00:00
eeh
baf1e04c3c board_cfg_data is now in cpu.h 2002-03-13 19:27:02 +00:00
eeh
478fa29f6b Add a ppc4xx_tlbflags macro. 2002-03-13 19:26:07 +00:00
eeh
a41c1f25cb Fixup comments. 2002-03-13 19:24:46 +00:00
eeh
353b53f75a Move DCR definitions here since they are implementation specific. 2002-03-13 19:22:46 +00:00
eeh
3b7b449d26 Separate mainbus from pcibus. 2002-03-13 19:19:49 +00:00
eeh
7f267b53d3 Adapt to the new mainbus. 2002-03-13 19:18:07 +00:00
eeh
0892a81974 Add a copyright and license. 2002-03-13 19:17:41 +00:00
eeh
266bd056b2 Adapt to the new, separate mainbus. 2002-03-13 19:13:10 +00:00
eeh
8e235a382a Add a vector for machine check traps. 2002-03-13 19:11:53 +00:00
ad
449a7e788b Remove unmaintained / of limited use configs. 2002-03-13 16:56:49 +00:00
ad
0cf4c60b83 zskbd_keydesctab -> lkkbd_keydesctab 2002-03-13 15:21:30 +00:00
ad
690cf19e33 Give wskbdmap_lk201.c its own attribute. 2002-03-13 15:18:19 +00:00
ad
b89e39b91a Reorganise the wsfont stuff slightly so that multiple display adapters
with different bit/byte order requirements can co-exist happily.
2002-03-13 15:05:13 +00:00
simonb
17162f3d40 Add R4400 reg 0x60 to the MIPS CPU table.
From PR port-mips/15894 from Thilo Manske.
2002-03-13 13:18:58 +00:00
simonb
707b8da2e8 Replace lots of 8x<space> with <tabs> and other miscellaneous indentation
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.
2002-03-13 13:12:25 +00:00
simonb
f81b8604f8 Move 'struct pool_cache_group' definition into <sys/pool.h> 2002-03-13 10:57:18 +00:00
ad
cf9ef8999f Clean up. 2002-03-13 10:42:56 +00:00
ad
4a032cc0fb Set RI_FORCEMONO so that wscons doesn't try to use colors (mfb is an 8-bpp
device with a depth of 1).
2002-03-13 10:07:14 +00:00
simonb
4067afd322 Remove two instances of an "error" variable that is only ever assigned to
but not used.
2002-03-13 08:12:58 +00:00
manu
25f8840ca4 Implements syssgi(FDHI), which seems (it's not documented) to return the
higher open file descriptor plus one. This makes IRIX's find able to work.
2002-03-13 07:54:18 +00:00
itojun
496665ab2c suppress -Wunused if !INET6 2002-03-13 06:43:18 +00:00
chs
5d8f761ba0 support the 4-port boards with the Cogent OUI as well. 2002-03-13 05:05:38 +00:00
simonb
189fba2bc0 Add ecoff_machdep.h for userland usage. 2002-03-13 05:03:18 +00:00
yamt
05bfd84f7c fix a bug that timevals are compared incorrectly. 2002-03-13 04:36:49 +00:00
uwe
3f9d183e35 Fix cast. 2002-03-13 04:23:25 +00:00
chs
fcbc075a7a support ANA-6944A boards (in addition to ANA-6922). 2002-03-13 04:15:05 +00:00
fvdl
8a9dc4a551 Fix what looks like a merge error: olen = 0 in z_decompress, not
PPP_HDRLEN, which caused lots of 'ppp_deflate0: exceeded mru (1508 > 1504)'
messages.
2002-03-13 04:04:00 +00:00
fvdl
21275ebab6 Upgrade this generated version to be based on zlib-1.1.4 2002-03-13 03:59:35 +00:00
kent
3d212e0ce0 Fix a typo in a comment. 2002-03-13 03:48:19 +00:00
simonb
79192aecc3 Remove bogus file that shouldn't have been added in the first place. 2002-03-13 02:58:52 +00:00
simonb
22db14d9e1 All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
2002-03-13 02:55:10 +00:00
eeh
d94ffa460b Generic mainbus driver. 2002-03-13 01:04:16 +00:00
eeh
4c434f6210 Updated from libc. 2002-03-13 00:59:29 +00:00
eeh
ba8ac60043 pmap improvements:
Remove the cache flush routines that have been moved to cpu.c

Make sure we clear out the unused PA bits in the TTE which causes breakage
on some MMU models.
2002-03-13 00:47:58 +00:00
eeh
9129e6fe1d Generalized IBM UIC driver. 2002-03-13 00:40:50 +00:00
eeh
4b971968ac Add cache_info to cpu_info which provides details about D$ and I$
sizes and line sizes.  This is needed for cache flusing, clearing
memory, and several other operations.  This information is accessible
from userland through a new CPU_CACHEINFO sysctl.
2002-03-13 00:38:13 +00:00
rjs
415c021881 Map the reset controller registers. 2002-03-13 00:02:41 +00:00
rjs
54204051f6 Add bus space handle for SA11x0 reset controller. 2002-03-12 23:57:35 +00:00
kent
33525eb269 Accept 24bit precision. 2002-03-12 15:12:03 +00:00
reinoud
4320b4ffba Remove the in practice unused font stuff to save space 2002-03-12 12:52:11 +00:00
onoe
ca3afc880f fix CRC (ICV) for WEP: ICV is 32bit not 16bit.
(change from htole16 to htole32, so no changes for little endian machine)
2002-03-12 11:07:26 +00:00
oki
7160cfdbde PE/COFF exec LKM, currently for i386 platform. 2002-03-12 07:47:35 +00:00
uwe
4b6b8f2e41 Fix whitespace nits (oops). 2002-03-12 06:00:42 +00:00
uwe
a0d389daa3 Enable audiocs at ebus. 2002-03-12 04:54:03 +00:00
uwe
a05702eaac Rework the driver to add EBus DMA support and improve APC DMA support.
Audio-related stuff is left almost intact.

* support audiocs at ebus playback and capture
    tested on krups and u5 (thanks, martin)
* make first attempt at supporting audiocs at sbus capture
* nb: full-duplex is not tested
* while here, fix CSAUDIO_MONITOR_MUTE to be of CSAUDIO_MONITOR_CLASS
    i.e. outputs.monitor.mute -> monitor.monitor.mute

Ok by pk, eeh.
2002-03-12 04:48:28 +00:00
itojun
7f7fe98c2c support tcp_log_refused for IPv6. From: Andrew Brown <atatat@atatdot.net> 2002-03-12 04:36:47 +00:00
wrstuden
bf3ef19b7d Only attach the first adb keyboard as the console kbd. Don't try for
the others. It is perfectly reasonable to have multiple adb keyboards,
and a number of multi-button mice have a fake kbd for the second and
third mouse buttons. Now my machine doesn't panic during boot when it
is trying to add a second ws console kbd.
2002-03-12 03:40:12 +00:00
fvdl
104148a990 Sync with userland (1.1.4) 2002-03-12 00:42:23 +00:00
uwe
40a8bc1d34 Drop ebus_bus_map(), use plain bus_space_map() instead. 2002-03-12 00:32:30 +00:00
uwe
4df483e009 Do not pass bus type argument (R.I.P.) to bus_space_map2. 2002-03-12 00:18:25 +00:00
uwe
3dfde702f3 Do not pass bus type argument (R.I.P.) to bus_space_map2. 2002-03-11 23:36:17 +00:00
joda
642cb4cedf regen 2002-03-11 23:19:01 +00:00
joda
e981250262 some devices found in a dell machine 2002-03-11 23:17:37 +00:00
jdolecek
86835ed7d1 Cosmetic change for nfs_enterdircache() - since 'blkno' is last arg,
define it's type last, too.
Noted in kern/14742 by John Franklin.
2002-03-11 22:56:47 +00:00
jdolecek
934735396a nfs_enterdircache() had last two parameter types swapped
Noted in kern/14742 by John Franklin.
2002-03-11 22:55:05 +00:00
uch
552fdb7e1b make this compile and work with MIPS3_5900. 2002-03-11 16:39:39 +00:00
pk
7e8becd64d * `bus_type_t' is gone.
* Use BUS_ADDR() where appropriate to encode I/O space and physical
  address offset into a `bus_addr_t' value.
* Drop obio_bus_map() since it's now completely equivalent to bus_space_map()
* Use bus_space_map2() to map device space at a fixed virtual address.
* Remove the virtual address argument from sbus_sbus_addr()
2002-03-11 16:27:01 +00:00
pk
221d0f52da `bus_type_t' is gone. Retain bus_space_map2() for MD drivers that need
to map registers to a fixed virtual address.
2002-03-11 16:06:42 +00:00
pk
56d115aa57 `bus_type_t' is gone. 2002-03-11 16:01:57 +00:00
pk
f61bdee8e7 Get rid of `bus_type_t' and use BUS_ADDR() (in sbus_bus_map()) to construct
a `bus_addr_t' to pass on to bus_space_map().

Drop `va' argument from sbus_bus_map(); it should not be used by MI Sbus
drivers.
2002-03-11 16:00:55 +00:00
uch
d7285d12b4 clean up a little. 2002-03-11 15:58:20 +00:00
kent
289a98c007 Fix a typo in a comment.
Remove some unnecessary whitespace.
2002-03-11 14:59:57 +00:00
reinoud
b91c20709e When ARMFPE wasn't enabled the `usearmfpe' flag was statically initialised
but not used resulting in a compiler error. By splitting the declaration
and the initialisation this is solved.

Better would be to not even declare the flag when ARMFPE isnt enabled but
that would just add to the #ifdef jungle.
2002-03-11 11:50:12 +00:00
leo
0cd2b4eee6 Take care of the 'machine' and 'm68k' include paths.
Copied verbatim from the x68k/stand/libsa/Makefile.
2002-03-11 10:29:42 +00:00
martin
0039b1300a KNFify my last change. 2002-03-11 10:06:12 +00:00
chs
b0263218b6 override cn_trap() with zs_abort() so we can drop to the monitor
if there's no DDB.  fixes PR 12547.
2002-03-11 07:11:26 +00:00
simonb
4c99e006ad Need this to build the system - libc nlist assumes all mips have ecoff. 2002-03-11 02:33:37 +00:00
enami
89433f5abd Fix indentation. 2002-03-11 01:19:17 +00:00
enami
c26a42313c Fix function decl. of _pool_reclaim() so that subr_pool.c compiles again
even if POOL_DIAGNOSTIC is defined.
2002-03-11 01:16:43 +00:00
manu
b2ce645507 Added syssgi(GETGROUPS) and syssgi(SETGROUPS) 2002-03-10 22:36:28 +00:00
ragge
fe503fb96f Major update of the vax pmap:
- Reinstall the "dynamic page table length" that was removed some
	  years ago.
	- Limit the user page table submap to max 5% of available memory.
	- Free the page table space when a process is swapped out.
	- If the UPT submap runs out of space, throw away pmap mappings
	  using the same algorithm as for swapping processes.

As a result of this, 4MB machines are useable again and it's even possible
to compile a kernel for 2MB machines (but it will be slow... :-)

Still to do:
	- Multiprocessor fixes.
	- More profiling.
2002-03-10 22:32:31 +00:00
christos
071d0cb34b Search for space to attach a 3c562d correctly. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
2002-03-10 22:28:02 +00:00
christos
07fb02cbcb Undo my previous change that worked around a problem attaching a 3c562d.
This is handled correctly now in the driver itself. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
2002-03-10 22:27:04 +00:00
christos
7ef1545f01 PR/15839: Peter Seebach: PS/2 driver improvements 2002-03-10 22:21:21 +00:00
manu
911cceb1b7 Added statvfs/fstatvfs 2002-03-10 21:56:24 +00:00
lukem
cd19d52695 * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
augustss
42314426c9 Regen. 2002-03-10 19:55:55 +00:00
augustss
861a9e05a1 Add some WLAN devices. 2002-03-10 19:55:23 +00:00
augustss
101cc60a48 Don't define ACPI_BUT_DEBUG here. 2002-03-10 19:55:01 +00:00
lukem
710f40a884 * rename MEMORY_DISK_SIZE to OLD_MEMORY_DISK_SIZE; as far as I can
tell nothing in the acorn32 port was using this version of
  MEMORY_DISK_SIZE but I've left the code here incase the portmaster
  wants it.
* rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
  are consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:53:25 +00:00
cyber
7e4db265ee _io_alloc and _io_map work in pairs, dont try to do anything with the data
until afterward the _io_map.
In some pcmcia chipsets the _io_alloc is a noop.
2002-03-10 19:20:50 +00:00
manu
6a48d31676 Fix a bug in the way syssgi(MAPELF) handles relocation: we are supposed to
look for a block of free virtual memory big enough to hold all sections. The
blocks starts at the beginning of the first section and ends at the end of
the last section. In the previous version the block ended at the beginning
of the last section, hence creating situations where there was not enough
free space to map the section.
2002-03-10 19:03:08 +00:00
augustss
7cf6202cca Fix a typo. 2002-03-10 18:46:35 +00:00