Commit Graph

28085 Commits

Author SHA1 Message Date
sakamoto 0b4e481612 add "mii" to vr driver. 1999-02-09 02:04:36 +00:00
wrstuden d0ab43c887 Oops. Need to have VOP_LOCK before calling uvm_vnp_terminate, not after
(comments and code inspection in uvm_vnp_terminate agree on this).
1999-02-09 01:57:05 +00:00
mjacob 1a911bb798 roll internal release level 1999-02-09 00:54:07 +00:00
mjacob 3c21a2493b Roll internal release tag. Print out if we're in a 64 bit PCI slot.
Use fast memory timing NVRAM parameter. Clean up and fix establishment
of default target parameters. Don't use NVRAM if are flagged as not to
do so (I had a busted NVRAM setup which I couldn't edit that enabled SYNC
mode but disabled disconnect/reconnect and wide!!). Fix delays after
resets. BUS resets not done in isp_init anymore- relegated to OS
specific outer layers. Fix a buglet where you can get in a loop for
a NULL xs in the completion list in isp_intr. Add in some defines that
can disable fast posting. Add in code for Loop Up/Loop Down events that
call into the outer layers as to what to do.
1999-02-09 00:52:23 +00:00
mjacob 0cf98e4e12 Roll internal release tag. Roll core version minor. Fix broken DPARM_DEFAULT
define. Add a new config flag param (ISP_CFG_NONVRAM) whose intent it is
to cause NVRAM to be ignored. Add ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP
isp_async enums.
1999-02-09 00:46:25 +00:00
mjacob d8d9458410 fix a couple of NVRAM defines 1999-02-09 00:44:42 +00:00
mjacob c1adc949c2 roll internal release tag 1999-02-09 00:44:06 +00:00
mjacob 6a8ebccd6a Do SCSI Bus resets in this layer (now). Don't do it for Fibre Channel yet
(we get LOOP DOWN events, and we'll hang on that at this time).

Add other isp_async cases- ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP. DOWN
will cause internal queuing until UP, whereupon a timeout will fire up
any pending xfers. It doesn't really keep commands from getting destroyed
by loop down events, but at least minimizes the damage. This was much
easier to implement with CAM.
1999-02-09 00:42:22 +00:00
mjacob ee45547dde Roll platform revision level. Add blocked flag and waitq to osinfo structure. 1999-02-09 00:37:35 +00:00
mjacob c47d6855db clean up pci configuration a bit 1999-02-09 00:35:35 +00:00
tls e8690f9bd1 Fix ESS/SB confusion for 1868 and 1869 chips: because isapnpdevs is parsed by an awk script, you *must* comment out each line separately, which is why ess was still trying to attach chips it couldn't cope with. Note that this leaves isapnp ess with no matches -- shouldn't the 188X be in here? Also, add another isapnp PCIC. 1999-02-08 22:10:09 +00:00
thorpej c9f76153fa Add some missing newlines in printfs. 1999-02-08 19:37:29 +00:00
bouyer f6f9f8a965 Change DIOCEJECT to do what's needed to eject a device before the eject
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
1999-02-08 16:33:16 +00:00
bouyer 1e0e78854a There's no ATA draft where it is required for the drive to set DRDY | DSC when
the disk is ready to transfer data, and in ATA-5 the DSC has been obsoleted.
So only wait for DRQ to transfer data. This can be made conditional on the
ATA version if it's proven to break with some drives (worked with all the
drives I have access to).
While I'm there correct a few typos.
1999-02-08 15:22:28 +00:00
sommerfe 999d27da77 Don't bother copying output queue into automatic buffer; instead, pass
contiguous chunk of outq to emulation routine.  Fix based on patch
from M. Drochner, modified to call output routine once with each
contiguous chunk when the ring buffer wraps around.
1999-02-08 14:48:07 +00:00
tsubai cd010c972c Oops, last change is wrong... 1999-02-08 14:32:00 +00:00
he f96a373094 Avoid "unterminated character constant" error from mkdep (really cc).
I guess in some sense it's stupid to use cc to depend .S files.
1999-02-08 10:45:11 +00:00
sommerfe 95ee03319d Change WSDISPLAYBURST from OBUFSIZ-1 to OBUFSIZ*4, for a ~15x
improvement in the "cat /usr/share/misc/termcap" benchmark on 486/75

