Commit Graph

27961 Commits

Author SHA1 Message Date
bouyer
6dd47fe65f Abort transfer if b_blkno is negative. Closes PR kern/5553 by Johan Danielsson. 1999-02-10 12:29:50 +00:00
itohy
da0a919754 Regen. 1999-02-10 10:38:15 +00:00
itohy
5af2655c9d const mania 1999-02-10 10:36:26 +00:00
christos
fe9e04762b PR/6962: Paul Shupak: FreeBSD ELF emulation bits. 1999-02-10 07:10:59 +00:00
is
b0f697496e Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
1999-02-09 22:32:33 +00:00
christos
03ff6653d6 Regen 1999-02-09 20:48:20 +00:00
christos
8087b4fda3 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:46:41 +00:00
christos
ec4586b831 Regen 1999-02-09 20:46:40 +00:00
christos
dcee031682 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:46:40 +00:00
christos
c3ae7cb2a9 Regen 1999-02-09 20:38:38 +00:00
christos
c8216580df const poisoning. 1999-02-09 20:37:19 +00:00
christos
8024779058 const poisoning 1999-02-09 20:37:00 +00:00
christos
bcca34b4fa Regen. 1999-02-09 20:36:17 +00:00
christos
fe1f028894 PR/6962: Paul Shupak: FreeBSD elf support. 1999-02-09 20:35:04 +00:00
christos
090a9bebbc const poisoning. 1999-02-09 20:34:16 +00:00
christos
908adf3eef Regen 1999-02-09 20:31:43 +00:00
christos
a30a9f3d94 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:30:38 +00:00
christos
49692434d8 Const poisoning and CHECK_ALT_CREAT fixes 1999-02-09 20:29:24 +00:00
christos
f3be801e5c Regen 1999-02-09 20:26:55 +00:00
christos
415ae8f732 const poisoning 1999-02-09 20:21:18 +00:00
christos
743761347e PR/6962: Paul Shupak: FreeBSD-3.0 additions
- const poisoning
1999-02-09 20:19:13 +00:00
christos
90fd1df29a PR/6962: Paul Shupak: ELF Freebsd support 1999-02-09 20:17:50 +00:00
christos
fd74051670 char * and char ** -> const char * and const char ** 1999-02-09 20:16:08 +00:00
kml
745b14cf4a Correct mistaken #ifndef to #ifdef... 1999-02-09 19:50:28 +00:00
tv
e07978e871 Split the "mips" MACHINE_ARCH for 1.4. newsmips is "mipseb"; pmax is
"mipsel".
1999-02-09 17:15:51 +00:00
kml
96ba3fc35f defopt SB_MAX, which controls the maximum allowable size of socket buffers 1999-02-09 02:15:45 +00:00
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