Commit Graph

96212 Commits

Author SHA1 Message Date
bouyer
4b307fe0af It's not safe to access the SCNTL1 register while the SCRIPT is running.
On the 1010 this can wedge the chip. So abort the script instead.
the abort interrupt will trigger a bus reset.
2002-04-25 20:05:10 +00:00
nonaka
bd48cc822b Added PPCDIR 2002-04-25 19:47:52 +00:00
bouyer
916ef37c06 Regen: 2 DSA entry per lun, load SCRATCHC before select, avoid race condition
when setting f_cmd_free.
2002-04-25 19:35:07 +00:00
bouyer
f66f6c27a6 - We can't share the per-lun DSA entry for untagged and tag table DSA;
there may be tagged commands still running when we queue a request sense
  command.
  Solve this by using 2 DSA entry per LUN
- Now that we have the command DSA before select, we can load T/L/Q in
  SCRATCHC. This makes the selection timeout handler simpler.
- Avoid a race condition when setting the free flag in the cmd ring (see
  comment in the script)
- don't forget to update the ID in the head of LUN table after a sync/wide
  negotiation. This fixes the command timeout at the first data command
  after negotiation (the bus reset handler did update the ID properly,
  so subsequent commands were OK).
- for DMA interrupts, clear fifo if it's not empty. Leaving the fifo dirty
  would prevent subsequent interrupts from coming in.
