Commit Graph

88244 Commits

Author SHA1 Message Date
enami 6a043f1db9 Protect multi statement macro with do {} while (0). This is not cosmetic. 2001-11-21 00:55:39 +00:00
enami bc2805c808 Cosmetic changse. 2001-11-21 00:48:28 +00:00
enami 1ffafc030e Extend an array before allocating an element. This makes cleanup code a bit
simpler since we no longer need to worry about an element not in an array yet.
2001-11-21 00:47:56 +00:00
enami 31b84bf30a Check array boundary correctly. 2001-11-21 00:40:56 +00:00
enami 5413315441 Print evcnt/intrcnt as unsigned. 2001-11-21 00:38:50 +00:00
augustss b171d0908b Create a special kernel thread to run the usb short lived tasks (instead
of using the device discovery threads).
2001-11-20 23:53:26 +00:00
thorpej bcc50e9703 Use strncmp() when looking up volume files. 2001-11-20 23:09:45 +00:00
thorpej c8f26da0bd - General code cleanup (and enable warnings).
- It's perfectly legal to have an 8 byte volume filename; the trailing
  NUL is not required in this case.
- Default the partition type to "4.2BSD", not "EFS".
2001-11-20 23:07:16 +00:00
manu 482b5bcec3 Removed unused (commented out) code 2001-11-20 21:50:13 +00:00
manu 675946fd1c Fixed the Linux signal trampoline and linux_sys_sigreturn(). Linux signal
delivery now seems fully functionnal.
2001-11-20 21:37:50 +00:00
rafal 52f4b0490c Stylistic fix to last. 2001-11-20 21:21:03 +00:00
augustss 9716a5f26d Don't bother with interrupts when being disconnected. 2001-11-20 21:12:46 +00:00
soren 3f54e2c74f Add stand to SUBDIR. 2001-11-20 18:37:00 +00:00
soren 0f71151d6e stand Makefile. 2001-11-20 18:36:31 +00:00
soren 1e6da897d3 Michael Hitch's volume header tool. 2001-11-20 18:35:22 +00:00
soren 5ecc88dc2f Correct previous, pointed out by mhitch:
makebootdev() sets not booted_device but booted_protocol, so test for that.
2001-11-20 18:06:40 +00:00
thorpej f934d91c74 The 2nd SCSI controller is now supported; remove it from the TODO list. 2001-11-20 17:38:31 +00:00
tv d00721de07 :U can't be used to test for existence, as the variable may contain an
arbitrary value; change back to .if !defined().  Problem noted by
bernd@arresum.inka.de in PR toolchain/14629.
2001-11-20 17:12:22 +00:00
tv d027b1e973 No, really revert previous. Recursing to etc works, and I'm in the middle
of fixing distrib right now.  If something's broken, please report it via
the proper channels.
2001-11-20 17:05:02 +00:00
soren e5c4213a9f etc Makefile.inc for sgimips. 2001-11-20 16:41:44 +00:00
augustss a8de831b24 Support port indicator light. 2001-11-20 16:25:35 +00:00
rafal 6c04d91bae Post Jason's autoconfig cleanup, the DMA tags are actually passed in from
the parent, so we don't need to look at the innards of bus_dma anymore.
Also, remove the Todo item pertaining to autoconfig cleanup from the list
in the comments.
2001-11-20 16:10:49 +00:00
augustss 2f560c9410 Sanity check max packet lengths. 2001-11-20 16:09:01 +00:00
rafal c4596a56c0 Fix up Jason's last cleanup (thanks for that, btw!!)... Don't attach
hpc child devices that don't match our systype.  Attempting to attach
a wdsc1 on my Challenge S locks the box hard.
2001-11-20 16:09:00 +00:00
augustss 7679101a11 Add a comment. 2001-11-20 16:08:37 +00:00
augustss e5353fd3b5 Use longer reset for root hubs (as told in the spec). 2001-11-20 16:08:10 +00:00
thorpej ba119b4fb0 Split the "distribution" target into "distribution" and "install-etc-files",
the latter being called by the "distribution" target.  This allows the
various /etc/... files to be installed manually in a convenient way, if
desired.

NOTE: It is INTENTIONAL that this target is not named "install".
2001-11-20 16:07:59 +00:00
soren 4004df64a0 Add sgimips sysinst support from Scott G. Taylor. 2001-11-20 15:53:22 +00:00
thorpej e5dbd7b652 No, really take etc and distrib out of the default subdir
list.  We've waited too long for the null target sweep.
2001-11-20 15:20:28 +00:00
lukem 0fa231134c - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
augustss 8366f16a80 Don't wait for door bell interrupt when controller has been disconnected. 2001-11-20 14:28:44 +00:00
augustss 86e6ea35eb Update for new speed handling. 2001-11-20 13:50:07 +00:00
augustss a598bed92e Simplify async list handling. 2001-11-20 13:49:23 +00:00
augustss b38958f960 Use device speed in setup.
Simplify async list handling.
2001-11-20 13:49:07 +00:00
augustss 7e4459fe10 Keep track of device speed for USB 2.0. 2001-11-20 13:48:03 +00:00
augustss 482dbdf4e3 More USB 2.0 definitions. 2001-11-20 13:46:09 +00:00
lukem 03aef4723c cleanup:
options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
lukem fac48ee4de whitespace cleanup
add (commented out) RAID_AUTOCONFIG below raidframe entry
2001-11-20 12:46:15 +00:00
lukem 26930db20a regenerate for whitespace cleanup 2001-11-20 11:30:44 +00:00
lukem fdd071b188 cleanup whitespace 2001-11-20 11:29:41 +00:00
lukem 5997b30883 remove trailing whitespace (including in generated files) 2001-11-20 11:26:10 +00:00
lukem 0514531239 attempt to describe KGDB_DEV* options 2001-11-20 08:49:31 +00:00
lukem 99bccc3cab - pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
	KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
	DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for  options KGDB_DEVNAME="\"com\""
- use correct quotes for  options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +00:00
chs 7305fb6b53 include COMPAT_AOUT_M68K stuff. 2001-11-20 07:48:31 +00:00
chs 77b6c48c4c support both ELF and a.out symbols for DDB. 2001-11-20 07:45:04 +00:00
enami d4813d9d45 Just test if DEBUG_MEMLOAD is defined or not instead of testing its value. 2001-11-20 07:44:17 +00:00
enami 78bcf7e362 Cosmetic changes to previous commit. 2001-11-20 07:42:33 +00:00
enami 39ab348507 Call pr_log(PRLOG_GET) when POOL_DIAGNOSTIC is defined instead of DIAGNOSTIC
for consistency.
2001-11-20 06:57:04 +00:00
shin 07356ec733 improve r4k_sdcache_XXX_generic(). 2001-11-20 06:32:21 +00:00
lukem 399b58be96 whitespace cleanup 2001-11-20 06:00:09 +00:00