Commit Graph

85814 Commits

Author SHA1 Message Date
nyan
aca5ef0c28 Additional PC98 option is not needed. 2003-01-30 15:09:21 +00:00
ambrisko
202e8cd9b5 Fix some style and incorrect indentation level bugs.
Questioned by:	phk (for the indentation problem)
2003-01-30 15:01:17 +00:00
phk
b6af7801e2 Catch some cases where asking for ridiculously large allocations could
result in a segfault.  Instead just return NULL.
2003-01-30 15:00:17 +00:00
nyan
dad105a8d9 MFi386: Install the "boot" image which is boot1 + boot2. 2003-01-30 14:50:25 +00:00
phk
231eb43ab6 NO_GEOM cleanup: Rip out iodone_chain with a big smile on my face. 2003-01-30 14:26:04 +00:00
gj
d75991c9fe Add a fix for the case where the dialout fails. In this case the isp
interface was left in an active, but not connected, state, which resulted
in data being sent to it and the transmit queue filling up. This happened
because the driver never informed sppp that it shoulkd clean up the
connection. This fix informs sppp that it should clean things up.

The fix was actually developed and tested under -stable, so a short MFC
period seems appropriate, say 2 days.

Contributed by: Ari Suutari <ari.suutari@syncrontech.com>
2003-01-30 14:19:58 +00:00
nyan
9d632b189a MFi386: revision 1.192. 2003-01-30 13:23:18 +00:00
phk
2cccc29f2e NODEVFS cleanup: unifdef 2003-01-30 13:13:11 +00:00
phk
98d64b505b NO_GEOM cleanup: unifdef 2003-01-30 13:12:31 +00:00
phk
e686a54f84 NO_GEOM cleanup: retire to attic. 2003-01-30 12:58:55 +00:00
phk
420d58667b NODEVFS cleanup: Unifdef. 2003-01-30 12:51:32 +00:00
nyan
ed9ee20c84 Move the nfsclient support into mfsroot floppy. 2003-01-30 12:46:47 +00:00
nyan
86a50822ed Remove the atapifd and atapist support from boot floppies. 2003-01-30 12:43:13 +00:00
phk
406e155335 NO_GEOM cleanup: remove #ifdef 2003-01-30 12:36:30 +00:00
phk
04c4fc0788 NODEVFS cleanup: remove #ifdefs 2003-01-30 12:35:40 +00:00
phk
9f5bb44936 NODEVFS cleanup: remove #ifdefs. 2003-01-30 12:35:17 +00:00
phk
76e198dd04 Remove pc98/wfd and pc98/wst drivers, they have been broken to the
point of not even compiling for a very long time.

Any effort spent unbreaking them would be better spent perfecting
the ata drivers for PC98, should any issues remain there.
2003-01-30 12:13:59 +00:00
tjr
72fe86c519 Remove runtime warning about gets(). 2003-01-30 12:00:26 +00:00
phk
ae21d4debd Remove D_CANFREE from sscdisk.c.
I belive it got here by copy&paste and I see no signs in the source
code that BIO_DELETE was dealt with correctly and can only wonder
what kind of trouble this may have caused.
2003-01-30 11:48:50 +00:00
phk
007e4e6002 NO_GEOM cleanup: remove unused fields in struct disk, set type for d_softc. 2003-01-30 11:46:35 +00:00
tjr
a3bd15f559 Lock stdin on entry, unlock on return, use __sgetc() instead of getchar()
to avoid locking the stream for each character and to avoid input being
scattered among multiple threads.
2003-01-30 11:46:25 +00:00
phk
bcf1d466fe NO_GEOM cleanup: Mark the last arg to disk_create() as unused. 2003-01-30 11:39:36 +00:00
benno
cd92290e8c Rework of how memory resources are discovered and dealt with in macio.
- Store the OpenFirmware "reg" property in the macio ivars.
- Use a struct to define the structure of a "reg" property entry.
- Discover all memory ranges, not just the first.
- In ata_macio, manage our own range and hand out our own allocations using
  bus_space_subregion.
- Fix bus_space_subregion to handle subregions of sparse maps.
2003-01-30 11:28:29 +00:00
phk
63f9ad8790 Remove files which don't exist. 2003-01-30 06:29:51 +00:00
phk
59ba771ada Remove files which don't exist 2003-01-30 06:27:10 +00:00
phk
681fce3162 Remove entries for files we don't have.
Approved by:	peter
2003-01-30 06:26:17 +00:00
sam
68649ae3d3 FAST_IPSEC bandaid: act like KAME and ignore ENOENT error codes from
ipsec4_process_packet; they happen when a packet is dropped because
an SA acquire is initiated

