44631 Commits

Author SHA1 Message Date
thorpej
3c5483a351 Fix a couple of usage strings. 1998-10-15 21:49:09 +00:00
thorpej
1bf971a883 Build scsictl. 1998-10-15 21:45:30 +00:00
thorpej
c9a47c223b scsictl(8) - a program to manipulate SCSI devices and busses. Currently
supports:

Devices: identify, reassign blocks, reset

Busses: reset, scan for devices

Coming soon, device formatting, mode page editing, device freeze/thaw, etc.
1998-10-15 21:44:39 +00:00
thorpej
7490553d67 Add /dev/scsibus* device nodes. 1998-10-15 21:22:51 +00:00
drochner
5bdff43727 Initialize default disklabel properly: Whole disk is RAW_PART, not 'a'. 1998-10-15 19:08:33 +00:00
drochner
337bfd46a5 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
1998-10-15 18:46:37 +00:00
drochner
2468738337 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
bad
34f348a9e4 Work around gcc warning. 1998-10-15 18:01:49 +00:00
ws
f82918b49b Add int13 extension support 1998-10-15 15:28:22 +00:00
bad
50aa1b9d51 Add the IDT WinChip C6 to the cpu type table. 1998-10-15 15:26:01 +00:00
ws
1cd9ec3c71 Separate master bootcode from fdisk. 1998-10-15 15:23:23 +00:00
ws
3cdac6d69c Separate master bootcode from fdisk.
Add int13 extension support to master bootcode.
1998-10-15 15:22:13 +00:00
tsubai
3b892dd579 /chaos/control support. (tested 640x480 mode only) 1998-10-15 14:48:47 +00:00
tsubai
810fcde7eb Set PCI bus number correctly. 1998-10-15 14:39:53 +00:00
bad
28b3386649 Add CPUVENDOR_IDT and CPU_C6. 1998-10-15 13:40:33 +00:00
drochner
452c73a1a2 Prevent sscanf() from overflowing its output buffer(s) if the input
string contains a hostname longer than 255 chars.
Truncates silently now - still better than crashing.
1998-10-15 12:34:21 +00:00
bouyer
999d5323c0 Make CPURESET_DELAY a patcheable variable, as sugested by Chris G. Demetriou. 1998-10-15 11:41:28 +00:00
bouyer
96a0812fd8 Kill an extra printf("\n"). 1998-10-15 11:38:04 +00:00
mycroft
4dadf81abe Add a config file for minbar/cvs.fi.
Extract common config switches into a separate file.
1998-10-15 10:24:26 +00:00
kleink
a292d8ec80 (bcmp(), bcopy(), bzero()) -> (memcmp(), memcpy(), memset()) 1998-10-15 10:22:23 +00:00
kleink
b0decd2b79 Need an internal name for dn_expand(). 1998-10-15 09:28:13 +00:00
ross
034eedfe44 Add missing .El 1998-10-15 08:18:46 +00:00
mycroft
ef3079f0ee Make sure we free the buffer in all error cases.
Do the final realloc(3) to the size of the string, not the size of the buffer
allocated for the string (which is a noop).
1998-10-15 07:36:09 +00:00
mycroft
285284da77 Allocate space exponentially, not linearly. 1998-10-15 07:10:38 +00:00
thorpej
d153ad6324 Some const poisioning. 1998-10-15 07:06:47 +00:00
matt
a9a911bdba Add .type pseudo-ops needed for shared libraries. 1998-10-15 06:01:11 +00:00
thorpej
859b5d88a6 Protect kernel prototypes w/ #ifdef _KERNEL. 1998-10-15 05:11:52 +00:00
thorpej
2ebdceb3f7 Forward decl of struct proc. 1998-10-15 05:10:20 +00:00
mycroft
ee042cb008 Disable the I/O address, DRQ and IRQ validation; assume that the config file
is sane.
1998-10-15 04:05:53 +00:00
mycroft
d2d873481a pcic_wait_ready(): If we didn't get READY, print out the current status. 1998-10-15 04:04:43 +00:00
mycroft
b464b3b631 When doing a `make build' without DESTDIR, run ldconfig(8) after updating the
libraries.
1998-10-15 02:50:00 +00:00
kim
00d5e09649 Regen. 1998-10-15 02:01:29 +00:00
briggs
b8fdc19047 Explicitly declare the storage for some variables that used to be defined only
in a header file.  Defined here since tt_tab was already defined here
1998-10-15 01:49:04 +00:00
ross
0450169fae 1. Avoid snarfing label areas unless necessary; read with monotonically
increasing block numbers and don't reread cylinder 0.

2. Recognize the USTAR.... meta-info file...kind of like a super-block,
   it makes the volume size and label info programmable.
1998-10-15 01:11:46 +00:00
ross
3e35915bc3 Don't use big 16K blocks for the -b contiguous secondary boot installation.
It leads to confusion about where the end of the image is on tape boots.
1998-10-15 01:05:20 +00:00
ross
16bf3552bb Save a0 during bss clear. 1998-10-15 01:02:55 +00:00
ross
9f7ca48f3b Delete prom_open() wrapper routine. Other clients of prom_open
can use the prom.h dispatch macros instead, especially since they
all presently expect the raw return bits.
1998-10-15 01:02:15 +00:00
ross
c84b7f501e Delete bogus prom_open() prototype. 1998-10-15 01:00:56 +00:00
ross
412f6ae85b Grab booted_dev_fd parameter from bootxx. It won't be there for netboot
but there should be no harm done.
1998-10-15 01:00:07 +00:00
ross
6336abe01a const'ify 1998-10-15 00:56:56 +00:00
ross
df51a43618 Rototill the primary boot for...
1. much faster speed
  2. support of more media types
1998-10-15 00:55:48 +00:00
ross
c33589db84 Consult osrelease.sh and pass down NETBSD_VERS 1998-10-15 00:52:38 +00:00
ross
74f36b2497 Try the ustarfs open first...it's the only one that can't necessarily
seek. We might be reading a tape and the extra superblock reads will
eat up tape records.
1998-10-15 00:51:22 +00:00
ross
9c29657a67 Extern def for raw prom disk file descriptor. 1998-10-15 00:49:34 +00:00
ross
b0367fb980 Don't actually do the raw prom open here. 1998-10-15 00:48:55 +00:00
ross
8447dd624c 1. STANDALONE -> _STANDALONE
2. Key raw prom interfaces defes on ENABLEPROM
3. Define the prom "ioctl" magtape functions.
1998-10-15 00:47:28 +00:00
ross
d4e2b18bb1 Define ENABLEPROM, which turns on the raw prom interface defs. 1998-10-15 00:45:52 +00:00
ross
ee65bcaa99 Cast quad_t and off_t objects to (long long) for printing with %q.
(Fix a sort-of-LP64 egcs printf warning.)

It's unfortunate that off_t and quad_t don't print with %q. I wonder
what would happen if alpha changed these from long -> long long? It's
the same actual size in bits either way.
1998-10-15 00:29:51 +00:00
mycroft
5512409373 Reconstruct a split file name correctly. 1998-10-15 00:07:34 +00:00
thorpej
4567103300 Make this compile again, and fix some whitespace lossage. 1998-10-14 21:56:57 +00:00