Commit Graph

45561 Commits

Author SHA1 Message Date
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
frueauf b9900d38da Make this work again if BSDOBJDIR is set. 1998-11-16 09:45:48 +00:00
simonb 284b91ac42 Mention that it may be necessary to hand-mount a CD on /mnt2 before
starting sysinst.

Partial fix for PR bin/6307 from Terry R. Friedrichsen.

From PR #6307:
	Added possibly non-working work around for 1.3.3.

	Will do more work on this when I get a CD image of a NetBSD release.
1998-11-16 08:52:23 +00:00
itohy 59bed57519 Oops, I should have been more careful about the last modification....
Since D-Link DE-650 is not the only exception, restore Linksys EC1 entry to the
previous position and move D-Link entry below that to make the source cleaner.
1998-11-16 08:17:01 +00:00
simonb e90f3ee382 Reference the section on dd'ing a disk image into the swap
partition of an Ultrix disk in the "QUICK.INSTALL" notes.

NOTE - this isn't the best solution.  The INSTALL notes need
to be totally rewritten, but at least now there's a pointer
to the referred section.

Fixes PR port-pmax/6299 from Terry R. Friedrichsen.
1998-11-16 08:15:55 +00:00
simonb b438e982a7 Update for 1.3.3. Also includes some fixes from Terry R. Friedrichsen. 1998-11-16 07:58:38 +00:00
simonb eb91fb2910 Warn that messages about "using ULTRIX label information" may
appear when disklabeling old Ultrix disks.

Fixes PR port-pmax/6300 from Terry Friedrichsen.
1998-11-16 07:45:20 +00:00
marc c48ce4626f Avoid irq 5 and 7, the most likely cause of problems on modern laptops. 1998-11-16 07:23:28 +00:00
eeh a178ed6add Fixup the last broken bits of the signal handling code. 1998-11-16 06:51:35 +00:00
lukem 0cd1643609 if INADDR_ANY is given in in_pcbconnect(), choose the ia_addr of the first
interface, not the ia_broadaddr.  should fix [standards/5645] and [kern/6425]
1998-11-16 05:47:19 +00:00
dbj a712d8ae87 Moved UVM define from GENERIC to std.next68k
Added -Wno-main to warnflags, if compiler supports it.
1998-11-16 04:37:56 +00:00
mrg ae0c22f1b1 move vax "options UVM" from GENERIC to std.vax 1998-11-16 04:32:56 +00:00
mycroft 7eac22153a Use types.h, endian.h and limits.h to configure the RAIDframe
types correctly for all hardware platforms.
1998-11-16 04:14:10 +00:00
mycroft 09093330b1 Add {LONG,WORD}_BIT and {DBL,FLT}_{DIG,MAX,MIN}. 1998-11-16 04:12:29 +00:00
simonb af44a7fb8d Add a missing "doingwhat" reason for a re-install of sets.
NOTE:  msg.mi.fr needs a French to Englist translation marked by the XXX
comment.
1998-11-16 02:28:13 +00:00