Submitted by:	Doug Ambrisko <ambrisko@verniernetworks.com>
2003-01-30 05:45:45 +00:00
sam
b6cc0a8fe3 remove the restriction on build a kernel with FAST_IPSEC and INET6;
you still don't want to use the two together, but it's ok to have
them in the same kernel (the problem that initiated this bandaid
has long since been fixed)
2003-01-30 05:43:08 +00:00
simokawa
af62f90cdb Restart cycle master after bus manager election.
This should fix the IR(and maybe IT) problem when
the host becames the bus manager.
- rename fw_noderesolve() to fw_noderesolve_eui64() and add
	fw_noderesolve_nodeid().
2003-01-30 05:18:35 +00:00
simokawa
90073e85da - Handle SCSI_STATUS_BUSY case. 2003-01-30 05:12:56 +00:00
simokawa
a8f646b49b Improve alignment in printf(). 2003-01-30 03:46:48 +00:00
peter
b9980bfd14 Move the miidevs.h build stuff to conf/files so that config(8) doesn't
clobber it each time.
XXX: maybe this should be 'optional miibus' rather than 'standard'
2003-01-30 02:19:14 +00:00
jmallett
fc4b61874d WARNS ?= 2, so idiocy like 1.12 of type.c doesn't have to happen again. 2003-01-30 00:11:01 +00:00
jmallett
746b853b9c Missing "return 0"
Big pointy hat to:	jmallett
Spotted by:		peter
2003-01-30 00:10:24 +00:00
jmallett
994054cea6 API for opening (and tracking) writable file descriptors per disk. 2003-01-29 23:19:46 +00:00
jmallett
dfe5702c03 Back out conversion to libufs, for now. It seems to cause problems.
Reported by: phk
2003-01-29 22:52:27 +00:00
phk
98a90e953d NODEVFS cleanup: remove #ifdefs. 2003-01-29 22:36:45 +00:00
mux
2bc4e61e07 Fix typo in an unused macro. 2003-01-29 21:56:10 +00:00
phk
c356612ab4 NODEVFS cleanup: Remove cdevsw[].
This implicitly removes the need for major numbers, but a number of
drivers still know things they shouldn't need to, and we need to
consider if there are applications which cache major(+minor) gleaned
from stat(2) and rely on it being constant over reboots before we
start assigning random majors.
2003-01-29 21:54:03 +00:00
mux
c2913f7708 On -CURRENT, we need "device apm" and not "device apm0 at nexus?". 2003-01-29 21:51:05 +00:00
mux
4290218dea Remove now unnecessary main() prototype. 2003-01-29 21:46:12 +00:00
nectar
7ecaf1e74b Do not return inappropriate error codes in pam_sm_setcred. 2003-01-29 21:20:38 +00:00
mdodd
718bb6c717 Call fill() after maxpayload has been initialized.
Reviewed by:	 maxim
2003-01-29 20:42:42 +00:00
scottl
98eed43c20 Fix another mistake in the bus_dmamem_alloc_size() thing
Submitted by:	tmm
2003-01-29 20:36:08 +00:00
phk
89099a65fb Add code to repsect the D_NOGIANT flag, should the disk device driver set it.
NO_GEOM cleanup:        remove ifdefs.

Still untested.
2003-01-29 19:47:25 +00:00
mike
5936609388 Style: keep most typedefs in the same place. 2003-01-29 19:36:08 +00:00
phk
15d50f061e Sort these functions as the author instructed. 2003-01-29 18:37:29 +00:00
nectar
637cc179f5 Background:
When libdes was replaced with OpenSSL's libcrypto, there were a few
 interfaces that the former implemented but the latter did not.  Because
 some software in the base system still depended upon these interfaces,
 we simply included them in our libcrypto (rnd_keys.c).

Now, finally get around to removing the dependencies on these
interfaces.  There were basically two cases:

  des_new_random_key -- This is just a wrapper for des_random_key, and
     these calls were replaced.

  des_init_random_number_generator et. al. -- A few functions were used
     by the application to seed libdes's PRNG.  These are not necessary
     when using libcrypto, as OpenSSL internally seeds the PRNG from
     /dev/random.  These calls were simply removed.

Again, some of the Kerberos 4 files have been taken off the vendor
branch.  I do not expect there to be future imports of KTH Kerberos 4.
2003-01-29 18:14:29 +00:00
phk
224d4fa701 Make tsc_freq a 64bit on PC98 also. 2003-01-29 18:08:26 +00:00
scottl
d9bd56452d Fix some more missing dt_ prefixes for dma tag fields. 2003-01-29 17:41:29 +00:00