ttwrite queues data for us in OBUFSIZ chunks.  If we only consume
OBUFSIZ-1 bytes per call to wsdisplaystart(), we're *guaranteed* to
fall behind when given maximum-sized reads (which will defer
processing the leftovers until ttrstrt gets called, after a timeout)

Note that OBUFSIZ*4 may be overkill; OBUFSIZ*3 may be sufficient to
get maximal performance; OBUFSIZ*2 resulted in only about a 2.5x
performance improvement, but it's 2am and I've done enough tweaking
for the night.
1999-02-08 07:05:51 +00:00
fvdl 1461618ead Make this compile for SUN4 only. 1999-02-08 00:13:20 +00:00
sommerfe 0d3a9dfce7 Don't bring scsi/atapi common files in under the "atapi" attribute.
Bring them in under atapibus since they're not needed unless something
attached to an atapibus is also attached.
Tested on i386 and arm32.
1999-02-07 22:58:43 +00:00
christos d30ef27fb0 s/ELF/__ELF__/ 1999-02-07 20:21:09 +00:00
tron 2fefe24803 Remove "lib" directory only during "make cleandir" so that ".depend"
doesn't get nuked during "make clean".
1999-02-07 18:25:54 +00:00
drochner b2c4a7b933 use mi data conversion functions, simplify inittodr() and resettodr() 1999-02-07 17:29:26 +00:00
drochner 36be191753 -pull in mi date conversion functions
-include files.vme (not worth much normally, but makes it easy to
 plug in something)
1999-02-07 17:25:31 +00:00
christos 636b3ee69b s/JUMP/JMP/ like every other arch. 1999-02-07 17:20:00 +00:00
drochner 0f145938b4 put all century related code into an own function clock_expandyear(),
touch the CMOS century byte only if the CMOS contents passes a
checksum test which qualifies it as "known compliant"
1999-02-07 16:18:00 +00:00
minoura cc5f9932f8 Issue SCSI reset on initialize.
Clean unused mha_reset.
1999-02-07 15:18:58 +00:00
tron 08c7376961 Remove "lib" directory created during build process while doing
"make clean" or "make cleandir".
1999-02-07 13:39:36 +00:00
jonathan c9d036d796 defopt MEMORY_DISK_{HOOKS,SERVER,IS_ROOT}. 1999-02-07 09:34:58 +00:00
jonathan 3fa9c3ec91 garbage-collect `options MULTICAST'. IP multicast is no longer an option. 1999-02-07 07:14:21 +00:00
jonathan ac38e160d1 Add `strip' line for testing Ricochet modems at 115200 bps. 1999-02-07 07:12:19 +00:00
thorpej 6eedee5c9d Add entropy gathering. 1999-02-07 01:54:50 +00:00
is 9332e61aae Define _STANDALONE instead of STANDALONE. 1999-02-06 23:17:07 +00:00
is 892e4f60af One more small step towards a unified m68k pmap:
use the common pmap_copy_page() and pmap_zero_page (copied from Atari).
1999-02-06 22:48:08 +00:00
thorpej ad268a2ff8 STANDALONE -> _STANDALONE. 1999-02-06 21:19:24 +00:00
mycroft 5542a949cd Config for for an AS200 with TGA/WSS/PCMCIA (although the TGA and PCMCIA aren't
fully functional yet).
1999-02-06 20:22:43 +00:00
tsubai d1276ebc65 Make this compile. (and sync with dev/ic completely) 1999-02-06 20:04:31 +00:00
drochner bce7f71843 sort the dependencies between terminal devices a bit and add consistency
checks to catch conflicting devices at compile time
1999-02-06 18:46:21 +00:00
kleink 90d5be7726 Add missing minherit() declaration. 1999-02-06 16:14:52 +00:00
jonb aae389c323 STANDALONE should be _STANDALONE 1999-02-06 15:20:26 +00:00
hannken c4bc93ad94 Define _STANDALONE instead of STANDALONE. 1999-02-06 13:34:15 +00:00
explorer 47bc7c51b7 rewrite usage of tailp slightly, to convince gcc that it really isn't used
initialized.
1999-02-06 11:57:35 +00:00
cgd 6b77f11d67 put in better name/description for Simon G's board 1999-02-06 06:55:15 +00:00
cgd 04046c6dd7 add code to cope with multiple ports per BAR, as are found, for instance,
on the 8 port card Simon Gerraty has.  In general, cards which have
this lots of ports also have a separate interrupt status register, but
this change is just to talk to the various ports independently.  It works,
but it's not optimal.  (XXX still need a good name for the card in the
comments, and to update the manual page.)
1999-02-06 06:29:54 +00:00
thorpej 3bf59302e9 Workaround for disks that respond slowly to selection, provided by
David Jones in PR #3769.

