Commit Graph

54137 Commits

Author SHA1 Message Date
martin a4b1277fd2 Ooops, "isdnbch" realy is "isdnbchan". 2002-03-15 22:29:49 +00:00
reinoud aefe920476 Serious bug fix: a userland program could panic the kernel when it tried to
issue an instruction that caused the late abort handler to be called for
wich the kernel had no support build in for.

It now only panics when it happends in kernel but otherwise signals the
process a SEGV signal.
2002-03-15 22:19:49 +00:00
martin 66c41c89cb Adapt ISDN devices to their new names. Sort. 2002-03-15 22:11:05 +00:00
eeh 0754ce0386 Use properties instead of board_info. 2002-03-15 21:12:07 +00:00
eeh 75343f2177 Use new non-PCI mainbus. 2002-03-15 21:10:46 +00:00
heinz bd5eeb9796 add .CURDIR/ld.script to enable builds with OBJMACHINE=yes 2002-03-15 21:02:29 +00:00
eeh 5468c6fb37 Fixup distinguishing between user and kernel addresses for IBM 4xx CPUs. 2002-03-15 21:01:28 +00:00
eeh de5252061e Use properties to pass around board-specific information rather than a
structure.
2002-03-15 20:59:23 +00:00
eeh d9df83b6a9 Delete files that have been moved to powrpc/ibm4xx. 2002-03-15 20:56:42 +00:00
eeh 8bf657ddf1 Don't forget to allocate space for the property name's trailing NUL. 2002-03-15 20:33:50 +00:00
manu da6cdf1446 Added IRIX /dev/kmem emulation pseudodevice and SVR4 net pseudodevice 2002-03-15 17:29:06 +00:00
manu cdab2861e2 Added the IRIX /dev/kmem emulation pseudodevice driver 2002-03-15 17:21:26 +00:00
kent 3ca7d89bcf uaudio_set_params(): Set conversions:
- 8bit slinear/ulinear to 16bit slinear for playing
  - 16bit slinear to 8bit slinear/ulinear for recording
2002-03-15 17:20:14 +00:00
kent 569fb75aef audio.c: revert a part of previous change.
auconv.c: correct handling of size parameter.
2002-03-15 14:55:03 +00:00
kent a5bad132ba Fix a bug of audio_read() in a case that params->factor is not 1. 2002-03-15 14:35:32 +00:00
reinoud 1a19ddabcd Some cosmetic changes.... 2002-03-15 13:33:19 +00:00
simonb 02383cded0 The "debug" variable is only used during network debugging, and then
only if NET_DEBUG is defined.  Put it's declaration and initialisation
inside '#ifdef NET_DEBUG' and save another 16 bytes.
2002-03-15 13:31:08 +00:00
simonb f28e18332c Move files[] from globals.c to its own file. Including all of globals.o
breaks the size limit for at least the pmax bootblocks.

Fixes PR port-pmax/15924 from Gregory McGarry.
2002-03-15 13:23:34 +00:00
martin f4be3308da Psssst, don't tell anybody I commited this.
Add an ugly hack, #ifdef WI_AT_BIGENDIAN_BUS_HACK, to make the wi driver
access the underlying bus in big endian byte order.

This makes it possible to use this driver (probably one of the most
interesting ones) in the pcmcia slot of a stp4020 (nell) adapter at sbus. The
sparc ports bus_space_{read,write}_* macros do not provide a way to do this
cleanly now as they ignore the bus_space_tag_t parameter.