- Various improvements in debug messages
- misc cleanups.
2002-04-25 19:34:02 +00:00
matt
f53d9a4fa7 Use BAT1 to map the primary I/O segment at 0x80000000 so we don't have to
bat-flip for those accesses.
2002-04-25 19:32:59 +00:00
ad
4a46e19dcf Set xs->error = XS_SENSE in the appropriate spot. 2002-04-25 18:45:35 +00:00
tv
659104213a Proper usage of HAVE_CONFIG_H. 2002-04-25 18:16:49 +00:00
tv
4887cf3412 HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when HAVE_CONFIG_H,
rather than creating more stubs.
2002-04-25 18:11:53 +00:00
uch
4d7b6d37d1 switch to NEW_TOOLCHAIN 2002-04-25 17:01:47 +00:00
wiz
7ef7b3071d Another options<TAB> -> options<SP><TAB>, noted by Patrick Welche. 2002-04-25 15:22:44 +00:00
wiz
8a46d7046a Replace some more options<TAB> with options<SP><TAB>.
Noted by Patrick Welche.
2002-04-25 15:21:59 +00:00
atatat
d1b3852365 Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +00:00
briggs
9fd5e995b2 Add makeoptions PPCDIR. 2002-04-25 15:03:26 +00:00
briggs
50d078343a Use powerpc generic genassym.cf 2002-04-25 15:02:54 +00:00
tv
126e6f1a62 Correctly obey $(EXEEXT) if set. (Bad automake. Bad, bad automake.) 2002-04-25 15:02:40 +00:00
atatat
29bf0c2821 Implement CRON_TZ and CRON_WITHIN to provide finer control over job
execution.  CRON_TZ sets the time zone within which a job is
considered for execution (but not in which it runs), and CRON_WITHIN
allows jobs to be skipped whose execution is delayed for any reason
(eg, the system was sleeping or the load average is too high for
timely execution).
2002-04-25 14:45:05 +00:00
itojun
9bdb5743dd avoid buffer overrun on PASV from malicious server.
http://online.securityfocus.com/archive/1/269356/2002-04-22/2002-04-28/0
2002-04-25 10:55:43 +00:00
itojun
2e7169447f use in_aliasreq for inet address manipulation, not ifaliasreq. they have
different alignment constraint.  [tests on 64bit arch wanted]
2002-04-25 09:39:17 +00:00
aymeric
90d26c8828 o replace definitions by declarations in header files
o put definitions where due
o cleanup some types  (u_int -> vaddr_t's for example)
o minor other cleanup
2002-04-25 09:20:25 +00:00
simonb
fa61e6cd3b In the LOCKDEBUG case, call exit2() before sched_lock_idle() so
that the exitting process pointer in a0 doesn't get overwritten by
sched_lock_idle().
2002-04-25 06:55:53 +00:00
briggs
3d46ca0e98 XSCALE_CCLKCFG should not be set in std.iq80310. Set IQ80310 to use
XSCALE_CCLKCFG=9 (733MHz) and TEAMASA_NPWR to use XSCALE_CCLKCFG=7 (600MHz)
as that's what the part on the board is rated for.
2002-04-25 01:50:00 +00:00
thorpej
1ca5e360be Use LOADADDR() where appropriate. 2002-04-25 01:48:21 +00:00
briggs
24bc04a204 80321 doesn't have a CCLKCFG register. 2002-04-25 01:47:56 +00:00
thorpej
48774f52db Add iq80321.c 2002-04-25 01:47:54 +00:00
thorpej
509fd84067 Add iq80310.c 2002-04-25 01:47:41 +00:00
kleink
d4fbf896be Note eso(4) attachment. 2002-04-25 00:59:25 +00:00
kleink
7d15aed65e Attach joy(4) at eso(4). 2002-04-25 00:57:47 +00:00
kleink
8f5a689d48 Attach joy* at eso?. 2002-04-25 00:54:54 +00:00
kleink
22e2d71a5f Add a joystick attachment to the ESS Solo-1 driver. 2002-04-25 00:52:21 +00:00
kleink
af131f109a Add an `aux' audio device sub-type, to be used to attach parent
device-specific children to an audio device; per discussion with
Lennart Augustsson.
2002-04-25 00:50:39 +00:00
eeh
dcb399fc7c Don't need to flush the d$ for MMU bypass accesses. 2002-04-24 23:54:24 +00:00
bjh21
2fb16bb43f Set PAX in buildfloppies.sh's environment. 2002-04-24 23:04:08 +00:00
bjh21
38bcf69e6b ... and in NetBSD-current, <netinet/in.h> needs <sys/types.h>. 2002-04-24 22:44:40 +00:00
bjh21
440dad2fb9 On NetBSD, <arpa/inet.h> needs <netinet/in.h>. POSIX-2001 says it shouldn't,
but cope anyway.
2002-04-24 22:34:07 +00:00
eeh
d188ed6784 Backport from -current a fix for structure passing lossage. 2002-04-24 22:28:36 +00:00
nathanw
43634bc5ba Since kinfo_proc2 has many values that are 64-bit, ps needs to know
that they're 64-bit, and grab them out of memory appropriately. Otherwise,
big-endian systems get the wrong end of the 64-bit value and lose.

Keywords affected: inblk, majflt, minflt, msgrcv, msgsnd, nivcsw, nsigs,
nswap, nvcsw, and oublk.
2002-04-24 21:41:22 +00:00
thorpej
8eef8db58c Build a gzboot image for the TeamASA Npwr. 2002-04-24 21:24:16 +00:00
bjh21
d68e9d36ad Check for the location of sh on the path, and use that to construct the
value for _PATH_DEFSHELLDIR.  In theory, _PATH_DEFSHELLDIR will also be
used to find csh, but ".SHELL csh" shouldn't be used anywhere in our source
tree, and this make shouldn't be used for other things.

This should cause nbmake to use the right shell for most purposes when
cross-compiling from Solaris.
2002-04-24 21:20:08 +00:00
thorpej
f897638a44 Allow the name of the gzboot image to be different from the name
of the kernel configuration.
2002-04-24 21:17:31 +00:00
bjh21
a29c20f490 Remove an "eval" from docmd, in order to stop it over-evaluating things
(and losing quotes from DEFS).
2002-04-24 21:17:24 +00:00
thorpej
f13a1f0948 Allow which kernel for a specific kernel config to be specified (e.g.
netbsd-sd0, netbsd-wm0, etc.).
2002-04-24 21:09:57 +00:00
thorpej
2fb4fdf715 Fix kernel suffix processing:
* Don't put .WAIT in ${KERNELS}.
* Make sure to add suffixed kernel names to ${KERNELDEPS}.
2002-04-24 21:03:42 +00:00
bjh21
628b5efe85 Allow the makefile to override _PATH_DEFSHELLDIR as well. 2002-04-24 20:38:47 +00:00
thorpej
643663fa93 Go back to siop; esiop isn't fully baked yet. 2002-04-24 20:38:24 +00:00
thorpej
8a0e1d451e Add iq80321.c 2002-04-24 20:37:46 +00:00
thorpej
f2074c92de Add iq80310.c 2002-04-24 20:36:59 +00:00
bjh21
a533ffac94 Add a configuration for an installation ramdisk kernel. 2002-04-24 19:50:25 +00:00
bjh21
a3112ce1b9 Rather than hardcoding two possible locations of the POSIX shell (for
Solaris and everything else), set _PATH_BSHELL to the first occurrence of
"sh" on the path.  This should be rather more portable.
2002-04-24 19:41:58 +00:00
bjh21
f47cb92e18 audio -> audiobus rename. 2002-04-24 17:52:48 +00:00
bjh21
df42dd4c9f Include <arpa/inet.h> to get htonl(). This is necessary on Solaris, and
POSIX says that's the right header for it.
2002-04-24 17:49:52 +00:00