Commit Graph

30938 Commits

Author SHA1 Message Date
augustss
ad6d4eb815 Print class correctly for linked fields. 1997-08-24 23:20:04 +00:00
augustss
bf1f51a5d1 Initial version of the documentation of the interface between the
low and high level audio drivers, the audio_hw_if struct.
1997-08-24 22:46:41 +00:00
augustss
dd5cf3d4d9 Document some minor changes in the audio interface. 1997-08-24 22:44:16 +00:00
augustss
6616d47838 - Change audio_hw_if a little: set_param now sets the play and record modes
at the same time instead by using two different calls.  This enables
  it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
  play and record settings are independent.
- Fix some buglets in audio.c.
1997-08-24 22:31:23 +00:00
augustss
4d74b89725 Add trivial conversions between 8 and 16 bits. 1997-08-24 22:20:24 +00:00
augustss
785dcbd7f5 Remove indirect brokenness. 1997-08-24 20:06:34 +00:00
augustss
48d839e594 Improve error message. 1997-08-24 20:03:51 +00:00
thorpej
eb382f8e2b Make sure we're passed a valid obj_entry. 1997-08-24 18:11:23 +00:00
kleink
cbb9288e9f Lseek(2) returns -1 on failure, so checking for "n < -1" is not appropriate. 1997-08-24 16:13:28 +00:00
perry
a8f17a8bdb update to version 1997082200 from Internic. 1997-08-24 15:50:47 +00:00
scottr
27f30774af Conditionalize DEBUG printf on dp8390_debug. Pointed out by Jonathan
Stone.
1997-08-24 15:22:28 +00:00
kleink
e021da65e2 * Fix compiler warnings
* Style: lseek(2) L_SET vs. SEEK_SET; getopt(3) EOF vs. -1
1997-08-24 13:57:54 +00:00
drochner
3cb8fe8b6b Fix compiler warnings (because new prototypes came into scope
with latest "rpc.h" changes). It's -Wall ready now.
1997-08-24 10:53:16 +00:00
drochner
8188be767e Check for KGDB port == console port in a consistent way. 1997-08-24 09:40:16 +00:00
drochner
9518da7563 Remove over-sensitive sanity check for console port == KGDB port. 1997-08-24 09:38:19 +00:00
cgd
ce0a826c55 fix various bogons: copy SCSIVERBOSE option (still commented out) and ISA lc
driver to ALPHA.  Also, sort them into their respective lists correctly,
rather than punting completely (SCSIVERBOSE), or mis-sorting(!) (lc).
1997-08-24 06:40:18 +00:00
cgd
1173f77359 fix spaces/tabs lossage: if we're going to do "options<space><tab>", be
consistent about it (fix it in all files)!  Also, there's no point at all
in doing "file-system<space><tab>", so kill the spaces.
1997-08-24 06:37:12 +00:00
lukem
fa55e11566 * sanitize long output, fixing buffer overflows whilst doing so
* clean up for WARNS?=1
1997-08-24 02:40:40 +00:00
lukem
f77381e893 Include <rpc/pmap_clnt.h>, <rpc/pmap_prot.h> and <rpc/pmap_rmt.h>.
The rpc man pages don't mention that these are required (only
<rpc/rpc.h> is mentioned there), but some of the prototypes come from
these files...
1997-08-24 01:47:12 +00:00
mjacob
6ac7f6248f add a before tab to SCSIVERBOSE 1997-08-23 19:16:06 +00:00
drochner
44224e6fd5 Adapt to serial console attachment changes. 1997-08-23 14:28:16 +00:00
drochner
350184a9b7 Remove unneeded dev/cninit.c. 1997-08-23 14:26:46 +00:00
drochner
01930ff909 Update prototype options for serial console / KGDB for new reality.
"option\t" -> "option \t", as wished by Bernd Ernesti.
1997-08-23 14:25:55 +00:00
drochner
dfbc80bd71 Delete unused constab[]. 1997-08-23 14:22:59 +00:00
drochner
2f05375163 Use functions provided by the drivers to initialize and attach console
and KGDB. Make port address, speed and (7/8bit,parity,stopbits) for serial
lines configurable.
1997-08-23 14:22:03 +00:00
drochner
d09a42059f Put all console initialization into 1 exported function (pccnattach()).
Delay setting of cn_tab->cn_dev until autoconfiguration attach
  to get the minor number right. (not really needed, but for
  consistency with pccons and serial consoles)
Comment out unused pccnprobe() and pccninit().
XXX I didn't use "#if PCVT_NETBSD > ???" anymore, nor separated from
  FreeBSD. The driver is not centrally maintained anyway.
1997-08-23 14:17:46 +00:00
drochner
fe882d2810 Put all console initialization into 1 exported function (pccnattach()).
Delay setting of cn_tab->cn_dev until autoconfiguration attach
  to get the minor number right.
