Commit Graph

23742 Commits

Author SHA1 Message Date
is
ff0ad9cabb Variable spltty a la Jason Thorpe. Needed for the DraCo variant of com.c. 1996-11-30 00:33:49 +00:00
is
9035d87865 Support for DraCo superio chip: level 5 interupt queue; amiga_ttyspl
variable (we need to set ttyspl to spl5 when the DraCo serial is active).
1996-11-30 00:29:38 +00:00
is
165b6726c9 First version of a NetBSD-Amiga bootblock compilable from within NetBSD,
along with toolchain enhancements.

aout2bb transforms a.out files with reloc information into bootblock format
files with a compressed relocation info.

bbstart.s relocates the bootblock using this compressed info, before jumping
to C code.

txlt changes some more of the absolute references to pc-relative ones (we know
we have a single code + data address space).

If you ever try to change this: don't even dare to change the compiler options;
they were found in weeks of trial and error as the ones producing the smallest
(not necessarily fastests) code.

installboot is just a script around dd, for now.

Some ideas by Michael Hitch, Leo Weppelman and Jason Thorpe; bugs added
by myself.
1996-11-29 23:36:30 +00:00
is
b361a94400 Initial revision 1996-11-29 23:36:29 +00:00
is
6ddf65c1db First version of a NetBSD-Amiga bootblock compilable from within NetBSD,
along with toolchain enhancements.

aout2bb transforms a.out files with reloc information into bootblock format
files with a compressed relocation info.

bbstart.s relocates the bootblock using this compressed info, before jumping
to C code.

txlt changes some more of the absolute references to pc-relative ones (we know
we have a single code + data address space).

If you ever try to change this: don't even dare to change the compiler options;
they were found in weeks of trial and error as the ones producing the smallest
(not necessarily fastests) code.

installboot is just a script around dd, for now.

