Commit Graph

30918 Commits

Author SHA1 Message Date
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
lukem
5629b8d007 * st* and wt* have perms 660 instead of 640
* add enss* to ss*
* invoke MAKEDEV.local as $0.local
* reset umask to 077 after running MAKEDEV.local
* warn on unknown devices
1997-08-22 11:19:43 +00:00
lukem
81cdcf7570 * use $0 instead of MAKEDEV
* set ct* mt* and st* to root.operator 660 (not root.wheel 666)
1997-08-22 11:10:42 +00:00
lukem
1d665a7616 * use $0 instead of MAKEDEV
* remove superfluous umasks
* st* perms are 660 not 640
* ensure md0 and rfd0c get the correct perms
* add enss* to ss*
1997-08-22 10:55:18 +00:00
lukem
3e16910ca2 remove enss* before we try & mknod it 1997-08-22 10:46:27 +00:00
lukem
7cb2956f2d * st* has perms 660 not 640
* add enss* to ss*
* md* is root.operator 640 not root.wheel 600
* use ${i#...} instead of `expr ...`
* use 'sh $0.local' not 'sh MAKEDEV.local'
* warn on invalid devices
1997-08-22 10:41:17 +00:00
lukem
93f6aeeee8 use 'sh $0 ...' instead of 'sh MAKEDEV ...' 1997-08-22 10:32:28 +00:00
lukem
fca196598f * use $((...)) not expr ...
* st* has perms 660 not 640
* use $0 not MAKEDEV
* add enss* to ss*
* remove superfluous use of umask
* ensure umask is reset after running MAKEDEV.local
1997-08-22 10:28:06 +00:00
lukem
237c80a5db * set perms on st* to 660 not 640
* remove superfluous umask
1997-08-22 10:14:45 +00:00
lukem
89fa41e9da - correct use of generated temporary files.
- clean up comments and generated output.
- clean up $SECUREDIR if SIGINT or SIGQUIT received.
- .rhosts may have to be world readable in NFS environments, so allow it to be.
- update list of disks to check for reasonable permissions
- don't show differences in /etc/master.passwd, as the encrypted strings may
  be sent. From reading comments earlier in the script, this was the intention
  anyway. Fix from Jim Bernard <jbernard@tater.mines.edu> in [security/3994].
- when checking /etc/ftpusers, skip comment lines and only match full
  usernames.
  XXX: this should be enhanced to check lines of the enhanced ftpusers format.
1997-08-22 09:40:17 +00:00
cgd
fc2e81c6d5 lie to the compiler when doing mkdep so that it depends .s files correctly. 1997-08-22 06:37:17 +00:00
scottr
4cb1ba2dac Make this compile again when we only specify a machine with the
HP MMU (320, 350).
1997-08-21 18:12:34 +00:00
ws
8d38c5e126 Don't include psl.h in MI code.
Pointed out by Jonathan Stone and Chris Demetriou.
1997-08-21 11:26:42 +00:00
mjacob
1a7afa3853 add commented out reference SCSIVERBOSE option 1997-08-20 18:38:13 +00:00
mjacob
0e3c7b7f44 Commented out SCSIVERBOSE option; reference 1997-08-20 18:35:55 +00:00
mjacob
e349ac7eb5 If SCSIVERBOSE is enabled, call the routine to print out detailed sense
information.
1997-08-20 18:20:12 +00:00
mjacob
e919735e35 Add in (enabled by SCSIVERBOSE option since it adds a fair amount of string
gup to the kernel) more detailed SCSI error printing, based off of final
SCSI-2 specification. This will also print out things like progress indicator
errors, and will also dump out additional sense bytes that haven't been decoded.

Also, turned the error message 'DELAYED' to 'DEFERRED' since that's more
accurate.
1997-08-20 18:19:12 +00:00
mjacob
77116c198a Add in prototype for routine to print SCSI errors in detail. 1997-08-20 18:11:37 +00:00
drochner
e153e51fa3 Make "genprom" work in objdir.
Minor cleanup to ease bootcode development at non-standard locations.
Closes PR port-i386/4013 by Luke Mewburn.
1997-08-20 16:53:30 +00:00
agc
0ee4409cbe Don't assume we're on NetBSD when setting LOCALBASE i.e.
test the OSNAME first.

Change the name of the mtree file to match NetBSD's.
1997-08-20 16:02:48 +00:00
agc
44579dfa67 Remove the uname=man lines as NetBSD doesn't seem to have a user called
man.

Add NetBSD RCS Id.
1997-08-20 15:41:11 +00:00