Delete unused pccnprobe() and pccninit().
1997-08-23 14:10:12 +00:00
drochner
f4e17ffbfe Use the new com_is_console() to decide if the port is already initialized.
XXX shouldn't the attach() use the existing handle if present???
1997-08-23 14:06:17 +00:00
drochner
7ac5d81dbd Use the new com_is_console() to decide if the port is already initialized. 1997-08-23 14:03:54 +00:00
drochner
d36e668737 clean up the serial console / KGDB attachment:
-put all early console / KGDB initialization into 1 exported function
  (com_*_attach()) each, dont use global variables anymore
-use the passed tcflag_t for port settings instead of hardwiring 8N1
-at autoconfiguration attach time, decide if the attaching device is
  already console / KGDB by comparing bus tag and base addr (cgd's wish)
-export a function "com_is_console()" for use by driver frontends for
  this comparision
-delay setting of cn_tab->cn_dev until autoconfiguration attach
  to get the minor number right
-delete unused comcnprobe() and comcninit()
1997-08-23 14:01:32 +00:00
drochner
d8453956fc regen 1997-08-23 13:45:11 +00:00
drochner
91c75e9870 Add one more graphics chip. 1997-08-23 13:44:06 +00:00
kleink
dc91486be3 bootp vs. mop: don't clobber `netboot' flag. 1997-08-23 10:18:33 +00:00
thorpej
12ef0b5d17 Merge the FreeBSD-current-970823 version of the "fxp" driver, adds support
for more PHYs.  Closes PR #3953.
1997-08-23 09:28:13 +00:00
lukem
64c651fb96 support $TMPDIR 1997-08-23 07:32:50 +00:00
perry
423eab6e13 Stop people from trying to build the obsolete boot blocks by accident. 1997-08-22 21:53:00 +00:00
perry
9891493884 mount root ramdisk rw in .profile 1997-08-22 18:23:08 +00:00
lukem
8ab86c4242 * add enss* to ss*
* use $0 instead of MAKEDEV
* remove superfluous umasks
1997-08-22 15:35:12 +00:00
lukem
ed0a7677a8 * unlink devices before attempting to mknod them
* remove superfluous umasks
* replace `eval ...` with $((...)) or ${i#...}
* use $0 instead of MAKEDEV
* warn on unknown devices
* add enss* to ss*
* ensure tapes are root.operator 660
1997-08-22 15:30:49 +00:00
lukem
96f44170dc * use $0 instead of MAKEDEV
* use $((...)) instead of `eval ...`
* st* and md* are now root.operator 640
* reset the umask after running MAKEDEV.local
1997-08-22 15:02:12 +00:00
lukem
e9aa93e046 obsolete stuff that's be superceeded by /usr/src/distrib/... 1997-08-22 12:27:46 +00:00
lukem
f27e440f72 * remove superfluous umasks
* st* perms are 660 not 640
* ttyv* isn't a special case on the sparc (it's an i386-ism)
* add enss* to ss*
* use $0.local instead of MAKEDEV.local, and reset the umask afterwards
1997-08-22 12:25:16 +00:00
lukem
49d132729c these are *way* out of date... 1997-08-22 12:24:25 +00:00
lukem
3554ac334d * use $0 instead of MAKEDEV
* remove devices before mknod-ing them
* use ${i#...} and $((...)) instead of `eval ...`
* tz* has perms 660 root.operator (instead of 666 root.wheel)
* consolidate a few devices into one case, with internal switching
  for the slight difference (usually unit name and major number)
* reset the umask after MAKEDEV.local
* don't treat ttyv* specially - it's an i386-ism
1997-08-22 12:16:28 +00:00
lukem
b790d7bce9 ttyv* shouldn't be treated specially on the hp300 (it's an i386-ism) 1997-08-22 12:06:27 +00:00
lukem
d4a3164363 ttyv* shouldn't be treated specially on the alpha (it's an i386-ism) 1997-08-22 12:04:03 +00:00
augustss
556cf1abc0 Make it possible for audio to attach to audioamd. 1997-08-22 11:45:06 +00:00
lukem
607e11fb8a * add enss* to ss*
* st* has perms 660 not 640
* use $0 instead of MAKEDEV
* reset umask after MAKEDEV.local
1997-08-22 11:34:30 +00:00
lukem
cdfa15cb5b * st* has perms 660 not 640
* add enss* to ss*
* invoke MAKEDEV.local as $0.local, and reset the umask afterwards
1997-08-22 11:30:57 +00:00
lukem
fcbf94775b * add enss* to ss*
* st* has perms 660 not 640
* invoke MAKEDEV.local as $0.local, and reset umask afterwards
1997-08-22 11:26:01 +00:00