Commit Graph

74467 Commits

Author SHA1 Message Date
ad a06fc2bf4b Fix thinko in previous. 2001-01-03 21:17:05 +00:00
ad 5fcbd5f722 - Fix a number of bugs with the configuration stuff.
- Bash the passthrough interface into working order.
- Add an ioctl to retrieve the `tidmap'.
2001-01-03 21:04:01 +00:00
ad 8494f44b67 Make dumps work, and put the first part of detach into ld.c. 2001-01-03 21:01:28 +00:00
thorpej c3d730df25 ANSI'ify. 2001-01-03 20:29:58 +00:00
nathanw 9f55870caf Put correct whitespace in .Xr command so that the comma doesn't end up
in the section description.
2001-01-03 20:19:42 +00:00
fvdl 3456657259 Bump shm max pages value to a more realistic one. 2001-01-03 20:19:33 +00:00
thorpej a2a696618e Restructure alpha_sgmap_dmamap_create() slightly. 2001-01-03 20:12:34 +00:00
thorpej db36913c87 The code that creates/destroys SGMAP DMA maps is the same; put it
in a common place and share it.
2001-01-03 19:15:59 +00:00
itojun 1d25215235 $NetBSD$ 2001-01-03 18:15:47 +00:00
itojun 10e1d3091a share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
cleanup param.h a bit.
2001-01-03 18:14:44 +00:00
itojun f66249f478 dreamcast went to sys/arch/dreamcast 2001-01-03 17:59:02 +00:00
itojun 6c348b2e2e add $ip6sitelocal, to control installation of reject route for fec0::/10. 2001-01-03 17:54:04 +00:00
itojun 06b30834dd ${PRINTOBJDIR} 2001-01-03 15:57:00 +00:00
itojun 4eb5bbbdc2 wdog* does not compile due to the lack of WDOG_IRQ. 2001-01-03 15:42:48 +00:00
lukem d06a762ab2 sprinkle in _DIAGASSERT() as appropriate 2001-01-03 15:41:19 +00:00
pk cf53c74834 * Apply proper cast for 32 -> 64 bit pointer argument conversion.
* Since probeget() isn't geared up to deal with _arbitrary_ memory fault
  types (and doesn't work at all when called from an interrupt context),
  add explicit sanity checks on a stack frame's contents before use
  (XXX - needs revisiting).
2001-01-03 15:33:34 +00:00
itojun 00fbe713e7 remove #if 0'ed portion 2001-01-03 15:26:17 +00:00
lukem 2e9d6ac8c1 sprinkle in _DIAGASSERT() as appropriate 2001-01-03 15:23:26 +00:00
itojun 4469b35a09 retain empty "compile" directory 2001-01-03 15:22:14 +00:00
bouyer 286f4f934f Add a 'flag' member to struct puc_attach_args and struct port. For
PUC_PORT_TYPE_COM, use it to store the clock frequency (with 8 lower bits
to 0, used for real flags if needed).
Update all descriptions to set flags to 0 for LPT or COM_FREQ for COM.
Add support for the VScom PCI-800H 8 port serial adapter (which uses
a 14.7456 Mhz crystal instead of the standart 1.8432Mhz :)
XXX now that we can pass other frequency than COM_FREQ, the VScom PCI-800
entry could probably be updated to DTRT - does anyone have one ?
2001-01-03 15:13:15 +00:00
lukem 61017941ab remove register 2001-01-03 14:33:02 +00:00
mjl 73ef471d4f Un-__P and ANSIfy 2001-01-03 14:32:40 +00:00
lukem 5ba790cb50 sprinkle in _DIAGASSERT() as appropriate 2001-01-03 14:29:36 +00:00
mjl 0c55b7011c Sync usage w/ options, remove bogus cast. 2001-01-03 14:29:24 +00:00
lukem b43b77ea9c sort 2001-01-03 13:39:02 +00:00
lukem 065b5b4839 add _DIAGASSERT.{3,0} 2001-01-03 13:36:08 +00:00
lukem 9661e3aa77 add LIBC_DIAGASSERT and MALLOC_OPTIONS 2001-01-03 13:35:11 +00:00
lukem 77d909536c remove unnecessary duplication 2001-01-03 13:32:33 +00:00
lukem b206a768a3 add manual page for _DIAGASSERT(3) 2001-01-03 13:29:59 +00:00
mjl e1d9ba796d un__Pify, ANSIfy and constify. 2001-01-03 13:25:11 +00:00
mjl a640361563 /dev -> _PATH_DEV 2001-01-03 13:14:26 +00:00
lukem aa330a1e25 * Change __diagassert13() so that by default it only syslogs the error (it
used to syslog and also send to stderr).

  This behaviour can be changed by setting $LIBC_DIAGASSERT to a
  string containing one or more of the following letters:
	a	abort() after syslog and/or print to stderr
	A	opposite of a
	e	print assertion message to stderr
	E	opposite of e
	l	log assertion message to syslog
	L	opposite of l

  This allows per-process control of the _DIAGASSERT() behaviour (e.g,
  if you want to abort() after the assertion is raised) by modifying the
  environment before starting the process.

  Note that __DIAGASSERT() is still a no-op unless libc is compiled
  with -D_DIAGNOSTIC.

* Implement __assert()/__diagassert() by calling __assert13()/__diagassert13()
  with a function of NULL, reducing unnecessary code duplication
2001-01-03 12:44:53 +00:00
mjl 6c2663f7dd Fix possible buffer overruns. From OpenBSD, but without breaking stuff. 2001-01-03 12:41:00 +00:00
takemura c5fd828440 replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
2001-01-03 10:08:55 +00:00
itojun 9857da78ba s/make/${MAKE}/ 2001-01-03 08:43:05 +00:00
lukem 39de8f8975 improve readability 2001-01-03 07:50:54 +00:00
enami 0cd4f6f4aa Test read(2) failure by read(..., sizeof(n)) != sizeof(n) instead of
< sizeof(n) to avoid unwanted type promotion.
2001-01-03 06:57:57 +00:00
enami a48aa06c73 Kill whitespace at the end of line. 2001-01-03 06:55:30 +00:00
tron a9fb04248b Correct comment behind version number. 2001-01-02 23:35:56 +00:00
augustss c2b9d052ba Cosmetics. 2001-01-02 23:08:54 +00:00
tron 0ce4a9a0de Use highest bit of minor as an extra bit for the partition number to
bump the maximum partition number on NetBSD-i386 to 16. (Approved by fvdl)
2001-01-02 23:06:54 +00:00
augustss 3ea054452a Add placeholder for firmware. 2001-01-02 22:38:51 +00:00
augustss 2b0533e324 Add uyap. 2001-01-02 22:34:25 +00:00
augustss 627c81d365 Add uyap(4) man page. 2001-01-02 22:32:28 +00:00
augustss 0e9ef4adc0 Forgotten commit for EZ-USB loader. 2001-01-02 22:24:00 +00:00
joda 7e74657e37 use gzip instead of compress 2001-01-02 21:39:37 +00:00
matthias 4cefdbee45 make sendsig/sigreturn work with p_sigctx. 2001-01-02 19:16:34 +00:00
augustss 32e4d7004e Add a transient driver for the YAP phone that downloads firmware into
the EZ-USB chip.  After downloading the firmware the device detaches
and then reattaches as a composite device (audio + HID).

XXX For now there is no firmware committed since the vendor (Silicon
XXX Portals) has not yet agreed that we can redistribute their firmware.
2001-01-02 18:52:44 +00:00
augustss 5b86e8bfa8 Add subroutines to download firmware into Cypress (formerly Anchor)
EZ-USB chips.
2001-01-02 18:49:56 +00:00
wiz 5c594236a9 Note that sha1 has been there since 1.4. 2001-01-02 16:16:48 +00:00