Commit Graph

9035 Commits

Author SHA1 Message Date
jonathan
cf5cff6ce5 Change PROM callback from "strcmp" to "_strcmp", which is what
dec_prom.h uses.
1995-10-26 01:39:49 +00:00
jonathan
d3d55dedb5 Macro definitions of ntohs() and ntohl() for pmax bootblocks. 1995-10-26 01:31:09 +00:00
jonathan
8e3a40d820 Commit missing modified copy of (old) sparc filesystem.c, that has
a comple-time option to support a subset of UFS operations, to build
small bootblocks.
1995-10-26 01:29:34 +00:00
mycroft
baf5b9b139 Fix oversight in last change; some BIOSes leave junk in %fs and %gs that must
be cleared.  Pointed by Alasdair Baird.
1995-10-24 16:27:54 +00:00
pk
e4fcc8ab5a Move DMA chip draining to dmaintr() and drain when a (possibly partial)
transfer ends in stead of doing it before starting a new transfer.
Use a different CSR bit to wait for "chip not busy" (may be necessary to
make this conditional on chip revision).
1995-10-24 16:26:54 +00:00
pk
a3f2bf19e4 Various:
- make esp_poll() approximate the given timeout value.
	- introduce esp_abort(), and use it for timed out commands; make		  targets and driver less confused.
	- make {free,ready,nexus}-list management somewhat more coherent.
	- make sure we only proceed down the state machine in espintr()
	  if there really is an interrupt pending.
