32342 Commits

Author SHA1 Message Date
kato
4d4145bdee Add SMC EtherEZ98 support to ed driver (PC-98).
Reviewed by:	kato
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-10-08 17:04:59 +00:00
kato
29d7df02f8 BIOS ROM base address is 0xe8000 on PC-98. 1998-10-08 16:15:22 +00:00
wpaul
d0066a99a0 Correctly update the tail pointer of the transmit queue in tl_start()
(one-liner). I have yet to actually encounter any problems due to this
bug, but why take chances.
1998-10-08 15:45:36 +00:00
kato
e52e6a8d2c Sync with sys/i386/conf/GENERIC revision up to 1.123. 1998-10-08 12:10:07 +00:00
kato
a36bbf007a Sync with sys/i386/i386/userconfig.c revision 1.111. 1998-10-08 12:09:38 +00:00
jkh
98468fe965 Finally settle on a name for the mfsroot image. 1998-10-08 10:18:55 +00:00
jkh
d3aa2cefad Only install boot blocks if !MFSKERN. Too big otherwise! 1998-10-08 10:02:28 +00:00
obrien
59bd962db0 Quiet many compiler warnings. 1998-10-08 09:56:10 +00:00
jkh
f79045f756 Add boot bits to boot floppy. 1998-10-08 09:53:32 +00:00
jkh
b49acf3cc7 Make both types of boot targets. 1998-10-08 09:40:17 +00:00
jkh
09b12ea3fa Final cleanup pass over boot floppy changes. 1998-10-08 09:06:16 +00:00
phk
f4a8651b6a Avoid using dmesg to find devices, the buffer may not be big enough.
Reviewed by:	phk
Submitted by:	Mike Spengler <mks@networkcs.com>
1998-10-08 08:56:01 +00:00
jkh
0b05f0265c Remove a gratuitous copy. 1998-10-08 07:12:37 +00:00
jkh
7f5d64043f Add some rudimentary documentation for my new functions. 1998-10-08 06:53:32 +00:00
sos
8b065be54c Remove debug output on disk change. 1998-10-08 06:41:44 +00:00
markm
b1bb470bf1 Add auth.conf. JKH Added the code to understand this to libutil, and
I will be following up with commits to use it in KerberosIV userland.
1998-10-08 06:12:04 +00:00
ken
68c2a3a49f Add the quirk entry framework to handle disabling the synchronize cache
command on drives that don't like it.  Right now, there's just a bogus
quirk entry in the table that doesn't do anything, but that should be
changed once we get actual inquiry data for drives that don't like the
synchronize cache command.

Also, add a shutdown hook that runs through all direct access peripherals
and runs a synchronize cache on them if they're still open, and if
synchronize cache isn't disabled via a quirk entry.

Add a synchronize cache call at the end of dadump() (again, conditionalized
on the quirk entry), so we can insure that the disk cache contents get
flushed to physical media after a dump.

Check the new quirk entry in daclose() to decide whether or not to
synchronize the cache for a disk at final close.

Reviewed by:	gibbs
1998-10-08 05:46:38 +00:00
jkh
9d3a21e27c Correct a build error that got past my build test somehow. 1998-10-08 01:56:49 +00:00
alex
06ba723cf3 Check the timeval passed to BIOCSRTIMEOUT with itimerfix. Use tvtohz()
to convert the timeval into a tick count.

Suggested by:	bde
Reviewed by:	bde

Handle hz > 1000 in BIOCGRTIMEOUT.

