Commit Graph

62551 Commits

Author SHA1 Message Date
joda
1835525147 regen: more nvidia devices 2003-03-13 17:55:57 +00:00
joda
fd202f08fe more nvidia devices 2003-03-13 17:55:24 +00:00
matt
0c29e154e3 Use __asm & __volatile to make lint(1) happy. 2003-03-13 17:30:38 +00:00
matt
8344279675 Synchronize macppc and evbppc majors when possible. Add a lot of missing
devices to evbppc.
2003-03-13 17:02:52 +00:00
drochner
6b8fef6400 cleanup, delete declarations now in libsa/iodesc.h 2003-03-13 16:02:39 +00:00
drochner
66a5580c6e Remove remaining uses of libsa/netif -- the "netif" structure was only
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 15:36:06 +00:00
hannken
42cc9f8839 Add wscons to MAKEDEV. Add wsfont major number. 2003-03-13 14:56:56 +00:00
drochner
6e14bfebea Remove remaining uses of libsa/netif -- the "netif" structure was only
used to lookup a "struct romdev", everything else was ballast.
Do it straightforward now and assign the romdev directly to io_netif.
2003-03-13 14:49:12 +00:00
scw
bfca0494bd Try to configure all children of cprc0, not just clock. 2003-03-13 14:37:36 +00:00
drochner
7d2a35f773 kill the last use of NENTS
(We shouldn't use libsa/netif here at all.)
2003-03-13 14:15:58 +00:00
drochner
a15dcfdce7 Avoid conflict with sockets[] definition in net.h
and add some typecasts.
Thanks to Juergen Hannken-Illjes for compile-checking.
2003-03-13 14:05:53 +00:00
drochner
20b8952600 cope with removal of this sick NENTS macro from libsa/netif.h 2003-03-13 13:59:11 +00:00
briggs
85d93f8d10 Detect SMC EZ Card as 64-bit. Patch from Pavel Cahyna in kern/20680. 2003-03-13 13:57:01 +00:00
drochner
e537123c66 cope with changes to libsa/netif.h
(This shouldn't use libsa/netif at all.)
2003-03-13 13:55:24 +00:00
tsutsui
9053a4f127 NEC RISCstation 2200 (NEC-R94) doesn't have the secondary SCSI,
so prepare struct pica_dev for R94 in p_nec_r94.c to handle its quirk.
The problem was reported by David Hopper on port-arc.

XXX We should use ARC BIOS to get info of these devices.
2003-03-13 13:52:09 +00:00
scw
d4f824014d A bunch of things:
- Clean up the way cpu-specific tlb/cache functions are configured
    and used.
  - Add a workaround for a problem whereby cpu* at superhyway? fails
    to probe.
  - Print more info about the cpu/cache.
  - Move the RESVEC handlers back into generic sh5 code and ditch
    the panic stack hack.
  - Make the on-chip SCIF device the default console on Cayman.
  - Add experimental support for booting via a standalone bootstrap
    program (not yet committed) and using the boot parameters passed
    in by it.
  - Add a few more SH elf constants.
  - Tick a couple of items off the TODO list.
2003-03-13 13:44:16 +00:00
drochner
caa65123a8 cope with removal of this sick NENTS macro from libsa/netif.h 2003-03-13 13:35:55 +00:00
scw
31b3a7c37f In scif_getc(), check SCIF_SCFSR2_RDF in addition to SCIF_SCFSR2_DR to
detect waiting Rx data. This fixes an occasional console lockup when
when pasting text at the ddb prompt.
2003-03-13 13:19:01 +00:00
drochner
e7bde1e9c7 adapt for void *io_netif 2003-03-13 12:44:48 +00:00
drochner
47fe380b4c make netif_close() return value void
fix prototype
2003-03-13 12:15:31 +00:00
hannken
f2746edc5b Explicit cast for netif.
Approved by: Matthias Drochner <drochner@netbsd.org>
2003-03-13 12:02:54 +00:00
drochner
e5cc00b939 Remove remaining uses of libsa/netif -- the "netif" structure was only
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 11:35:54 +00:00
dsl
30630417a8 Validate pgid arg to TIOCSPGRP 2003-03-13 10:24:38 +00:00
dsl
a485005f79 Ensure that the pgid arg to TIOCSPGRP is in the current session.
Correctly treat a +ve value as a pgid and a -ve one as a pid.
2003-03-13 10:20:06 +00:00
dsl
53d2320e25 Check that the process/process group id passed to TIOCSPRP is in the session
of the current process.
2003-03-13 10:18:35 +00:00
bsh
436b3debe1 make this compile with SLHCI_DEBUG 2003-03-13 06:50:23 +00:00
simonb
3c7ff59b5b Sprinkle some "volatile"; fixes problems with the {read,write}_{1,2}
functions big-endian Au1xxx CPUs.
2003-03-13 03:04:13 +00:00
dsl
741870b7ef Validate that pgid argument to TIOCSPGRP in part of current session.
Treat +ve numbers as process group ids and -ve as pids (see tcsetpgrp() in part of current session.
Treat +ve numbers as process group ids and -ve as pids - see tcsetpgrp(3).
(approved by christos)
2003-03-12 23:00:03 +00:00
dsl
5786e3a6e8 Add pgid_in_session() for validating TIOCSPGRP requests
(approved by christos)
2003-03-12 22:54:44 +00:00
dsl
1c38f38f99 Add pgid_in_session() for validating TIOCSPGRP requests
(approved by christos)
2003-03-12 22:16:31 +00:00
drochner
9b72b507ef -use our own netif layer
-call the pxe unload function only on close(), not on open() errors,
 so we have a chance to retry
-remove some remaining references to NFS
2003-03-12 17:35:57 +00:00
drochner
168322ea77 kick out mi libsa/netif.c references 2003-03-12 17:33:55 +00:00
drochner
542ccfb0d5 Kick out the netif layer from mi libsa and implement an own, smaller, one
(we really don't need to support multiple interfaces)
Also arrange things so that we are able to unload the PXE stacks only
when we are sure that we don't need them anymore. (To make this more
useful, a hook in exec() is needed.
2003-03-12 17:33:10 +00:00
drochner
68edf0e576 separate ether_sprintf() from the rest of ethernet support -- sometimes
it makes sense to use the former w/o the latter (eg PXE)
2003-03-12 16:46:31 +00:00
dsl
8bf20eda9b KNF function prototypes 2003-03-12 16:39:01 +00:00
dsl
4f78d8c26a Need to call calcru while l->l_stat == LSONPROC 2003-03-12 15:26:33 +00:00
drochner
7b3b2ea783 no need to include "netif.h" anymore
(shared interface stuff is in iodesc.h, included by net.h)
2003-03-12 14:51:31 +00:00
drochner
7816074c59 separate the netif interface from the rest of the networking code,
so that it can be replaced easily in md code
2003-03-12 14:49:19 +00:00
minoura
552efeab39 Disable ISA DMA emulation for SoundBlaster module explicitly.
This fixes the floppy access problem on some hardware.
Problem reported by Miroslav Kure via Jason Wright <jason [at]
thought [dot] net> of OpenBSD. Thanks.

Fix from ALSA driver; although this setting is undocumented but
according to Jaroslav Kysela <perex [at] suse [dot] cz> of ALSA,
there's no error reported so far.
2003-03-12 13:36:22 +00:00
minoura
f5e8ac30e3 Typo.
Register value symbols YDS_PCI_EX_LEGACY_SBMOD_* ->
YDS_PCI_EX_LEGACY_SMOD_*.
2003-03-12 13:28:19 +00:00
drochner
1ebc8c2dbd cleanup:
-update comments
-remove remaining references to "bootparam"
-don't try to interpret extra arguments to net_open() - we
 get only passed a NULL anyway (see devopen.c)
2003-03-12 13:15:08 +00:00
drochner
c693137139 sync with mi libsa/nfs.c (with the intent to replace it eventually):
-kill "register" attributes
-obey "LIBSA_NO_TWIDDLE"
-ignore leading "/" also in the NFS_NOSYMLINK case
2003-03-12 12:23:06 +00:00
jdc
cc782e8a7e Make this compile with only SUN4 defined. 2003-03-12 07:51:00 +00:00
matt
cd26de2684 Same code exists in both halves in #ifdef/#else/#endif. move it outside. 2003-03-12 06:00:36 +00:00
wiz
5feeffaf69 Remove some. 2003-03-12 00:24:41 +00:00
wiz
b413b8eb87 Update script for bktr-sf imports. 2003-03-12 00:23:39 +00:00
wiz
fa96c20c88 Merge some more. 2003-03-12 00:19:20 +00:00
wiz
0cdd0c6614 Merge first bktr-sf import. 2003-03-12 00:14:40 +00:00
thorpej
7d8f167f16 Split bus_space and bus_dma into separate files. 2003-03-12 00:09:51 +00:00
wiz
a0685571bd Import of current state of bktr(4) in sourceforge repository.
Changes since last import:
. lots of whitespace cleanups
. typo fixes (e.g. hz, compatibilty)
. fix brightness ioctl return value
. wait for int ready using DELAY() instead of tight loop
2003-03-12 00:02:19 +00:00