XXX - make bus_space_{read,write}_* on sparc do the right thing.
2002-03-15 13:15:36 +00:00
tsutsui f54d57e135 Remove an arg name in prototype declaration. 2002-03-15 12:57:21 +00:00
itojun 766a6d874e have a real lock around IPv6 reassembly. 2002-03-15 10:44:07 +00:00
itojun 3faedc3f92 s/0/NULL/ as ln_hold is a pointer. sync w/ kame 2002-03-15 09:36:27 +00:00
itojun 38f3d28842 have tcp6_drain 2002-03-15 09:25:41 +00:00
tacha 52d9a1d306 Use appropriate emulation functions and set ADC rate(not DAC date!) for recording.
Now /dev/audio with auich becomes usable.
2002-03-15 07:16:10 +00:00
eeh 2db5a5e82f Get PCI working with the new bus_space*. 2002-03-15 07:06:23 +00:00
eeh 0923e659b7 Cleanup MMU initialization to prevent hangs. 2002-03-15 07:02:24 +00:00
eeh 5f84db4b34 Get rid of bus_type_t. 2002-03-15 07:00:34 +00:00
gmcgarry 97ef6567ad Add RCSIDs. 2002-03-15 05:55:35 +00:00
gmcgarry d4c41b0f8b malloc cleanups:
- malloc+memset -> malloc with M_ZERO
- malloc -> MALLOC for fixed-sized structures
Add RCSIDs while here
2002-03-15 05:52:53 +00:00
gmcgarry 1cb254edf6 Introduce iteinstallkeymap() which allows the keyboard driver to
register its keymap with ite.  Add RCSIDs while here.
2002-03-15 05:45:23 +00:00
gmcgarry 0cc97c18ac Don't display ipl if the device isn't actually attaching.
Add RCSID while here.
2002-03-15 05:40:01 +00:00
gmcgarry ddfcbf2bfc Increase the delay when resetting the port so that the output doesn't
get scrambled when we're the console.  Add RCSID while here.
2002-03-15 05:36:38 +00:00
martin 58d564bc8c Add MSS clamping to the IP Filter NAT subsystem.
Configured by a new option "mssclamp" in NAT rules, like:

 map pppoe0 192.168.1.0/24 -> 0/32 mssclamp 1452

This is based on work by Xiaodan Tang <xtang@qnx.com>.
2002-03-14 21:46:54 +00:00
eeh 01702c713d Make pmap_protect() on wired mappings DTRT. Needed to toggle write protection
on the clock registers.
2002-03-14 20:59:19 +00:00
eeh 67d564afec bus_type_t has gone away. 2002-03-14 20:57:37 +00:00
eeh 3dd69b853f bus_space_map2() has gone away. 2002-03-14 20:55:27 +00:00
eeh 01fb3f72f5 sbus_bus_map() no longer has a preferred vaddr parameter. 2002-03-14 20:54:18 +00:00
eeh ce92edb48a bus_space_map2() no longer exists. 2002-03-14 20:51:35 +00:00
eeh 98d13341c0 bus_space_map2 no longer exists. 2002-03-14 20:50:13 +00:00
eeh 77de9a3aca Get rid of bus_space_map2(). 2002-03-14 20:46:11 +00:00
eeh 7c79cb049f Some files have been moved into powerpc/ibm4xx. 2002-03-14 17:27:59 +00:00
eeh 6926a0dc66 Separate mainbus from pcibus. 2002-03-14 17:26:27 +00:00
martti dd7a744e5a Added (char *) for pointer arithmetic 2002-03-14 12:34:29 +00:00
martti 3e033bc0f1 Removed unused proxy file 2002-03-14 12:34:25 +00:00
martti 83b3487b70 Upgraded IPFilter to 3.4.25 2002-03-14 12:32:36 +00:00
itojun 4b327fb1f3 zlib 1.1.4 dislikes Z_FLUSH at the end of inflate(). 2002-03-14 05:18:10 +00:00
chs 1ba402084f assume that 21143 SROM info blocks are in extended format (as the spec
requires), even if the bit to indicate this is not set.
this makes Phobos P430 4-port cards work.
2002-03-14 04:44:34 +00:00
chs e444e2ddd4 regen 2002-03-14 04:41:09 +00:00
chs dc3bc0c490 add support for LXT971 PHYs. 2002-03-14 04:40:26 +00:00
eeh a3833eb1c6 Add this file. 2002-03-13 23:59:58 +00:00
ad 5d95c4499b Fix botch in previous. 2002-03-13 23:17:18 +00:00
eeh d26d3b351c This should be pretty standard. 2002-03-13 23:12:11 +00:00
eeh 2ea0541c6d Use <machine/dcr.h> 2002-03-13 23:11:33 +00:00
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