rvb
67390e1ee2
Make serial line debugging easier to enable and use
1998-08-13 17:41:10 +00:00
drochner
fa0aee147e
Use the new mkdtemp() instead of mktemp();mkdir().
...
Various cleanups (and typecasts) to get lint quiet.
Add remaining prototypes, enable -Wmissing-prototypes -Wstrict-prototypes.
1998-07-28 20:10:53 +00:00
drochner
7cdf5d9a77
retry disk accesses (for shaky floppy drives)
1998-07-23 09:59:44 +00:00
drochner
acea5c2e79
add dependency to get the version number right
1998-07-08 17:47:42 +00:00
drochner
13b329cdd2
bump version number to reflect the partition ID change
...
(should have been done long ago)
1998-07-08 17:46:21 +00:00
drochner
cbb7aa93f0
from FreeBSD:
...
wpaul 1998/07/02 08:36:36 PDT
Modified files:
sys/i386/boot/biosboot start.S
Log:
Add workaround to allow the FreeBSD boot block to work on
Kapok Computer Co. notebook with AMI 'WinBIOS' which seems to insist
on having a short jump and nop as the first instructions in the
boot sector code. The prevailing theory is that the BIOS is doing
some sort of boot sector virus detection and refusing to run any
boot block that doesn't start with the same instruction sequence as
MS-DOG boot sector code. If this is the case, it would be nice if it
actually printed an error message to this effect instead of just
saying 'FAILED.'
This workaround has no effect on the boot sector code other than to
increase its size by three bytes.
1998-07-07 13:58:59 +00:00
kleink
e6be56ae0b
Need <stdlib.h> for mktemp() prototype.
1998-06-01 14:05:35 +00:00
drochner
4153971158
Framework to test standalone code in a friedly user environment.
1998-05-15 17:07:14 +00:00
drochner
a8857f05e8
Allow to use the code in user land test programs.
1998-05-15 16:38:53 +00:00
drochner
12d352b2f9
minor corrections
1998-05-14 18:34:11 +00:00
drochner
04682788a9
misc improvements:
...
-initialize errno to 0 before receiving
-minimal allowed packet size is 4 (empty data packet)
-Be nice to the TFTP server - tell it that the transfer is finished
(additinal ACK at EOF, ERROR otherwise). Otherwise, it will linger
around and retransmit. This can be left out (TFTP_NOTERMINATE) if we
are really short on space.
1998-05-14 18:26:47 +00:00
drochner
2e9a412d43
allow to use from user space test programs
1998-05-14 18:17:44 +00:00
drochner
26d2f5e3b6
allow to access from user space test programs
1998-05-14 18:15:02 +00:00
drochner
2a3fff85f0
add RCS ID
1998-05-06 13:32:18 +00:00
mycroft
4fe1e7a83d
Make main() return int to shut up egcs. (Yuck.)
1998-03-31 05:29:21 +00:00
cgd
b3d285e625
add -nostdinc to CPPFLAGS, so that /usr/include won't be used
1998-03-27 01:32:53 +00:00
cgd
9da165424c
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-02 19:57:00 +00:00
fvdl
0485953099
Make this compile after the lite2 merge.
1998-03-01 13:22:55 +00:00
drochner
3ee0e26f7d
document 3c900 TPO support, add comments
1998-02-25 12:19:12 +00:00
drochner
41bbe0c360
3c900 TPO works too, as reported by Feico Dillema <dillema@acm.org>.
1998-02-25 12:15:49 +00:00
mycroft
03f75a79ff
Nuke the override of libkern SRCS from orbit.
1998-02-22 07:19:02 +00:00
drochner
ce380ad936
enable "old partition ID" compatibility per default
1998-02-19 14:18:36 +00:00
drochner
ad33d83f8b
Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
...
partition ID if the NetBSD ID was not found.
Cleanup, use definitions from <machine/disklabel.h>
1998-02-19 14:15:38 +00:00
drochner
411e77cac8
Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
...
partition ID if the NetBSD ID was not found.
1998-02-19 14:12:48 +00:00
drochner
07fdccb3a4
Document new WD80x3 option.
1998-02-16 11:41:14 +00:00
drochner
509f891bd0
-Completely reset the card in EtherStop(), otherwise the next
...
open can fail.
-Disable interrupts in the mask register - EP_W0_RESOURCE_CFG is not
sufficient for PCI cards.
1998-02-16 11:26:36 +00:00
drochner
b8cdacb8d5
Redo standalone driver for WD8013 / SMC Ultra boards.
...
(The old one was buggy.)
Frontend / backend splitup and most code taken from sys/dev/ic/dp8390.c
and sys/dev/isa/if_we.c.
1998-02-16 11:21:59 +00:00
drochner
ae1a2006c5
-take over debugging printf format fixes from sys/lib/libsa/nfs.c rev.1.23
...
-make error reporting for mount working as in sys/lib/libsa/nfs.c
1998-01-24 12:43:09 +00:00
drochner
9219f22775
strchr.c disappeared from libkern, use index.c instead
...
(we can't control the libkern build as we want, but it works...)
1998-01-22 15:48:02 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +00:00
drochner
23e7d0a259
Adjust comment for new default fragment table size.
1997-11-07 17:01:45 +00:00
drochner
4ad496626c
Double default fragment table size. For fragmented and / or small
...
blocksize filesystems the old default was too small.
1997-11-07 16:59:41 +00:00
drochner
8539f2f3b9
../lib/exec_fromdos.c doesn't use the memory size returned by XMS check
...
anymore if other methods work better. Sync banner output with this.
1997-11-03 18:17:19 +00:00
drochner
90e33ee203
When using XMS, use the XMS size returned by the BIOS only if the other
...
methods to detect extended memory didn't work well.
(this XMS size is always too small, typically by 68k)
1997-11-03 18:06:22 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
drochner
bdf1b13477
-Don't try to parse the bootfile path in DOS mode.
...
-Take "dev" command from "biosboot" for consistency.
1997-10-31 18:50:09 +00:00
fvdl
d2016e2df0
Disable interrupts when frobbing the keyboard controller for A20, as
...
it may generate a reset on some (older) controllers. Introduce a delay
to make some kbd controllers happier.
1997-10-29 00:32:49 +00:00
drochner
ec78310453
Catch "timeout" return of serial port read BIOS call.
1997-10-27 19:53:20 +00:00
drochner
64550a14f3
Pass status byte to caller too.
1997-10-27 19:51:18 +00:00
hubertf
59b0f424db
Prevent error if machine-symlink isn't already there (rm -> rm -f)
1997-10-18 21:46:27 +00:00
mycroft
4b807f403c
dev/isa/comreg.h -> dev/ic/comreg.h
1997-10-16 08:03:05 +00:00
drochner
e14496efb8
Ignore BIOS partition table and disklabel for floppys and RAW_PART,
...
for consistency with the kernel.
1997-10-13 09:26:29 +00:00
drochner
6969cb676f
Pass new boot information per default.
1997-09-28 13:31:45 +00:00
drochner
4de13c78d3
Use the "proginstall" rule from <bsd.prog.mk> to get the UPDATE
...
behaviour right.
1997-09-28 11:47:29 +00:00
drochner
c03122fcb1
In some future (ie, without COMPAT_OLDBOOT), we don't want to bother
...
with the disk type (IDE or SCSI) here - the BIOS doesn't do it either.
Set "#ifdef"s accordingly.
1997-09-20 12:36:05 +00:00
drochner
dc0b04e0ad
Note use of common menu functions and new framework for argument passing
...
to the kernel.
1997-09-20 12:28:21 +00:00
drochner
041680f614
don't forget to save the partition number for the kernel
1997-09-20 12:17:41 +00:00
drochner
9b4679d869
-Don't pass hardware address, it is not of much use for the kernel.
...
-define "addr" differently for ISA and PCI devices - for PCI, it is
(bus,device,function) now, in the format used by the PCI BIOS
1997-09-20 12:13:01 +00:00
drochner
1d47009a08
Use <machine/bootinfo.h> for definitions shared with the kernel.
1997-09-20 12:10:06 +00:00
drochner
8b0c39d09e
The additional linefeed appeared again... kill it.
1997-09-17 19:39:37 +00:00