Every day, I hate this driver more and more.
1999-02-06 03:30:32 +00:00
thorpej 23382bdfcb Regen. 1999-02-05 22:55:40 +00:00
thorpej 0955479f29 Add some Olicom Ethernet device IDs, from FreeBSD's tl driver. 1999-02-05 22:55:19 +00:00
matt 7ebd19d744 According to Dave Borman, the iss should be using snd_nxt and not rcv_nxt
(from tcp_impl mailing-list).
1999-02-05 22:37:24 +00:00
thorpej 6a75ade4bc The x86 does not have strict alignment requirements, so define
__NO_STRICT_ALIGNMENT here.
1999-02-05 22:13:12 +00:00
thorpej d95d5b1488 Make this driver work on the Alpha. Apparently the receive DMA mechanism
has the same 4-byte alignment requirement that the transmit side does.  This
causes the packet payload to be misaligned.  So, on systems which require
strict alignment, we must copy the incoming frame to a new packet buffer,
suitably aligned.
1999-02-05 22:09:46 +00:00
thorpej b52d1e44d0 Fix the interrupt handler to actually acknowledge the interupt to the
dispatch code (!!!).  How did this work even on the i386 before?
1999-02-05 21:20:31 +00:00
thorpej 58beb19c16 Regen. 1999-02-05 20:20:04 +00:00
thorpej 53089c1ade Add oui for Davicom Semiconductor, and add Davicom DM9101 10/100 PHY. 1999-02-05 20:19:44 +00:00
bouyer ca083f6095 Sync with libc version. 1999-02-05 16:34:13 +00:00
thorpej dde3694c4c Fix some formatting nits. 1999-02-05 08:42:03 +00:00
thorpej 82a54250be Remove some duplicate softc members, and comment some of the softc
fields.
1999-02-05 08:27:46 +00:00
thorpej 8bf66d3eb2 Remove some unnecessary splnet's. 1999-02-05 08:21:31 +00:00
thorpej 50faf19d7d splimp -> splnet 1999-02-05 07:53:24 +00:00
thorpej adc9c40688 Use the generic MII support code, not our own. 1999-02-05 02:58:38 +00:00
thorpej f9467ddb8e Some PHYs are really braindead, and report incorrect IDs. Simplify the
test for this, and probe for PHYs based on media in the BMSR.
1999-02-05 02:46:34 +00:00
thorpej ebf3a97519 Use MII command opcodes from <sys/dev/mii.h> 1999-02-05 01:17:24 +00:00
augustss eade8dcad9 Don't use ess driver for ESS186[89], it doesn't work. 1999-02-05 01:15:01 +00:00
thorpej 909b90d2d4 Rename VR_MIICMD_DATAIN and VR_MIICMD_DATAOUT to actually match what the
data sheet says.  (The names and their usage were exactly reversed in the
code.)
1999-02-05 01:10:30 +00:00
oster 0014588545 Phase 2 of the RAIDframe cleanup. The source is now closer to KNF
and is much easier to read.  No functionality changes.
1999-02-05 00:06:06 +00:00
explorer 25d32ef34d REALLY only update the window when we get an ACK. (the old code seemed broken) 1999-02-04 22:58:37 +00:00
thorpej 8ef63cdb2c Print some more info in pmap_alloc_physpage() if no pages are available,
and enhance some DIAGNOSTIC messages.
1999-02-04 19:49:22 +00:00
thorpej 390864a7a5 Define a macro which has human readable strings corresponding to PGU_*
constants.
1999-02-04 19:48:21 +00:00
is 2633b97c02 regenerate from template 1999-02-04 19:19:38 +00:00
is c5e0224025 In the future, the AMIGA and DRACO example files will be generated from
GENERIC by make in this directory. This way, they hopefully will stay
up-to-date.
1999-02-04 19:01:37 +00:00
tsubai 7177191d30 Allocate DMA-aware memory area using "dma-alloc" method and use them
for data buffer.
XXX currently only netif_put() uses this.