Some ideas by Michael Hitch, Leo Weppelman and Jason Thorpe; bugs added
by myself.
1996-11-29 23:36:29 +00:00
pk
0ba2269c4e Drop in a note about the old-style `sd(c,u,p)' boot syntax. 1996-11-29 23:21:52 +00:00
thorpej
40611b811f Start a mode sense with a clean sense buffer.
Fixes PR #2953, from David M. Stanhope <dms@celtech.com>.
1996-11-29 19:58:40 +00:00
thorpej
f3c0cc95a1 Add an inquiry pattern for the HP ScanJet 4p.
From Valtteri Vuorikoski <vuori@notcom.org>, PR #2957.
1996-11-29 19:53:32 +00:00
thorpej
f6ffe73a99 Add Yet Another Broken CD-ROM Drive to The List.
From Lennart Augustsson <augustss@cs.chalmers.se>, PR #2971.
1996-11-29 19:51:14 +00:00
thorpej
3d130af5dc Compute halfuptime' correctly when uptime' == 1.
From Lennart Augustsson <augustss@cs.chalmers.se>, PR #2944.
1996-11-29 19:40:56 +00:00
gwr
603bda9c4e Use _exit after exec failure (not exit). 1996-11-29 18:50:37 +00:00
jtk
7e682fdcab add fdformat, its man pages, and fdc(4) page 1996-11-29 16:35:29 +00:00
jtk
286a3505d0 add fdc.4--floppy controller/formatting man page 1996-11-29 16:33:07 +00:00
jtk
18ea43307d add fdformat 1996-11-29 16:32:18 +00:00
jtk
840a8b60a9 add floppy formatting table 1996-11-29 16:31:54 +00:00
jtk
060474468e add floppy formatting command 1996-11-29 16:31:02 +00:00
jtk
88449561be Add floppy formatting facility.
i386 floppy controller code came from FreeBSD, as worked on by:
   jc@irbs.UUCP (John Capo)
   vak@zebub.msk.su (Serge Vakulenko)
   ache@astral.msk.su (Andrew A. Chernov)
   joerg_wunsch@uriah.sax.de (Joerg Wunsch)
   dufault@hda.com (Peter Dufault)

formatting ioctl interface is generalized to an MI interface.  see fdc(4)
and fdformat(1)
1996-11-29 16:28:38 +00:00
jtk
6ecf0fee5d floppy formatting definitions/declarations 1996-11-29 16:25:09 +00:00
pk
c5c074b053 remove header munging hack. 1996-11-29 15:00:25 +00:00
pk
48830f7cb1 ffs bootblock install can be simplified since installboot(8) handles that now.
To install a TFTPable boot image, we have to play the header tricks here.
1996-11-29 14:59:32 +00:00
pk
af0ec0d1d4 installboot(8) now handles required a.out header munging.
Also, the munging is extended by inserting an instruction that branches
past the header, so the same boot image can be used on all supported
sun platforms.
1996-11-29 14:55:20 +00:00
jtk
ebc2675469 add Cirrus CL-7541, 7543 and ACC 2188; regen .h files 1996-11-28 16:29:59 +00:00
pk
b2f875fce9 Handle Sbus burst settings in dma reset(). 1996-11-28 10:30:34 +00:00
pk
7e3ef21ca4 Fix typo in D_BURST* macros. 1996-11-28 09:37:34 +00:00
jonathan
ff62bb6144 Fix missing continuation char for added su# line. 1996-11-28 09:08:14 +00:00
mrg
698a54ea72 we do not need percent_m.c 1996-11-28 04:32:32 +00:00
jonathan
5bffc0a5e9 * Add copy of Alpha RZ25 disktab entry, modified to pmax-size partitions.
* Add :su#: entry for the RZ58, which uses ZBR and is larger than
  multiplying out ns, nt, nc would suggest.
* Add some entries for locally-popular third-party disks, again
  adding :su#: entries, as examples..
1996-11-28 03:22:34 +00:00
thorpej
23587e9e17 Update for pchb and pcib drivers. 1996-11-28 03:15:13 +00:00
lukem
8ef5f80460 More features, some of which were inspired by changes that
friedman@gnu.ai.mit.edu (Noah Friedman) made to his modified ftp:
- implement "lpwd" - local pwd
- implement "preserve" - toggle preserving of file modification
  times on retrieved files
- allow for explicit "on" or "off" arg to toggle commands
- "exit" synonym for "quit", "msend" synonym for "mput"
- in confirmation mode, allow 'a' (yes to rest of current command),
  and 'p' (turn off prompt mode, as if 'prompt off' was done,
  effective immediately)
- "modtime" returns time formatted as localtime, not GMT

Bug fixes:
- check for extraneous args on commands
- cleanup const usage, line formatting
- create 0 length temporary file in remglob() to prevent symlink games
  (from OpenBSD)
- check length of filename of ~/.netrc (from OpenBSD)
1996-11-28 03:12:28 +00:00
thorpej
35a40fda4b Implement a simple generic PCI-ISA bridge driver. This driver exists
primarily to nicely print version information about your PCI chipset
(try with "options PCIVERBOSE").  Eventually, it may be used to
enable/disable features/bugs of a given PCI chipset.  In addition, this
driver uses the PCI-ISA bridge callback mechanism to logically attach the
ISA bus to the PCI-ISA bridge.
1996-11-28 02:53:45 +00:00
thorpej
30612943e3 Implement a simple generic PCI-Host bridge driver. At the moment, this
driver is a place-holder, which will nicely print version information
about your PCI chipset (try with "options PCIVERBOSE").  Eventually,
this can be used to enable/disable features/bugs of individual PCI
chipsets.
1996-11-28 02:49:01 +00:00
thorpej
9a6796b559 In isa_attach_hook(), set a variable to indicate that an ISA bus has
been attached to the system.  If, by the time mainbus wants to attach
an ISA an ISA has not yet been attached to the system, attempt to attach
an ISA to mainbus.
1996-11-28 02:43:53 +00:00
thorpej
c645414c6e Regen. 1996-11-28 00:49:48 +00:00
thorpej
5d9878b0be Fill out the Intel section of this a bit, and note the URL of a
periodically updated list of PCI vendor/product codes.
1996-11-28 00:46:35 +00:00
thorpej
a4f9e46a87 The MODIFY_IOPORT command does not generate an HACC (command complete)
signal; don't wait for it.

Add a "clarification" cast to the last argument to bha_cmd() in
bha_disable_isacompat().
1996-11-28 00:43:26 +00:00
pk
4d21d576ef Add some `DMA ESC gate array' specific constants. 1996-11-27 21:50:42 +00:00
pk
13ad3421cd DMA draining macros have moved to dma.c 1996-11-27 21:49:53 +00:00
pk
c7f438cd11 Handle the `ESC gate array' variant of the DMA engine, including an
essential bug work-around. Graciously supplied by David Miller.

Also re-arrange the macros that do the dma drain song-and-dance for
better clarity.
1996-11-27 21:48:19 +00:00
pk
f5f35b104f Sync with sparc port:
>Pay attention to DMA errors as reported by DMAINTR() returning -1. If this
>happens reset everything.
>
>Re-schedule a timeout when first attempting to abort an operation.
>Cancel any queued timer events before re-scheduling a timeout, so esp_abort()
>can be called from other places besides the timeout handler.
1996-11-27 21:38:35 +00:00
pk
c0a9fe4e7a Cancel any queued timer events before re-scheduling a timeout, so esp_abort()
can be called from other places besides the timeout handler.
1996-11-27 21:34:59 +00:00
pk
4526babc82 Pay attention to DMA errors as reported by DMAINTR() returning -1. If this
happens reset everything.

Re-schedule a timeout when first attempting to abort an operation.
1996-11-27 21:24:20 +00:00
pk
c1274b3cff Stabilize timeout values in fdcresult() and out_fdc() by adding delay()s.
Noted by Jason Thorpe over in the i386 driver.
1996-11-27 21:14:33 +00:00
thorpej
446317125e In fdcresult(), the loop that pulls status off the controller is treated
as a "timeout", yet there's no specific delay in each iteration.  Add
a small delay (10 usec... pretty arbitrary) in each iteration.  This
fixes the "fdcresult: timeout" problems I've been having on my 200MHz P6.
1996-11-27 19:53:51 +00:00
oki
0528423d96 renamed variable in ev_poll(), compile again. 1996-11-27 14:40:46 +00:00
oki
a91608384d edit include path, config again. 1996-11-27 14:37:18 +00:00
thorpej
3b4e2a1ac9 In wdattach(), when printing out info about the drive, make the output
look a little more like a SCSI disk's.  This has the pleasant side-effect
of preventing the output from annoyingly extending past 80 columns.
1996-11-27 10:50:39 +00:00
thorpej
041a23ac7f Make this compile with -DDEBUG. 1996-11-27 09:16:45 +00:00
thorpej
126bf2484b Protect against NULL pointer reference in yp_private(). This can happen
with, e.g. an empty "ypservers" map, causing a SEGV in the child which
handles an "all_2" proc.
1996-11-27 09:16:01 +00:00
cjs
3ec1da8855 All of domestic/lib now builds without errors, so we build it all. 1996-11-27 02:04:06 +00:00
cgd
4978d83570 when checking the built file systems, force the check (use -f), and make
sure fsck is trying to check ffs file systems (use -t ffs) because it's
not smart enough to figure that out on its own.
1996-11-27 01:42:07 +00:00