Commit Graph

45525 Commits

Author SHA1 Message Date
sakamoto 699dda2896 bebox etc files. 1998-11-18 08:49:33 +00:00
itohy 6d075e2860 Temporary fix of UTC -> time_t conversion:
1. changed to use timegm(3) on NetBSD and
2. supply alternative code for other Unix-like OSs
(NetBSD ftp shall be portable for some reasons :-).

This fix closes PR #6448.

NOTE: This should be fixed again if a portable UTC to time_t
conversion method is specified in some standards.
1998-11-18 07:24:25 +00:00
ross 19599f6e86 Various trivial LP64 tweaks to squelch some compiler warnings. 1998-11-18 03:09:20 +00:00
simonb 4a17f9c066 Remove comment saying a translation is needed - it's there! 1998-11-18 02:06:48 +00:00
ross 3eb0afd457 Fix a bug that apparently prevented, since day 1, the .-include / .sinclude
feature from ever working. Also, fix the man page that incorrectly described
the syntax of the feature that didn't work.
1998-11-17 23:56:23 +00:00
simonb 7e81c41eb9 Specifically mention that NetBSD/pmax uses rzX devices for CD-ROMs and
not cdX like other NetBSD ports.
1998-11-17 23:23:08 +00:00
jonathan 22bc029ea1 Add 'md' devices for ramdisk; make as part of 'minimal'.
Clean up 'all', and comment-in /dev/lkm.
1998-11-17 23:09:46 +00:00
jonathan fe83804dea Add md (memory disk) hooks for pmax. ecoff kernel with 2MB ramdisk
tftp-boots on new PROMs. (3MB is too large).
1998-11-17 22:41:05 +00:00
thorpej 4d216414cf Bump version to 1.3I (config_detach(), config_{,de}activate()). 1998-11-17 21:27:27 +00:00
msaitoh 91395a8690 delete .TP (because this document is written in "mdoc" format) 1998-11-17 21:02:38 +00:00
thorpej d088902264 Add detach and activate entry points. Mostly functional except for
#ifdef notyet'd if_delref() and if_detach(), which will be fixed up
when that code is committed.
1998-11-17 20:44:02 +00:00
thorpej dd6750820c Expose the "enable" and "disable" functions so that the front-ends can
access them.
1998-11-17 20:25:00 +00:00
jonathan 5d02b7f1b1 Support 'MAKEDEV minimal' for ramdisk scripts. Fix 'dz' alias for dc ttys. 1998-11-17 19:02:46 +00:00
tv 5f9a39a821 Add %{R*} to the LINK_SPECs which don't have them, to make rpath options
consistent on the compiler's front end.  (Note that -Wl,-R/path/ is still
the preferred usage in third-party software for 1.2+ compatibility.)
1998-11-17 18:22:51 +00:00
tv 1e43fc94f3 Make -G an option letter that takes an argument. Also nuke HAVE_ATEXIT as
that's in the global netbsd.h.
1998-11-17 18:15:28 +00:00
kleink 364dab0e26 If HAVE_STRERROR is defined, be nice and portable and don't grovel sys_errlist. 1998-11-17 18:14:17 +00:00
mycroft cb703f0332 If a channel has no drives, do *not* unmap its I/O regions.
It's not really safe to use them for anything else, and in legacy mode it
will just cause us to probe the channel again as an ISA device.
1998-11-17 17:59:14 +00:00
msaitoh d261dde4f6 add a missing comma. 1998-11-17 16:32:44 +00:00
msaitoh 2861f340a6 delete .Sh ENVIRONMENT.
delete extra period.
1998-11-17 16:26:51 +00:00
christos c81a5c7244 revert previous change; same problem with perror(). 1998-11-17 16:15:45 +00:00
christos 373acb7941 revert previous change; this reveals another bug in lints LINTED option. 1998-11-17 16:13:59 +00:00
msaitoh 4a3d3570f1 s/a a/a/ 1998-11-17 16:00:28 +00:00
bouyer 0af9847a2d The ATAPI-specific hack is not needed any more. 1998-11-17 14:46:26 +00:00
bouyer 0d0ff884e5 In atapi_wdc.c, issue a 'REQUEST SENSE' command when appropriate.
Return XS_SENSE when the full sense info has been retrieved, or
XS_SHORTSENSE if only the sense key was available (from the error register)
Make atapi_interpret_sense() deal with this, and call scsipi_interpret_sense()
for XS_SENSE. (XXX sd_interpret_sense() and the ioctl code needs to be made
aware of XS_SHORTSENSE too ! sense hanlding for these is now less broken for
devices that support 'REQUEST SENSE')
All the ATAPI devices I have access to seems to honnor the SENSE_REQUEST
command, but I suspect some ATAPI devices will not (althouh it's mandatory).
The code should be able to deal with this, but is untested ...
1998-11-17 14:45:39 +00:00
bouyer 00d93f776b Rename scsi_interpret_sense() to scsipi_interpret_sense() and move it from
scsi_base.c to scsipi_base.c. Rename the functions from scsi_verbose.c
too, and rename the file itself. Cleaup includes too (scsi_*.h should not
be #included in scsipi_*.h files, which are supposed to be
common to atapi and scsi).
1998-11-17 14:38:42 +00:00
msaitoh 576a5fdc92 fix some bugs 1998-11-17 14:16:32 +00:00
bouyer b64b7c2964 New IDE xfer flag: C_SENSE, set by the ATAPI back-end sense info needs to
be retrieved.
1998-11-17 14:14:52 +00:00
ws b6cbdcb3ec Shorten name line to fit.
Thanks to Hubert Feyrer (feyrer@rfhs8012.fh-regensburg.de) for pointing this out
1998-11-17 13:04:30 +00:00
mrg e9b43366f3 add some shiny happy egcs braces 1998-11-17 12:11:27 +00:00
thorpej 0c3ca7b31e Finish implementing interrupt-driven card insertion and removal support.
- Deactivate the card on removal and queue a REMOVAL event for the socket's
event thread to finish the detach.
- Queue an INSERTION event for the socket's event thread on insertion.

Implement a few missing infrastructure pieces to support this.

Hot swapping of PCMCIA cards now "works".  (Not quite; things like network
devices need changes for their respestive subsystems.  These changes are
coming soon...)
1998-11-17 08:49:11 +00:00
thorpej ab1b371163 Implement config_detach(), mostly from Chris Demetriou, modified slightly
by Ken Hornstein and myself.

Add flags to struct device, and define one as "active".  Devices are
initially active from config_attach().  Their active state may be changed
via config_activate() and config_deactivate().

These new functions assume that the device being manipulated will recursively
perform the action on its children.

Together, config_deactivate() and config_detach() may be used to implement
interrupt-driven device detachment.  config_deactivate() will take care of
things that need to be performed at interrupt time, and config_detach()
(which must run in a valid thread context) finishes the job, which may
block.
1998-11-17 08:38:07 +00:00
jonathan 0e92ecd82d Copy disktab profile to/etc for diskimage. (no ramdisk symlinks via /tmp). 1998-11-17 06:58:24 +00:00
jonathan 2c1dcc2bd0 Add the old-pmax-root usr.install/{bin,sbin} with same symlinks as /usr,
so that install from a miniroot image in / can find /usr/bin/{tar,ftp}
after mounting the target /usr over /usr.
1998-11-17 05:07:18 +00:00
jonathan b021f1bf0e Add pmax disktab entry for 'miniroot' (currently a full root image). 1998-11-17 02:41:31 +00:00
jonathan bcbe1e5b31 Make crunched equivalent of pmax root diskimage.
Makefile.inc: build `miniroot' [sic]
	list: list of files to  crunch in
	dot.profile: start up sysinst on boot.
	diskimage.label.proto:  write diskimage label so kernel recomputes
				label at boot from SCSI geometry..
1998-11-17 02:38:17 +00:00
mrg de6cfc033a don't need our own lkmenodev anymore... 1998-11-17 01:46:10 +00:00
mrg 84905a4350 provide lkmenodev prototype for LKM || _LKM 1998-11-17 01:41:06 +00:00
jonathan c0fc274246 Add hook for running extraneous commands before newfs. 1998-11-16 23:43:58 +00:00
thorpej fc44652721 Implement a kernel thread per PCMCIA socket to handle card insertion and
removal events.
1998-11-16 22:41:01 +00:00
thorpej fade033791 Print out which IRQ is being used for which slot, when the interrupts
are established.
1998-11-16 22:35:18 +00:00
thorpej d2afdb5b59 Fix some whitespace lossage, canonicalize some media names. 1998-11-16 19:13:31 +00:00
kristerw 54cd15a72e Make gas.new default for i386 and sparc. 1998-11-16 18:49:54 +00:00
ws 2cf75c4c03 Add a utility to allow access to the partitions of a
MBR labeled disk (i.e. a disk partitioned by fdisk)
on any platform (including extended partitions).
1998-11-16 18:44:25 +00:00
christos eeb9152be3 Since we are forcing unsigned shifts for portability, define Unsigned_shifts 1998-11-16 17:43:32 +00:00
oster cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
bouyer cc52aa9190 Sync with msg.mi.eng. 1998-11-16 12:49:09 +00:00
tsubai b3e8f6e5fe Enable UVM by default. 1998-11-16 12:21:30 +00:00
tsubai c0a19d37fc Enable UVM on newsmips. 1998-11-16 12:13:21 +00:00
christos 714fa78bc3 delint 1998-11-16 12:07:43 +00:00
bouyer d74652866f For ATAPI IDENTiFY, poll only for DRQ, some devices don't assert DRDY at this
point.
1998-11-16 11:25:41 +00:00