Pointed out by:	bde
Reviewed by:	bde
Obtained from:	OpenBSD
1998-10-08 00:32:08 +00:00
jkh
0fe4e68af4 Unreverse a conditional and gzip the mfs image by default. 1998-10-07 22:58:22 +00:00
jkh
111cf5cb67 Support 3 floppy images as standard now: boot kernel, mfs image and
kernel+mfs image.
1998-10-07 22:54:04 +00:00
jkh
234905fb04 Fix typo. 1998-10-07 22:36:48 +00:00
jkh
e1107384d7 Fix typos. 1998-10-07 22:15:24 +00:00
jkh
b2d47df89c Add MFSKERN flag to enable the combining of kernel and MFS fs.
At some point, it will always be off from the user's POV and used
only internally to build (optionall) both mfskern floppies and
ones where mfs root and kernel go in separate places.
1998-10-07 21:53:14 +00:00
des
a776f469d1 By popular request, mention that mailq responds to the same options as
sendmail(8).

PR:		i386/8149
1998-10-07 19:45:36 +00:00
jkh
726f317a72 Read in all the nlist entries properly. 1998-10-07 19:42:46 +00:00
jkh
bc5c2d94f2 Add isa_devtab_cam 1998-10-07 19:40:51 +00:00
jkh
9734dc69e1 Add a simple mechanism for reading property lists from files (which
I'll convert sysinstall to use shortly) and a simple call which uses
this mechanism to implement an /etc/auth.conf file.  I'll let Mark Murray
handle the format and checkin of the sample auth.conf file.
Reviewed by:	markm
1998-10-07 17:32:49 +00:00
des
8f4fb55b82 Add missing newline in probe message.
PR:		kern/8168
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-10-07 14:42:24 +00:00
luoqi
b09f25123d Use vm_page_xxx() inline functions to manipulate vm_page::flags, vm_page::busy.
As a side effect, a few wakeup() calls are added, which might fix some of the
missing vm_page wakeups people have been seeing.

Reviewed by:	Doug Rabson	<dfr@nlsystems.com>
1998-10-07 13:59:26 +00:00
obrien
0d6146b8ef Fix syntax errors I introduced. 1998-10-07 13:51:46 +00:00
msmith
56cd124a88 Add strcasecmp source file required for dosfs operation. 1998-10-07 13:50:17 +00:00
kato
4df6ab63be Use MACHINE_ARCH instead of MACHINE to detect x86 arch.
Pointed out by:	Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
1998-10-07 13:46:09 +00:00
peter
e21834764b Fix that pesky boot aguments parsing bug. (I think :-) 1998-10-07 10:55:46 +00:00
msmith
aaa2a6fba9 Request the flags back when checking for keyboard status.
Submitted by:	rnordier
1998-10-07 07:34:31 +00:00
gibbs
8ea5e0c143 Add entries for the adw device driver. 1998-10-07 03:42:44 +00:00
gibbs
c3bd7bdfdd ahc_pci.c:
Disable DPARCKEN in the DSCOMMAND0 register on the aic7890/91/96/97.
	Parity checking is broken for some chip/MB combinations and this
	is the work around recommended by Adaptec.

dpt_pci.c:
	Remove a superflous '{' that prevented DPT_ALLOW_MEMIO from working.

pcireg.h:
	Add a definition for Parity Error Reponse bit in the PCI Space
	command register.
1998-10-07 03:40:51 +00:00
gibbs
04f5e2e068 Fix a parent tag reference count bug during tag teardown.
Enable optimization for nobounce_dmamap clients by setting the map
held by the client to NULL.  This allows the macros in bus.h to check
against a constant to avoid function calls.

Don't attempt to 'free()' contigmalloced pages in bus_dmamem_free().
We currently leak these pages, which is not ideal, but is better than
a panic.  The leak will be fixed when contigmalloc is merged into the
bus dma framework after 3.0R.
1998-10-07 03:38:14 +00:00
gibbs
0c2fc2fa25 Add a missing newline. 1998-10-07 03:34:13 +00:00
gibbs
d925bde25d Don't set the active flag on a transaction resource until it has been
queued.

Perform dma segment setup outside of splcam protection as this can take
some time and the protection is not necessary.

Inline a function.

Clean up some whitespace.
1998-10-07 03:32:57 +00:00
gibbs
848e5bffcd Add ADW_ALLOW_MEMIO and DPT_ALLOW_MEMIO. Until our configuration
framework properly detects broken PCI-PCI bridges, users will have to
manually enable memory mapped I/O for these drivers. <sigh>
1998-10-07 03:30:55 +00:00
gibbs
45e0ab6055 Add a quirk entry for the CFP2107, another drive with broken
tagged queuing support.

Ensure that we report that a device supports tagged queuing even if
the system is waiting a "command count delay" before starting to use
them.

If a user disables disconnects on a device ensure that tagged queuing
is also turned off.  We did the right thing during initial configuration,
but could be confused by manual changes.
1998-10-07 03:25:21 +00:00
gibbs
b397316abd Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW). 1998-10-07 03:20:52 +00:00
jkh
dbf054fd70 Don't use boot2 on alpha. 1998-10-07 03:15:08 +00:00
jkh
0b40982436 Remove hard-coded constants being passed to doFS.sh and add in a 386/alpha
configuration section.
1998-10-07 03:13:36 +00:00
imp
213e62e351 Up the read capacity timeout from 20 seconds to 60 seconds to keep my
JAZ drive happy.  This shouldn't impact fast drives, and will keep cam
from failing on very slow ones (that are spinning up, say).  20
seconds was almost long enough, but not in all cases.