iMac can use ofwboot.elf now.
1999-02-04 15:41:15 +00:00
fvdl 50217a8b50 Check for _STANDALONE as well as _KERNEL to make it compile again. Fold
some includes together in one #if as a result of this.
1999-02-04 15:26:42 +00:00
tsubai 78094a09f1 Uncomment PCI-PCI bridges. 1999-02-04 15:04:58 +00:00
tsubai 630abfea00 Add PCI-PCI bridge support for Bandit. 1999-02-04 14:54:00 +00:00
tsubai 46660b394f Make ptable really aligned to HTABSIZE. 1999-02-04 12:45:31 +00:00
tsubai 610a648c7d Use "local-mac-address" property to get MAC address. 1999-02-04 12:14:24 +00:00
explorer 24729226e5 sync with userland 1999-02-04 05:36:36 +00:00
explorer cf932f7d39 Install sha1.h in /usr/include/sys, but make a symlink from /usr/include, just like is done for md5.h. 1999-02-04 04:36:10 +00:00
mycroft 0c7afe477d Separate the tiocm code into functions, like the z8530 code, and fix the same
DTR bug.
1999-02-03 23:57:27 +00:00
mycroft 568f4aa704 Minor changes to tiocm code. 1999-02-03 23:51:06 +00:00
pk 6db0ff6627 Update last prototyping change. 1999-02-03 23:40:22 +00:00
mycroft 9be96dda95 Fix an inconsistency: PPS was turned off on first open, but the mode may have
still claimed it was enabled.
1999-02-03 23:22:11 +00:00
mycroft 535f59cc81 Slight redux in PPS code. 1999-02-03 23:20:33 +00:00
dbj 3e0d6eb0b4 overhalt of scsi driver.
it still probes the disks ok, but is having trouble with 0xdeadbeef
in buffers read from the disk.  Suspected problems with DMA alignment
and toggling the secret ninja dma control register
1999-02-03 20:44:43 +00:00
mycroft be1af660c0 Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mycroft b3a56d0097 Catch up with a change to the stint interface. 1999-02-03 20:22:28 +00:00
mycroft 54f0a0ae81 Clone changes from the version in dev/ic. (These should be merged!)
Note: NOT tested on this port yet.
1999-02-03 20:19:08 +00:00
mycroft b63b0fd80b Redo the N previous changes, plus a couple of other things:
* Move the printf() delay to just after the printf(), where it actually makes
  sense.
* Use zstty_stint() and zstty_softint() from zsparam(), to force an immediate
  update of the carrier and flow control status.  Abuse this in the attach and
  open functions to defer all of that work.  This insures that we don't lose
  any status updates.