1995-10-24 16:03:57 +00:00
pk
dc3c0d7db7 Define VIDEO enable bit (per Jason Thorpe; PR#1672). 1995-10-23 23:36:28 +00:00
pk
7a9ddaff33 On-board bwtwo diddles a system enable register bit for video, per Jason
Thorpe (PR#1672).
1995-10-23 23:35:03 +00:00
gwr
f2345fb358 Use correct size access (char,short,int) in db_read_bytes, db_write_bytes
otherwise access to some device registers will give misleading results!
(I learned this the hard way while debugging the NCR SCSI driver...)
1995-10-23 18:40:35 +00:00
pk
4ad1c05d71 DV_NULL should be DV_DULL. 1995-10-23 15:42:50 +00:00
pk
bcff7be6b7 DV_DISK => DV_NULL (from Mike Long; PR#1607). 1995-10-22 20:45:07 +00:00
pk
5e55f88874 Remove `-fno-builtin'. 1995-10-22 17:36:33 +00:00
mycroft
d67fb08153 Make sure we free the pathname buffer in all error cases. 1995-10-22 08:20:44 +00:00
thorpej
af18124282 We no longer need -fno-builtin; syscall namespace has been cleaned up a bit. 1995-10-22 06:05:21 +00:00
christos
16c4374c1f Make the ktrace code emit a record that indicates the current emulation
every time there is an attach or detach event.
1995-10-22 00:35:06 +00:00
jtc
1fa962ddd0 netbsd.warped.com aka. {ftp,sup}.netbsd.org 1995-10-20 21:24:37 +00:00
ragge
440b596a77 Added M_OP_POS (positioning tape). 1995-10-20 13:51:56 +00:00
ragge
b57ff30a87 Added #ifdef _KERNEL around definition of struct rpb. 1995-10-20 13:47:27 +00:00
ragge
ad3443e06c Additions to be able to write to massbuss disks standalone. 1995-10-20 13:43:43 +00:00
ragge
fbc5d6e054 SA_LIB -> SALIB
Include rpb.h. Typeclash fixes.
Removed #include of non-existing file.
1995-10-20 13:35:41 +00:00
ragge
5d49d3ac8f Use macros.h when STANDALONE is defined. 1995-10-20 12:55:06 +00:00
chopps
b2d4fa2dd3 cleanup warnings (fixes pr#1642) 1995-10-20 10:08:24 +00:00
cgd
40a4907f5e oops; i forgot these u_int -> size_t conversions. 1995-10-20 01:35:25 +00:00
cgd
6b49a2ceed copy from libkern 1995-10-20 01:16:02 +00:00
cgd
35742ffe0a use NetBSD RCS id format. use bzero.S, not bzerro.c 1995-10-20 01:15:37 +00:00
cgd
47667c7df1 set, don't add to, CFLAGS from KERNCFLAGS. Do assignment of CC and
CFLAGS earlier, so that the arch-specific Makefile can add to them.
1995-10-20 01:10:06 +00:00
cgd
51f39e4840 fix prototypes here, to match u_int->size_t changes in ufs.c 1995-10-20 00:54:17 +00:00
cgd
d7a207fd49 update from libc 1995-10-20 00:53:28 +00:00
cgd
6c46625cf7 cast pointer to long, not int 1995-10-20 00:47:47 +00:00
cgd
2677a05d99 fix spacing in header 'room to leave' comment 1995-10-20 00:46:30 +00:00
cgd
e7290be2cd add prototypes for static functions. make ffs_oldfscompat static.
fix some arguments and structure members, in recognition of the fact
that (u_int == u_long == size_t) is not true on all systems.
1995-10-20 00:42:21 +00:00
cgd
d71e8d0d69 set, don't add to, CFLAGS from COMPATCFLAGS 1995-10-20 00:34:15 +00:00
pk
2f9169d20b Correct NE7CMD_FORMAT command (from John Kohl; PR#1637). 1995-10-20 00:02:20 +00:00
thorpej
62150b43b1 Truncate the incoming packet if it doesn't fit into the buffer. 1995-10-19 18:43:27 +00:00
jtc
84714731d3 protect sys/wait.h against multiple inclusion (Matt Green; PR #1636) 1995-10-19 08:14:18 +00:00
thorpej
ef52ec31c1 Recompile genassym if the Makefile changes. 1995-10-18 22:50:15 +00:00
pk
bbfd54d128 Merge from netbsd-1-1 branch: kgdb_debug_panic decl; PR1633 1995-10-18 21:54:34 +00:00
gwr
126ecc3dda Explain why sun3_context_equiv() can not just call set_segmap_allctx(). 1995-10-17 23:16:40 +00:00
gwr
9182ffe624 Get rid of an extra twiddle() call (ufs.c does it.) 1995-10-17 23:07:19 +00:00
gwr
ca022f8909 Re-write of tapeboot, using a "rawfs" abstraction to hide the fact
that the device only supports block access.  (Even works now!)
1995-10-17 22:58:10 +00:00
jonathan
3b8faec21d Initialize pointer to the fb method table. Not initializing the
method table for the 2100/3100 fb caused a panic when an X server started.
1995-10-16 22:28:36 +00:00
thorpej
43358aae60 Deal with vendor, product, and revision strings properly. 1995-10-16 08:51:49 +00:00
mycroft
c7f52bfe3f Fix error pointed out by GCC 2.7. 1995-10-16 05:28:58 +00:00
mycroft
c32738aa00 Fix nits pointed out by GCC 2.7. 1995-10-16 05:28:14 +00:00
thorpej
cbef9e5129 Add missing spindle synch control, rotational offset, and RPM members
to the rigid geometry mode page.  These missing members are at the
end of the page, in space wich was previously marked "reserved".
1995-10-15 23:32:02 +00:00
mycroft
61d3ef1018 Fix small oversight. 1995-10-15 22:09:45 +00:00
mycroft
f096f370fb Use SET(), CLR(), and ISSET() macros.
Rename CFCR to LCR, and cache its value.
Check MSR before transmitting, for better flow control.
Preserve LCR_SBREAK inside comparam().
1995-10-15 19:43:04 +00:00
ws
a96f4bc2fc Add support for Win'95 long filenames 1995-10-15 15:34:19 +00:00
ws
c089b09953 Add support for Win'95 long filenames to msdosfs 1995-10-15 15:33:26 +00:00
thorpej
5dcaa0b51c Be a tad bit more informative when the drive is attached. Print geometry
info when appropriate, because, darn it, it's useful.
1995-10-15 10:03:18 +00:00