Suggested by: gibbs
1998-10-07 03:09:19 +00:00
ken
e99a1c7e41 Some fixes for the CD and DA drivers from bde. (and some of my own as
well)  Among them:

[ cd driver ]
1. Old labeling code was still there.
2. Error handling for dsopen() was broken (no test for the `error'
   returned by dsopen(); bogus test of an `error' that is known to be 0).
3. cdopen() closed the physical device after certain errors although there
   may still be open partitions on it.
4. cdclose() closed the physical device although there may still be open
   partitions on it.
5. Some printf format fixes was incomplete or missing.
6. cdioctl() truncated unit numbers mod 256.
7. cdioctl() was missing locking.

[ da driver ]
1. daclose() closed the physical device although there may still be open
   partitions on it.  This was fixed many years ago in sd.c rev.1.57.
2. A minor optimization (the dk_slices != NULL test) in sdopen() became
   uglier in daopen().  It is not worth doing.  da only regressed compared
   with od and my version of sd, since I never committed the change to sd.
   daopen() should probably do less if some partition is already open.
   This is not addressed by the diffs.
[ ... ]
5. "opt_hw_wdog.h" was not included, so the HW_WDOG code was unreachable.

- Added a getdev CCB call in the cdopen() and daopen() calls so that the
  vendor name and device name are available for the disklabel.  (suggested
  by bde)

- Removed vestigal devfs support in both drivers, since we can't properly
  work with devfs yet.  (ask bde for details on this)

- Cleaned up the probe code in both drivers in the failure cases.  There
  were a number of things wrong here.  The peripheral driver instances
  weren't getting properly cleaned up.  Sometimes the wrong probe message
  would get printed out (with the failure message appended), so it wasn't
  very clear that we failed to attach.  SCSI sense information was printed,
  even when the error in question wasn't a SCSI error.  I put similar fixes
  into the changer driver in revision 1.2 of scsi_ch.c.

Reviewed by:	gibbs
Submitted by:	bde (partially)
1998-10-07 02:57:57 +00:00
jkh
efd8e6f6ab Turn ALLLANG back on. 1998-10-07 02:57:16 +00:00
jkh
0fefb2669f Add spanish doc dirs.
Submitted by:	Motoyuki Konno <motoyuki@snipe.rim.or.jp>
1998-10-07 02:55:59 +00:00
msmith
29868f7f79 Enable the DOS filesystem. NOTE: you will have to rebuild libstand in
order to be able to build again.
1998-10-07 02:39:32 +00:00