* Don't screw with register 1 when closing the console.
* Fix bugs in TIOCM??? (stay semicolon, clearing DTR while transmitting).
* Add comments in a couple of places.
1999-02-03 20:15:51 +00:00
mrg 4553ce553c use <dev/sbus/sbusvar.h> not <sparc/dev/sbusvar.h> 1999-02-03 06:03:37 +00:00
msaitoh 1f5b9b4d63 sprintf->snprintf 1999-02-03 05:05:03 +00:00
msaitoh de35d7228d fix compiler warning 1999-02-03 01:16:20 +00:00
pk 4bd6ed2a8b Make this pass the `strict prototype' test. 1999-02-02 22:23:44 +00:00
thorpej e6c245c5df Implement pmap_prefer() for systems w/ an HP MMU (which has a virtually-tagged
cache).  This helps to avoid cache alias problems, and can improve performance
in the case where physical pages have multiple mappings (since the pages will
not have to be marked cache-inhibited).
1999-02-02 21:06:55 +00:00
thorpej f108f0164e Nuke the "pmapvacflush" debugging code. 1999-02-02 20:52:21 +00:00
cjs 8befad84b1 Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
cjs 269cb58003 Remove the sccs[] hack (which has broken twice now) and just make sccs[]
and version[] separate strings. (Other alternative hacks proposed may also
break in the future.) We don't make version a pointer into the sccs string,
because that would require changing programs that kvm_read() it, and break
backward compatability.
1999-02-02 19:40:47 +00:00
ragge 13daba04a1 Another giant change: Allocate register space dynamic instead of compiled-in.
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.
1999-02-02 18:37:20 +00:00
bouyer 5888b4354e channel_map is called before setup_chip, so whe need to enable the channel
status bits in acer_channel_map().
1999-02-02 17:06:05 +00:00
tsubai 68c9ce2c96 Don't use BAT register. (not needed now.) 1999-02-02 16:48:17 +00:00
tsubai a4de4218fd Use private (its own) segment registers in Open Firmware call,
instead of BAT register.
1999-02-02 16:47:08 +00:00
tsubai ef69721044 findroot() now recognizes network devices. 1999-02-02 16:37:51 +00:00
tsubai 378f49eff8 Ensure lowest 256MB is mapped by BAT0. 1999-02-02 16:29:25 +00:00
bouyer 1123e3e286 Mention pciide(4). 1999-02-02 16:18:17 +00:00
bouyer ca240ca7b5 Support for Acerlab M5229 IDE controller. Thanks to Thilo Manske for testing
the code, and to Takahiro Kambe who run several tests and finally found the
bug by himself :)
1999-02-02 16:13:59 +00:00
dbj f41cded075 make dma flushing more efficient and avoid stray interrupts when not using polled io.
remove check for normal chaining interrupts and add check for combined chaining interrupts
only when used with a tail chain.  This allows scsi to work for short unaligned buffers
and large aligned buffers.
1999-02-02 14:04:53 +00:00
bouyer 0075c51a23 Bump CDRETRIES to 4. Now if a DMA error occurs, the driver should downgrade
to PIO mode and the command be retried properly.
1999-02-02 13:02:49 +00:00
bouyer c0e7b6c5cb If sense_key == UNIT_ATTENTION and ASC/ASQ == "Power On, Reset, or Bus Device
Reset", retry the command instead of returning an error. XS_RESET is useless
without this, as the retryed command will die with this unit attention.
1999-02-02 13:01:36 +00:00
christos 0c8f3a4f31 Don't use obsolete sgtty crap. 1999-02-02 13:00:19 +00:00
bouyer 2bf6a99afb For IDE/ATAPI protocols botches, reset the bus and return XS_RESET
instead of XS_DRIVER_STUFFUP.
1999-02-02 12:59:31 +00:00
dbj d97559225c Removed some already commented out test code.
added debugging printout when invoking polled dma interrupt.
1999-02-02 12:46:13 +00:00
itohy 2667a4b26f Fix typo. 1999-02-02 10:00:18 +00:00
itohy fbfe12046d Trivial asm-level optimizations. 1999-02-02 09:16:52 +00:00
thorpej a350d7b28b Set the tunnel destination address correctly. Should fix PR #6899. 1999-02-02 07:20:13 +00:00
marc 5f688e6632 remove gre_softc declaration; the symbol is no longer used in this
file.
1999-02-02 07:10:45 +00:00
fair 14ec3b84b7 Bracket calls to Debugger() with #ifdef DDB (won't compile otherwise;
the prototype isn't there without DDB).
1999-02-02 04:57:11 +00:00
mark 5ef478be57 Fix some egcs compiler warnings (from Patrick Welche).
Closes PR6925.
1999-02-02 04:02:26 +00:00
thorpej 05cbb33e4c Use pcidevs.h to get vendor and product IDs. 1999-02-02 00:32:21 +00:00
thorpej b6a84f08e8 Take software-only structure definitions out of the register description
header.
1999-02-02 00:29:17 +00:00
thorpej bb5edf7345 Remove support for FreeBSD from the driver; so many changes are going
to be required to make it properly portable to all of NetBSD's platforms,
that it just wouldn't be worth the effort.
1999-02-02 00:05:02 +00:00
thorpej 2bdfbafc37 Minimal changes to make this compile on the Alpha. Much more work is
needed to make this a truly portable driver.
1999-02-01 23:40:22 +00:00
tron 899ac42bec Fix bug exposed by new "mkdep" program:
"${SFILES}" is empty so that "cc" will fail with "No input files"
during "mkdep".
1999-02-01 23:18:56 +00:00
mrg 1ccaf05ff1 add CPU_SUN4U, to make libkvm compile. 1999-02-01 22:20:02 +00:00
marc 9231ba8603 - make sure that sc->handle[i].flags is initialized in all cases
- check PCIC_FLAG_SOCKETP before disabling the CSC_INTR.
1999-02-01 22:17:05 +00:00
matthias 437e1d2f00 sync with libc version 1999-02-01 21:35:36 +00:00
he 38e33af591 Enable DDB, but with DDB_ONPANIC=0. 1999-02-01 16:16:52 +00:00
mycroft 5e373d307f Clear mfchashtbl after it's deallocated, to kill a stray pointer. Fixes PR
5400.
1999-02-01 15:09:46 +00:00
dbj f6955fc60b Fix return value in interrupt routine so that dma gets flushed correctly.
Turn on the esp_match since polling the scsi bus now works.
1999-02-01 12:53:48 +00:00
jonathan 9ec88780aa size_t and void*-arithmetic changes from sys/libsa/ufs.c. 1999-02-01 03:08:05 +00:00
jonathan 45f13be5cb use memcpy, not bcopy, for non-overlapping copies. 1999-02-01 02:46:59 +00:00
simonb 22cbe4abc1 Add a comment that the bcopy #define that uses the PROM's memset don't
handle overlapping copies.  From Jonathan Stone.
1999-02-01 02:18:46 +00:00
cjs a3793dc8e8 Add a missing tab for cosmetic purposes. 1999-02-01 01:36:21 +00:00
nisimura 52bd8c333b - Nuke USPACE for now-defunct 'nullproc' pcb (8KB saving). 1999-02-01 00:32:18 +00:00
wrstuden 36c50aaa14 Add the patch I floated on tech-kern. Andreas Eltrich <elchy@dahoam.de>
says it got pppd working for him.
1999-01-31 21:41:00 +00:00
tsubai fed24e89c8 Adapt disklabel_mbr.h change. 1999-01-31 19:56:56 +00:00
christos e30bd461e3 Fix prototypes for iso_gethostbyname and iso_gethostbyaddr 1999-01-31 19:43:32 +00:00
dbj b970be0907 Made reboot and halt work. 1999-01-31 18:12:14 +00:00
dbj 107dd5ccc6 use WSEMUL_VT100 instead of WSEMUL_SUN 1999-01-31 18:07:41 +00:00
scw 2cbc4abc96 Make this compile again. 1999-01-31 14:06:40 +00:00
tsubai a4f0ae9043 Adapt disklabel_mbr.h change. 1999-01-31 13:54:24 +00:00
simonb cbbad6d2b2 Add bzero/bcopy defines to use PROM memset/memcpy.
Change test to include defines from
	#ifndef _KERNEL
to
	#if defined(_STANDALONE) && !defined(_NO_PROM_DEFINES)
1999-01-31 13:49:40 +00:00
drochner 0e91ebb904 make the last fix work as intended 1999-01-31 11:15:43 +00:00
is 93a62a003d Wrong sign of dialout. 1999-01-31 10:30:22 +00:00
mrg 08fd4f3f47 80 cols. 1999-01-31 09:27:18 +00:00
mrg 35fa3fbdc7 add SWAP_DUMPDEV. 1999-01-31 09:26:28 +00:00
mrg 1c93cc902d non-root users can mkfifo over NFS. 1999-01-31 09:24:10 +00:00
mrg 7006310cbd retire _LP64; use compiler provided __arch64__, but still defined _LP64 where we used to anyway. 1999-01-31 09:21:18 +00:00
dbj 21ab415ee6 Added support for setting boothowto from boot loader flags.
print out string of `.' when powering down to work around ununderstood
behavior of rtc chip.
1999-01-31 07:02:33 +00:00
dbj f0b3caaceb Accidentally uncommitted wscons change.
attach nextdisplay to mainbus for wscons support.
1999-01-31 06:59:30 +00:00
mjacob ee72ee212e darn- 7.55 seems to be a little unstable- go back to 1.31 1999-01-31 04:56:20 +00:00
castor d0ca7993a0 Remove genpubasym.cf stuff 1999-01-31 01:01:12 +00:00
castor 98c9d5e1c6 Remove genpubassym.cf stuff. The macro _MIPS_BSD_API allows selection of a
64-bit clean compilation model.
1999-01-31 00:55:41 +00:00
is b85f4a5e4d Remove redundant code (leftover from editing). 1999-01-30 21:54:49 +00:00
thorpej a22cfcf3d4 Make programs that use raw IP work again; trim the header length from ip_len
before handing the packet off to the socket.
1999-01-30 21:43:16 +00:00
christos 736a561afb Add my name in the copyright, since the code looks very different now. 1999-01-30 17:51:52 +00:00
christos 5699d1ab3d Remove exec.c from here. I want to make it obvious that it has to be built
with different flags from dosboot and biosboot. Although right now this
does not make a difference because we are building the libraries twice,
it can make a difference when we share the builds.
1999-01-30 17:46:53 +00:00
christos 07b1febfb8 - Use MARK_ENTRY instead of MARK_START.
- ELF changes. Now an ELF installboot installs ELF bootblocks properly.
1999-01-30 17:45:42 +00:00
christos 371363a158 Add exec.c here and bump version for elf.
XXX: This code has not been tested!
1999-01-30 17:44:10 +00:00
christos 25fc1fa758 Add exec.c here... 1999-01-30 17:43:38 +00:00
christos ad9c7a287c Remove exec.o, and make necessary changes for elf. 1999-01-30 17:43:10 +00:00
scottr 7bc05635d3 Catch up with changes to MBR handling. From Erik Bertelsen in PR 6911. 1999-01-30 17:34:31 +00:00
eeh 8ee118c70d Fix problems with bus_space*() macros (thanks M.Drochner). 1999-01-30 17:02:32 +00:00
minoura 8ed711f1bc MC68450 DMAC regs. 1999-01-30 14:58:26 +00:00
drochner cf06eef09a make wscons the default 1999-01-30 13:44:25 +00:00
simonb 53e963b5ef Add -mmemcpy (from Jonathan Stone) and bump -G to 128. Bootblocks now
fit!  Still needs more testing, so we don't actually install them yet...
1999-01-30 12:57:58 +00:00
simonb 98ceefb712 Actually depend on libsa now. 1999-01-30 12:39:28 +00:00
simonb 555cdd32e5 Don't define an ioctl routine for the rz driver, nor pull in the empty
routines in libsa/dev.c.
1999-01-30 12:30:57 +00:00
simonb 1047f11c01 Remove unused callvec stubs and libsa routines, add memcpy.c. 1999-01-30 12:23:10 +00:00
simonb db342dee15 Add memcpy callvec stub, copied from strcat.c 1999-01-30 11:54:31 +00:00
simonb a9f9300b78 Tell how many bytes of code are available, and print a warning if the
bootblocks are too large - from Michael Hitch.
1999-01-30 10:14:45 +00:00
mjacob 6bcdc2b5d2 Implement and use Fast Posting for both parallel && fibre. Redo a bit of
the startup code. Implement a call to outer framework function so that
asynchronous events can be handled (e.g., speed negotiation, target mode).

