Commit Graph

51652 Commits

Author SHA1 Message Date
atatat
d2c23d82a1 TRY_SCSI_LINKED_COMMANDS is a param, not a flag. 2001-12-05 22:15:05 +00:00
atatat
7ac1189351 Remove a redundant definition of __KERNEL_RCSID() that was redundantly
defined.
2001-12-05 21:06:51 +00:00
bouyer
3fe7074804 Compile with NWD == 0. Fixe kern/14844 by hamajima@nagoya.ydc.co.jp. 2001-12-05 20:43:00 +00:00
augustss
b24bbb4d82 Constify a little. 2001-12-05 20:00:15 +00:00
augustss
47fffba901 Add dongle specific code. 2001-12-05 19:59:54 +00:00
fredette
1a3eaeafd8 Now generate oosiop.out, the compiled 53c700 script. 2001-12-05 18:34:19 +00:00
fredette
ba3be8d408 Generated from oosiop.ss rev. 1.1:
Initial compiled script for 53c700.
2001-12-05 18:32:55 +00:00
fredette
60c77bb2f1 Added support for the Symbios/NCR 53c700 SCSI controller.
This chip is very similar to the 53c710, except that it's
missing a few registers, doesn't do relative jumps and
doesn't have the table-indirect addressing mode.

I have checked that this still generates the same output
on the existing scripts for the other chips.
2001-12-05 18:31:53 +00:00
fredette
8dce160cd1 New script for the Symbios/NCR 53c700 SCSI controller.
This is closely related to osiop.ss, the script for the
53c710.
2001-12-05 18:27:13 +00:00
atatat
2f31dcd126 It's not called "opt_fpuemulate.h", it's called "opt_fpu_emulate.h". :) 2001-12-05 18:04:35 +00:00
augustss
fe61017def Add (commented out) irframetty. 2001-12-05 16:48:03 +00:00
augustss
88b5ed0731 Use NULL instead of 0 in a few places. 2001-12-05 16:12:42 +00:00
augustss
81f90d8cd3 Use the right name to decide if we should use irframe entry. 2001-12-05 16:10:09 +00:00
augustss
bd8b498c42 Do SIR framing on incoming frames. 2001-12-05 15:51:11 +00:00
augustss
8c2cf4c7d8 Break out SIR framing to its own file. 2001-12-05 14:50:13 +00:00
mrg
c3409421aa add commented BLINK option. 2001-12-05 13:29:24 +00:00
wiz
31fcd50433 Use defparam instead of defflags for some bktr(4) related options that need
a value.  Add BKTR_REVERSE_MUTE to defflags.
2001-12-05 11:41:16 +00:00
simonb
20a3ef2b53 Remove some debug printf()s. 2001-12-05 10:54:51 +00:00
enami
4654f5c754 Implement sigismasked() correctly. KNF while I'm here. 2001-12-05 07:32:24 +00:00
lukem
e35019c17b Add <sys/hash.h>, which currently implements three inline functions:
uint32_t hash32_buf(const void *buf, size_t len, uint32_t ihash)
	return 32 bit hash of buf, size len,
	seeded with initial hash of ihash (usually HASH32_BUF_INIT).
	this hash may use a different algorithm to hash32_str() and
	hash32_strn().

    uint32_t hash32_str(const void *buf, uint32_t ihash)
	return 32 bit hash of buf, which is an NUL terminated ascii string,
	seeded with initial hash of ihash (usually HASH32_STR_INIT).
	this hash may use a different algorithm to hash32_buf()
	but must use the same algorithm as hash32_strn().

    uint32_t hash32_strn(const void *buf, size_t len, uint32_t ihash)
	return 32 bit hash of buf, which is an NUL terminated ascii string
	up to a maximum of len bytes,
	seeded with initial hash of ihash (usually HASH32_STR_INIT).
	this hash may use a different algorithm to hash32_buf()
	but must use the same algorithm as hash32_str().

