Commit Graph

96348 Commits

Author SHA1 Message Date
msaitoh 271b97bb3b add SH4 Processor Version Register 2002-04-26 11:56:02 +00:00
msaitoh f6bf722a2e fix around PTR and PDR 2002-04-26 10:22:53 +00:00
perseant c5f5fa476f Fix error in how much memory needed to be allocated to check data cksum
to proceed with adding segments.

Use fixed-width types to compute checksum, so LP64 machines can do it too.

Tested on alpha; test-compiled on arm32.
2002-04-26 04:34:41 +00:00
thorpej e2a2842013 Keep track of which DMA window was actually used to map the
request (not always the passed in DMA tag if we try direct-map
and then fall back to sgmap-mapped).  Use the actual window
when performing dmamap_sync and dmamap_unload operations.

Fixes DMA resource leak on systems with 2G+ RAM.  Thanks to
Matt Thomas for help debugging this.
2002-04-26 04:15:18 +00:00
lukem 51fa6a7f42 remove stuff migrated to ../ramdisk or ../miniroot 2002-04-26 03:58:41 +00:00
enami 6335b88f05 We don't need to re-activate page in genfs_putpages() when GOP_WRITE returns
ENOMEM (temporary memory shortage) since it is already handled in
uvm_aio_aiodone() for both async/sync case.  Discussed with chuq.
2002-04-26 03:57:31 +00:00
lukem 53f41a1d9d use ${WORKDIR} instead of ${TARGETDIR}, since the latter is only valid
within parselist.
2002-04-26 03:49:21 +00:00
lukem e9e28d241a Migrate to a distrib framework closer to how other ports work.
Arguably this could be moved to using the distrib/miniroot
infrastructure instead.

XXX: This could benefit from being crunchgen-ed with libhack;
currently it just uses a lot of stuff out of ${DESTDIR}
2002-04-26 03:49:05 +00:00
lukem b5ad808f0c remove non mount_* links to mount_* programs... 2002-04-26 03:38:19 +00:00
lukem 68e32c4166 move files from ../common/ that are only used in this directory to here 2002-04-26 03:29:32 +00:00
lukem 7abb10eb65 convert to be closer to the other distrib dirs:
- take advantage of Makefile.mdset
- use list instead of ramdisk.list, and remove special srcdirs for init
  and dd since they understand -DSMALLPROG
- use full-path style specfile mtree.conf instead of
  old-style specfile ../common/ramdisk.tree
- ensure IMAGEDEPENDS is in sync with list
(xxx; untested :)
2002-04-26 03:15:15 +00:00
lukem 63f4cf909a this shouldn't be necessary 2002-04-26 02:56:45 +00:00
lukem 919d3f7830 use ${RELINSTALL} instead of cp -p 2002-04-26 02:54:59 +00:00
lukem b15f81d077 - call ${INSTALLBOOT} with -m ${MACHINE}
- use check_RELEASEDIR
2002-04-26 02:51:47 +00:00
itojun 812e154ef2 netbsd uses EXIT STATUS, not RETURN VALUES, for commands 2002-04-26 02:48:54 +00:00
wiz 77e1048dc4 Whitespace fixes, use standard headers, RCS police. 2002-04-26 02:33:00 +00:00
thorpej 1c2f7845de Build gzboot_TEAMASA_NPWR_flash_0x00080000. 2002-04-26 02:31:57 +00:00
wiz 8366b5d7de Sort sections and SEE ALSO, add NetBSD tag. 2002-04-26 02:31:10 +00:00
wiz 23b4e81d1c Sort sections. 2002-04-26 02:28:32 +00:00
wiz 7454d828a0 Sort SEE ALSO, and update date for aac addition. 2002-04-26 02:26:46 +00:00
itojun cd1e16de59 upgrade to KAME racoon as of 2002/4/26.
file descriptor leak fix.
null encryption algorithm key length fix (should use 0).
couple of null-pointer reference fixes.
set port # to 500 in ID payload (possible interop issue - spec is unclear).
correctly match address pair on informational exchange
2002-04-26 02:25:13 +00:00
itojun b4df5a033c KAME racoon as of 2002/4/26 2002-04-26 02:16:38 +00:00
ad 77e08f053a Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.
2002-04-26 02:05:07 +00:00
matt 570b8f5fd5 Use the right name for the install kernel. 2002-04-26 01:26:49 +00:00
lukem 39a9178088 - Improve wscons.conf(5)
- Add support for "setvar", which allows setting of arbitrary wsconsctl(8)
  variables.  Per email on tech-userlevel from Julio Merino <jmmv@hispabsd.org>
2002-04-26 00:06:53 +00:00
kleink 07f08f3f5f Convert to use libsa byteorder interfaces. 2002-04-25 23:30:26 +00:00
thorpej 8bd36dc909 Make a comment describe what the code actually does. 2002-04-25 23:23:23 +00:00
lukem 8c8b91af6a todd forgot to remove this one in his HAVE_CONFIG_H rototill... 2002-04-25 22:46:35 +00:00
bjh21 1ed1635947 Set MDSETDIR more usefully. 2002-04-25 22:33:50 +00:00
thorpej 6b4a2676fd Give gzboot a 1M heap, so that loading gzip -9'd kernels works
reliably.
2002-04-25 22:30:38 +00:00
thorpej 248e944701 Allow the size of the heap to be specified at build time. 2002-04-25 22:11:51 +00:00
nonaka 695f28419c remove show CPU & L2 cache info routine. 2002-04-25 20:40:16 +00:00
nonaka 93dfb931be Separate consinit. 2002-04-25 20:36:50 +00:00
msaitoh 0465d9b191 add missing SCPDR_SCP0DT definition 2002-04-25 20:17:04 +00:00
leo 76fe1572d8 Add aout->ELF upgrade support. 2002-04-25 20:16:08 +00:00
nonaka f969157ab1 Use powerpc/mpc6xx/genassym.cf 2002-04-25 20:07:39 +00:00
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