Roll internal release tags.
1999-01-30 07:31:50 +00:00
mjacob 513722ba25 Grrr.. Do the *correct* and *usable* 1.31 firmware. You have to power
cycle to get rid of the old 1.31 firmware. *@!$&^@&$!&^&^!!!!!

But anyway comment it out and use new SBus 7.55 firmware. We get fast posting
with this as well as 32 luns and target mode support.
1999-01-30 07:18:59 +00:00
mjacob 09ce6222fc roll internal release tag 1999-01-30 07:14:26 +00:00
mjacob 5c5ac2958f roll internal release tag and finally use bus_space I/O 1999-01-30 07:10:38 +00:00
mjacob 1ece20c808 roll internal release tag 1999-01-30 07:08:04 +00:00
simonb 500353b4c3 Use DEC_REX_MAGIC instead of a undocumented magic number 1999-01-30 00:40:38 +00:00
simonb e1167d2415 Add REX magic number 1999-01-30 00:36:10 +00:00
drochner b6867c91a4 make the timeout for process/vt synchronization "config" settable and
ddb/gdb patchable
1999-01-29 22:24:24 +00:00
tron 4fe3a6480e Fix bug exposed by new "mkdep" program:
"${SFILES}" is empty for a "SHARK" kernel so that "cc" will fail with
"No input files" during "mkdep".
1999-01-29 22:20:49 +00:00
thorpej 191dab44fa Um, last rev was kind of backwards... actually build exec.o so that
the boot block links.
1999-01-29 22:13:42 +00:00
matthias b88b2d4f9b MBR_PTYP_* -> MBR_PTYPE_* to make this compile again. 1999-01-29 21:20:22 +00:00
christos e58bb79483 Merge XMS changes from exec_fromdos.c 1999-01-29 18:49:08 +00:00
christos e25e5c88f9 Both booters need exec.o now. 1999-01-29 18:47:58 +00:00
christos 35ca0db06c Revert, wrong place for this. 1999-01-29 18:47:24 +00:00
christos 6cadeb1ea6 Add exec.c here. 1999-01-29 18:46:15 +00:00
christos 3c7776f1b6 exec.c has all the info now. 1999-01-29 18:45:34 +00:00
christos 89cc672d98 Jason forgot to make the disklabel_mbr.h changes for this and ows me 5 hours
of debugging.
1999-01-29 18:45:12 +00:00
christos 722d35a400 Add the ability to get the size of the loaded image without actually
loading. This is useful for dos loading and installboot.
1999-01-29 18:44:09 +00:00
christos 7a7391de52 Simplify by using new feature of getting the load size. 1999-01-29 18:43:11 +00:00
christos 1e39fefac4 Remove -g accidental addition 1999-01-29 18:41:50 +00:00
drochner cc66380116 fix address incrementing in the read_region_N, write_region_N,
set_region_N and copy_region_N methods
1999-01-29 16:30:51 +00:00
castor a7c11f272e Copy previous fix for TLB miss routine to XTLB miss routine to avoid
processor-dependent behavior in 32-bit ops on 64-bit operands.
1999-01-29 16:10:06 +00:00
bouyer b87a535a9f A small typo fix, + enclose "used_vnode_size = %qu" debug printf inside
#ifdef DEBUG/#endif
1999-01-29 12:56:17 +00:00
simonb ddd6d4cef1 Add some more PROM entry points 1999-01-29 12:05:02 +00:00
bouyer ce870816e0 Cosmetic changes, from Soren S. Jorvan. 1999-01-29 11:36:20 +00:00
bouyer 0bc97aaca7 In match_harddisk(), ignore "empty drive" type errors as well (from Soren S.
Jorvang).
1999-01-29 11:20:34 +00:00
bouyer 12868a7d80 Return ENODEV instead of EIO when we are trying to open a device without media
in the drive. restrict "opening of empty drive" to character devices only
(reading a block device returns a short read instead of ENODEV, which can lead
to confusion).
1999-01-29 11:17:58 +00:00
kleink 15afeeecca Remove an incorrect (but harmless) comment. 1999-01-29 08:42:27 +00:00
pk f9e92fac23 Fix bit test 1999-01-29 07:35:05 +00:00
simonb 916b809a51 Make a `machine' symlink to ..../pmax/include to locate new location of
the dec_????.h files.  Gleaned from other ports' stand/Makefile.inc's.
1999-01-29 05:51:15 +00:00
simonb 9a3172af0e Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...> 1999-01-29 05:37:45 +00:00
simonb 0b2a74160d Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
Remove unused include files.
1999-01-29 05:33:49 +00:00