Commit Graph

166609 Commits

Author SHA1 Message Date
tsutsui f9ba3a6676 Add RAMDISK config, which has GENERIC + mdroot stuff. 2008-02-02 09:19:44 +00:00
tsutsui 2465bb71d5 Fix ttypo. 2008-02-02 09:18:00 +00:00
tsutsui fb7c8da0c1 Firstcut at sysinst for cobalt. Mostly taken from arc.
(using ext2fs instead of FAT12)
2008-02-02 09:14:32 +00:00
tsutsui 88c6f87ede Install the native bootloader (which can be loaded from MS-DOS floppy,
ISO9660 CD and FAT12 partition by the ARC BIOS) into
${RELEASEDIR}/${MACHINE}/installation.
2008-02-02 09:07:09 +00:00
sekiya 1ca3315527 Garbage-collect my old broken attempt at creating a ringbuffer for the audio
chip.  Fix grammar in a comment while I'm here.
2008-02-02 08:58:20 +00:00
itohy 612456b1a4 Clean ugly figure:
.***********************************************.
  * NetBSD-4.99.51 Install System                     * <==
  *                                               *
  *>a: Install NetBSD to hard disk                *
  * b: Upgrade NetBSD on a hard disk              *
2008-02-02 08:06:25 +00:00
itohy 4c61909d8e Limit root partition size to 2GB, since hp700 PDC can only address up to 2GB.
Should we have /stand partition a la HP-UX?
2008-02-02 06:11:23 +00:00
uwe de7abf3b9f Include std.sh3el.
Drop EXEC_ELF32 from configs now that it is standard.
2008-02-02 06:09:11 +00:00
uwe 5f972824f5 Use makeoptions DEFTEXTADDR instead of setting TEXTADDR in the makefile. 2008-02-02 05:53:40 +00:00
itohy 1371c81acf Remove ``you may remove floppy'' message from message md_hello.
As far is I know, no hp700 machines can boot from floppy.
2008-02-02 05:40:01 +00:00
itohy 274ba1cc9a Fix comment. 2008-02-02 05:33:56 +00:00
itohy 2f9ebb69fd Garbage collect unused "message fullpart". 2008-02-02 04:51:32 +00:00
tls e2205fa0bb Add CRYPTO_*_HMAC_96 defines -- missed this file in previous commit. 2008-02-02 04:46:29 +00:00
sekiya ab0a73e205 Allow sync-on-green to be controlled by ARCS environment variable "SyncOnGreen".
Set to anything starting with the letter 'n' to disable sync-on-green, set to
anything else or leave undefined to keep default behavior.
2008-02-02 04:38:37 +00:00
tsutsui 6d8f3f878b Make RAMDISK config to just include GENERIC and have md_root stuff again.
We have had the native bootloader and we no longer have size restriction.
2008-02-02 04:25:54 +00:00
itohy eaa74b11aa tabify 2008-02-02 04:24:13 +00:00
tsutsui b89379bbc7 Enable sysinst on arc.
Tested on gxemul emulating PICA, but upgrade is untested at all.

Should close PR port-arc/11444.
2008-02-02 04:23:06 +00:00
tsutsui c14c9fe83a Create a FAT12 partition and copy bootloader into there after partitioning.
Based on the simliar code on prep and ofppc.
2008-02-02 04:20:02 +00:00
itohy d11c48442b Fix comment. 2008-02-02 04:19:51 +00:00
tsutsui 2d251ce390 Make it possible to invoke newfs_msdos(8) for MS-DOS partitions
if USE_NEWFS_MSDOS is defined and the specified partition can't be mounted.
2008-02-02 04:15:27 +00:00
tsutsui 112c693a1e Remove non English translation messages for now.
They should be prepared once after we have working sysinst on this port.
2008-02-02 04:11:15 +00:00
sekiya b8d5f67d45 Define relevent register data so that we can turn off sync-on-green when needed. 2008-02-02 04:11:02 +00:00
xtraeme 3d60ce5de6 Add two examples to create and remove a RAID volume in a supported
controller... such as arcmsr(4) for now.
2008-02-02 03:21:47 +00:00
uwe 113a8429d2 Drop MACHINE_ARCH from here, it's specified with "makeoptions" in
std.sh3el now.
2008-02-02 03:14:03 +00:00
uwe ec7fffd0f0 Drop exec and endianness options that are in std.sh3* and instead
include std.sh3el.
2008-02-02 03:10:06 +00:00
uwe a82100c2ca Add back std.sh3. For now it contains obvious EXEC_* options and
CPU_IN_CKSUM.