As discussed on tech-kern@netbsd.org.
2001-12-05 06:51:55 +00:00
chs
5e5ab17808 fix the sense of a MULTIPROCESSOR conditional, cpus after the first are
not configured if MULTIPROCESSOR is *not defined.
2001-12-05 05:13:50 +00:00
chs
f0d9c43220 fix macppc MULTIPROCESSOR compilation. 2001-12-05 05:02:10 +00:00
lukem
c0d0f0b31c convert from macros to static inlines. allen briggs confirms resultant code
is the same with -Ox, for x>0 (as expected).
2001-12-05 04:37:28 +00:00
augustss
9c8fe0b8c5 Put bytes on right q. 2001-12-05 04:31:02 +00:00
augustss
0913a897a5 Set error code for IRDA_RESET_PARAMS. 2001-12-05 04:30:24 +00:00
augustss
af5eb6fc8c Fix some minor bug.
Add more debugging.
2001-12-05 04:07:06 +00:00
augustss
b81ddff1a7 Reset parameters on open. 2001-12-05 04:06:32 +00:00
augustss
efade85d8e Make the right defaults for kbdmux and mux locators. 2001-12-05 04:05:37 +00:00
simonb
a9f73b2015 s/defopt/defparam/ in previous; from lukem. 2001-12-05 03:50:09 +00:00
simonb
8a32c6fbfa Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask. 2001-12-05 03:24:57 +00:00
minoura
88031f5a81 Correct LINKS to install sdboot_ufs properly. 2001-12-05 02:07:09 +00:00
enami
76858f7620 When initially allocating or extending arrays in struct uvm_amap,
adjust allocation size using malloc_roundup().  This eliminates many
unnecessary malloc/memcpy calls.
2001-12-05 01:33:09 +00:00
enami
996ee10484 Introduce new function malloc_roundup(), suggested by Bill Sommerfeld
on tech-kern.
2001-12-05 01:29:04 +00:00
augustss
037eb62a0f Mention that much of the code was stolen from Tommy Bohlin. 2001-12-05 01:13:58 +00:00
thorpej
03efee5585 * Allow machine-dependent code to specify hooks for ptrace(2)
(__HAVE_PTRACE_MACHDEP) and procfs (__HAVE_PROCFS_MACHDEP).
  These changes will allow platforms like x86 (XMM) and PowerPC
  (AltiVec) to export extended register sets in a sane manner.

* Use __HAVE_PTRACE_MACHDEP to export x86 XMM registers (standard
  FP + SSE/SSE2) using PT_{GET,SET}XMMREGS (in the machdep
  ptrace request space).
* Use __HAVE_PROCFS_MACHDEP to export x86 XMM registers via
  /proc/N/xmmregs in procfs.
2001-12-05 00:58:05 +00:00
enami
fbfa7f8e61 No need to zero clear after amap->am_bckptr[amap->am_nslot], since we're
clearing corresponding elements in an array amap->am_anon[].
2001-12-05 00:34:05 +00:00
enami
d2391ede6a Remove extern from function prototype. 2001-12-05 00:00:10 +00:00
enami
769949847d KNF and other cosmetic changes. 2001-12-04 23:56:36 +00:00
augustss
3ead5262dd Add some dongle support ioctl()s. 2001-12-04 23:33:33 +00:00
lukem
612e777b6e s/defopt/defflag/ 2001-12-04 23:14:48 +00:00
manu
9dfecbefdb Fixed stack setup for argument passing. argc and **argv need to be aligned
on a 16 bytes boundary. To get things done, we currently duplicate a lot of
code from copyargs(), this should be done in a nicer way.
2001-12-04 22:13:41 +00:00
augustss
527fff66c0 Change speed setting a little. 2001-12-04 21:50:50 +00:00
augustss
e0b032d651 Add ir/ to SUBDIR. 2001-12-04 21:43:44 +00:00
ross
cbaa950b62 code cleanup for portability 2001-12-04 21:32:15 +00:00
augustss
64a9c02472 Implement speed setting. 2001-12-04 20:53:21 +00:00
jdolecek
a275d0a6b9 clarify copyright - this is all freshly written, no older code used 2001-12-04 20:51:23 +00:00
jdolecek
f1243fa104 add 'esp at mca? slot ?' and 'scsibus* at esp?' 2001-12-04 20:49:40 +00:00
jdolecek
7a12ca98ab Make this NCR 53C90 driver work, using the chip information from
Tymm Twillman's Linux mca_53c9x driver.
Tested with external ZIP100 only.
2001-12-04 20:47:58 +00:00
jdolecek
c152d680d8 Add M_CANFAIL malloc(9) flag. This flag changes behaviour in M_WAITOK
case when the requested memory size can't ever be granted - instead
of panic, malloc(9) would return failure (NULL).
Note kernel code should do proper bound checking, rather than
depend on M_CANFAIL. This flag is only supposed to be used in very
special cases, where common bound checking is not appropriate.

Discussed on tech-kern@, name ``M_CANFAIL'' suggested by Chuck Cranor.
2001-12-04 20:13:19 +00:00
sommerfeld
ceb358f80c Fix so these files build with options DEBUG enabled.
The change to edc_mca.c may not work as I don't have any mca hardware.
2001-12-04 20:00:15 +00:00