Introduce std.sh3e{b,l} that include std.sh3 and just add
corresponding endianness options.
2008-02-02 03:06:04 +00:00
tls 9b6c682b45 From Darran Hunt at Coyote Point: don't truncate HMAC to 96 bits unless
actually asked to.

Fixed in FreeBSD a while ago, discussed on tech-kern and tech-crypto.
2008-02-02 02:39:00 +00:00
uwe 1d3b24feca Add cpu_in_cksum.S 2008-02-02 02:19:42 +00:00
uwe 8c87580a0e Convert in_cksum() to new generalized cpu_in_cksum(). 2008-02-02 02:15:40 +00:00
uwe d6b98318d5 Rename in_cksum.S to cpu_in_cksum.S as is to preserve original code in
the new file history.
2008-02-02 02:11:19 +00:00
xtraeme b5abdb42f6 Destroy the callout via sysmon_envsys_destroy() now that it's
initialized in sysmon_envsys_create().
2008-02-02 02:02:37 +00:00
xtraeme 16f978c748 Fix a bug in the 'refresh-timeout' device property that was giving
the same value to all devices even if the configuration file was
changed.
2008-02-02 01:44:04 +00:00
matt ab1d549cb1 Improve my version of mtprng_random. Reshuffle things. Add an compatible
version of init_by_array.
2008-02-02 01:13:04 +00:00
dyoung 46be8b643f Fix a two races between the initialization code and cbb(4) interrupts:
establish the interrupt handler before enabling interrupts, so that
we will not get an interrupt storm that keeps the system from making
any progress.  (We may have only been susceptible to the storm if
cbb(4) shared an interrupt with, say, uhci(4)).  Also, finish
setting up the pcic_handle before enabling interrupts, so that the
Pcic_read() call in pccbbintr() will not jump to address 0!

Now, pccbb_intrinit() encapsulates all of the interrupt initialization.

Explicitly enable card-status changed (CSTSCHG) events.

Paranoia: ensure that writes to the socket event register (interrupt
acknowledgements) are flushed to the h/w by reading the register
(gross).  We really need something like
bus_space_sync(BUS_SPACE_BARRIER_WRITE_BEFORE_INTERRUPT).

More paranoia: in pccbbintr(), if the device is inactive, get out.
2008-02-02 00:31:25 +00:00
christos 56709adfc9 Try to fix previous commit of /.. and /. handling for GLOB_PERIOD. I will
write a regression test for this.
2008-02-01 23:29:54 +00:00
xtraeme 74a0270856 aiboost_getcomp: use Package.Count to allocate and iterate over
the elements rather than Integer.Value, which sometimes doesn't
match and gives unexpected results on the error path.

This fixes the kmem_poison_check on DEBUG kernels (finally). Patch
by Fukumoto Atsushi. Thanks!
2008-02-01 23:12:30 +00:00
christos f6a680bbd6 add a couple more 2008-02-01 22:40:01 +00:00
christos ebcc6ba679 handle cap style databases. 2008-02-01 22:39:20 +00:00
dyoung b31e1f190c Use aprint_*_dev() and device_xname() instead of accessing dv_xname
directly.
2008-02-01 21:13:44 +00:00
elad cd23f36378 Replace a KAUTH_GENERIC_ISSUSER in the cpuctl code with a proper kauth
request.

Reviewed by ad@, tested by me.
2008-02-01 20:01:06 +00:00
tls 8edf0049e7 don't allocate AES keys with M_WAITOK! 2008-02-01 19:10:31 +00:00
tsutsui f27a14abed - use common/termcap.mini
- set TERM=wsvt25
2008-02-01 17:18:07 +00:00
tsutsui 4b2713682e Catch up with "Refactor in_cksum/in4_cksum/in6_cksum implementations". 2008-02-01 16:37:30 +00:00
tsutsui da6308963f Use common/termcap.mini. 2008-02-01 14:25:58 +00:00
tsutsui 8dcb83c8d0 Remove an entry for obsolete pccons. 2008-02-01 13:46:26 +00:00
tsutsui d92ad10bca Move and share a common termcap.mini file. 2008-02-01 13:43:11 +00:00
jdc 608790d545 Note bugs in the HW checksum routines. 2008-02-01 11:04:06 +00:00
jdc 0806e2a957 Disable HW RX TCP4 checksums because it is buggy (it appears to only checksum
src IP, dst IP and packet len).

Also, remove the "MAC rx fault" redundant printf().
2008-02-01 11:03:19 +00:00
jdc 129b6bc9a9 Set the chip revision in the softc. 2008-02-01 10:58:28 +00:00
jdc 16d4e38d4d Add GEM_IS_SUN macro, and chip revision to the softc. 2008-02-01 10:53:25 +00:00