Commit Graph

10638 Commits

Author SHA1 Message Date
cgd ea21ff117e rather than doing something hairy in the print routine, to the
'logically right' thing: define a mainbus_attach_args union which is
all of the subdevices' bus attach args, together with the part that's
shared by all of them, a const char * (the bus name).
1996-03-08 21:55:47 +00:00
leo 77e4824146 Just prototyping. 1996-03-08 21:54:53 +00:00
leo a91a46bc0f When having a perfect match on the resolution, try to match the screen
depth as best we can.
1996-03-08 21:52:50 +00:00
leo bb2b6106da Fix a bug in the DCD handling. Because the state of the DCD line was
kept in a soft-copy that wasn't initialized on open, it sometimes happend
that a change of the carrier got lost. Also fixed some prototypes.
1996-03-08 21:50:40 +00:00
mark 30bb966970 Cleaned up the boot() function. Removed some of the garbage,
rewritten parts and made sure it uses cngetc().
Don't try and syn the discs or unmount filesystems if boot() gets
called while still cold.
1996-03-08 21:37:01 +00:00
mark 657b336f18 Restructured management of L1 page tables. Added support for
detaching an L1 page table from a process that is swapped out.
1996-03-08 21:21:47 +00:00
mark 713cab03b9 Updated comments, removed a lot of dead code and other old debugging
functions.
1996-03-08 21:08:39 +00:00
mycroft 65bd075be8 Reran makesyscalls.sh. 1996-03-08 21:05:40 +00:00
mark 700050b193 Added support for freeing level 1 page tables when cpu_swapout() is
called.
Added support for reallocating level 1 page tables when cpu_swapin() is
called.
1996-03-08 20:58:40 +00:00
mark a3aaf2a2c0 Removed old (and commented out) diagnostic code from
undefinedinstruction() that verified the function was not
called in UND32 mode. We now always expect undefinedinstruction()
to be called in UND32 mode.
1996-03-08 20:54:25 +00:00
mark 7c5f0f1407 Removed declarations of external variables no used in the file. 1996-03-08 20:49:47 +00:00
mark e03778a035 Updated irq names, replaced reserved irq 1 with irq softclock. 1996-03-08 20:44:13 +00:00
cgd 5e7aedd067 remember the bus_chipset_tag_t given by our parent, and pass it on to
children.  use I/O space access routines defined in <machine/bus.h>
when examining I/O space for slot ID information.
1996-03-08 20:39:32 +00:00
mark c5e6adffe0 Removed dead wood from swi and undefined vector entry point code. 1996-03-08 20:37:59 +00:00
cgd b1d3f7607c remember the bus_chipset_tag_t given by our parent, and pass it on to
children.
1996-03-08 20:36:21 +00:00
mark d2a9bb0b96 Config files updated to specify interrupt numbers for wd, fd, com and
lpt drivers.
1996-03-08 20:35:28 +00:00
mark ea1eb0f702 Added calls to spl_setmasks().
Remove the irq_setmasks() routine. This was coded in assembly months ago
and this C version is now out of date.
Added code for delivering IRQ_SOFTCLOCK.
1996-03-08 20:35:08 +00:00
cgd a38dcb7018 remember the bus_chipset_tag_t given by our parent, and pass it on to
children.
1996-03-08 20:34:25 +00:00
cgd 8d459740a7 kill some 'notyet's so that <machine/bus.h> is used 1996-03-08 20:26:59 +00:00
cgd 5087096150 pass a bus_chipset_tag_t (defined in <machine/bus.h>) to the bus when
attaching, and to the devices when attaching them.  #include <machine/bus.h>
to make this backward compatible with old #include requirements.
Also, clean up idempotency so that isa/eisa/pci "var.h" headers are
consistent (make them all idempotent).
1996-03-08 20:25:22 +00:00
cgd 91d7642d30 implement bus_mem_map() and bus_mem_unmap() functions. 1996-03-08 20:19:48 +00:00
cgd 0b56afadf3 make this idempotent. bus.h needs to include it, and other things which
may include something that includes bus.h may include it as well.
1996-03-08 20:15:23 +00:00
mark 2a40f64a5d Fixed the formatting of the debug output. 1996-03-08 20:14:48 +00:00
cgd 6826c7bf48 bus memory and I/O space access functions/macros, to be used by
machine-independent code for more sane access to bus resources.
New functions will be added to this set, in the future, as appropriate,
but this is a good starting set.  Defines:
	bus_{io,mem}_{map,unmap}
	bus_{io,mem}_{read,write}_{1,2,4,8}
functions, and several types to go with them.
1996-03-08 20:11:23 +00:00
mark 95b04c378b Updated for new spl macros.
Added missing #ifdef DIAGNOSTIC round the checks in setrunqueue().
Remove dead commented out code fragments.
Removed checksumming of kernel stack during context switches.
1996-03-08 20:03:12 +00:00
mark 7a9dc6a41a Inclusion of machine/psl.h is no longer dependant on _LOCORE being not
defined.
1996-03-08 19:08:28 +00:00
mark 5254468ebb setjmp() and longjmp() now use a buffer whose size is that of label_t
rather than one that was 44 bytes bigger. No wonder DDB was not working
properly.
1996-03-08 19:03:11 +00:00
mark 33405882d3 The microtime() function now works fine all the time.
Removed some old commented out code.
1996-03-08 18:57:41 +00:00
mark 868a5d45f6 Updated diagnostic code regarding the changes in the splxxx() functions
and determining the current spl level.
1996-03-08 18:54:55 +00:00
mark 85d00ef7b5 Added a couple of miscellaneous spl functions e.g. dumping spl
masks.
1996-03-08 18:41:52 +00:00
scottr 6efb550cb2 DIRSIZ -> DIRENT_SIZE, to avoid a conflict with the ufs and <dir.h>
(compat) DIRSIZ macros.  Also closes PR 2184.
1996-03-08 18:13:05 +00:00
mark 2d5be5faa9 Commit of the new assembly spl functions splx(), raisespl() and
lowerspl() to go with the new spl macros in psl.h
1996-03-08 18:03:15 +00:00
mark 90a4655005 Added files for the generic sbic driver. (sbic.c)
Added files for the asc driver (asc.c)
Added assembly file for spl functions (spl.S)
Added machine dependant debugger commands file. (db_machdep.c)
1996-03-08 18:02:23 +00:00
mark 409de3efcc spl.c is no longer needed. Most of its functions have been replaced
with macros in psl.h. The spl functions splx() raisespl() and lowerspl()
are now coded in assembly.
1996-03-08 17:50:46 +00:00
mark 9deb24c84d Corrected spelling mistakes in comments. 1996-03-08 17:11:13 +00:00
mark 57fbb17f0e Replaced the splxxx() functions prototypes with macros.
Added prototypes for two new functions raisespl() and lowerspl().
Added definititions of the various spl levels.
1996-03-08 16:35:17 +00:00
mark 50b27325dd Removed all the early (and now redundant) keyboard polling and interrupt
buffer. The new polling function for cngetc() works a lot better and
is stable.
1996-03-08 16:28:54 +00:00
mark 7b3a5bb292 Fixed prototype declaration of shell(). 1996-03-08 16:25:07 +00:00
mark 1014c385d8 Added NetBSD tag. 1996-03-08 16:24:51 +00:00
mark 00af8622e0 Added NetBSD tag. Reformatted source kernel in line with the style
guide.
1996-03-08 16:22:38 +00:00
ragge ba7706dd3c Files to generate usable console RL02 packs on 8600. 1996-03-08 12:41:33 +00:00
ragge 3ac9ff6af4 Support for the RL02 disk at the PDP11 frontend console added. 1996-03-08 12:32:47 +00:00
mycroft 2732f4510b Rearrange boot() slightly. 1996-03-08 11:40:28 +00:00
mycroft 45ceba49fd Use label_t, not jmp_buf. 1996-03-08 06:49:45 +00:00
mycroft 79bb0bd2c7 Move an assignment inside #ifdef NTP. 1996-03-08 06:27:30 +00:00
mycroft 1a55d915ae Don't call dvma_kvtopa() with a null pointer. 1996-03-08 06:17:35 +00:00
mycroft 8dbac07c10 Add a message to help us debug Linux compat. 1996-03-08 06:00:53 +00:00
mycroft 6bc0baa1ce Separate ioctl emulation by group. Add (minimal) audio emulation. 1996-03-08 04:55:59 +00:00
mark 095bb565ba Files for the new Acorn SCSI driver that uses the generic SBIC driver
code. This is a much better version that does not trash your HD.
1996-03-07 23:54:28 +00:00
mark 3506c48c2a opps forgot to remove this as well. Part of the old and BUGGED Acorn
SCSI driver.
1996-03-07 23:50:33 +00:00
mark 169a40e0cf These files represent the old and BUGGED Acorn SCSI driver.
They are replaced with a new Acorn SCSI driver based on the SBIC
generic SCSI code.
1996-03-07 23:45:24 +00:00
ragge 6e51b1e47e Support for VAX 8600/8650 added. Works with lots of Unibus adapters,
and will probably work with Massbus adapters as well. (Not tested,
but it's the same code as for 11/780). Ubareset's may cause crashes
on 8600 also like 11/780, but they are more uncommon. No support
for console RL02 yet, but it's likely to come.
1996-03-07 23:22:34 +00:00
ragge 3f09ddf89f Fix of MicroVAX clock chip code, so that time sets right after reboot.
Fix done by Ken Wellsch.
1996-03-07 23:03:03 +00:00
briggs 1c817d1c3c Fix a typo in last. 1996-03-07 20:47:01 +00:00
christos d318abdbc4 prototypes for ccd audio and ncr5380 1996-03-07 15:00:07 +00:00
christos bdc697d910 Bring setjmp/longjmp prototypes into scope. 1996-03-07 14:33:39 +00:00
christos 4a43afe50f - Make things compile cleanly after the NTP additions.
- Remove unused variables in exec_ecoff.c
1996-03-07 14:31:16 +00:00
christos f8a755a2de exec_ecoff.h: add missing prototype for cpu_exec_ecoff_hook
sysctl.h: added missing prototype for sysctl_ntptime
systm.h: added missing prototypes for setjmp, longjmp.
1996-03-07 14:29:44 +00:00
ws 32761b2385 Don't return from removede prematurely.
Fixes PR# 2185 and 2068
1996-03-07 13:30:46 +00:00
leo 6da2ce259c Allow for a machine dependent match function - rd_match_hook() 1996-03-07 10:25:28 +00:00
briggs ddfeeb8c2d Add option to try linked commands on all devices for PUMA. 1996-03-07 02:48:33 +00:00
briggs 7c44b1180f Disable SCSI linked commands, but allow kernel option to override. 1996-03-07 02:26:37 +00:00
jtk 7492f0d7f1 speaker takes one port, so declare it as such in isa_attach_args
fixes pr#2178
1996-03-07 00:54:14 +00:00
jtk ff6687748a speaker device uses a port, so declare it as such in all the config
files
1996-03-07 00:48:34 +00:00
mark 385c194369 Added #ifndef guards round the timeout macros so values can be
overridden in the config file.
1996-03-06 23:56:59 +00:00
mark 34e0ef97c0 Code reformatted to make it a bit more readable and brings it inline
with a lot of the style guide.
1996-03-06 23:53:13 +00:00
mark ed2051c4d9 Use cngetc() instead of WaitforKey(). 1996-03-06 23:52:15 +00:00
mark 27284def2a Removed a lot of redundant routines used during debugging.
Eventually this file can go completely when DDB is completely
working.
1996-03-06 23:50:14 +00:00
mark 8429ee71c5 Initial commit of generic sbic (WD3393) SCSI driver code based on the
amiga sbic driver.
1996-03-06 23:44:09 +00:00
mark 619d2dcd72 Removed redundant code related to managing a history buffer
in the readstring() routine.
1996-03-06 23:44:07 +00:00
mark a66ed3abac Initial commit of generic sbic (WD3393) SCSI driver code based on the
amiga sbic driver.
1996-03-06 23:44:06 +00:00
mark a629b79a66 Fixed reporting of errors when claiming podule interrupts. 1996-03-06 23:33:14 +00:00
mark b702c67c74 Pickup IRQ number from configuration file via mainbus_attach_args
instead being fixed in a header file.
1996-03-06 23:30:58 +00:00
mark e766702f7e Fixed IOMD identification during device probing. 1996-03-06 23:26:20 +00:00
mark bdb7e8955c Reformatted code to suit style guide.
Fixed IOMD identification during driver probing.
1996-03-06 23:24:52 +00:00
mark 7f57d7bda6 Commented out macros for IRQ bits that are now set in the config file.
Added definition of the IRQ_SOFTCLOCK bit.
1996-03-06 23:22:56 +00:00
briggs d504670861 Fix for serial console handling from Bill Studenmund. 1996-03-06 23:22:41 +00:00
mark a88b7466b9 Added structures to describe RISCiX partition tables. 1996-03-06 23:17:51 +00:00
mark 4da86891fc Add support for software single stepping.
Define SOFTWARE_SSTEP for the ddb code.
1996-03-06 23:16:54 +00:00
mark daf2144c3a Removed redundant boot parameters relating to swap sizes. 1996-03-06 23:11:36 +00:00
mark 49cf80b1b2 Initial commit of machine dependant debugger functions. 1996-03-06 23:08:36 +00:00
mark bcfc2f794a Fixed the typedef of label_t to be 11 words as required by setjmp and
longjmp in locore.S
1996-03-06 23:04:04 +00:00
mark f380bafdee Added to code fixup the pc on entry to the debugger.
Added funtions for software single stepping.
1996-03-06 23:01:49 +00:00
mark e6e9c2985e Added stack frame structure for debugger tracebacks. 1996-03-06 22:53:50 +00:00
mark 32e37aa2c9 Code now actually performs a stack traceback. 1996-03-06 22:49:51 +00:00
mark 9e18e78df6 Fixed multiple miscellaneous bugs. Fixed the case of some instruction
operands. Added support for dissassembly of more of the instruction set.
1996-03-06 22:46:37 +00:00
mark aeec9c8ac1 Added code to locate the NetBSD disklabel on disks with RISCiX partition
tables.
1996-03-06 22:43:11 +00:00
is ce4541b2da Altais graphics board support, and some nicer formatting of preconftab.
Closes PR #1812 by myself.
1996-03-06 20:13:28 +00:00
is 006fe839fe Back out change intended for netbsd-1-1 and accidentally committed here 1996-03-06 16:40:16 +00:00
leo 957e1c5c7d Use files.scsi 1996-03-06 14:47:44 +00:00
cgd 1b4f4ed21d regen 1996-03-05 23:16:20 +00:00
cgd c5830eb792 add a bunch of device IDs & driver names & descriptions, thanks to
Jonathan Stone.
1996-03-05 23:15:59 +00:00
cgd d43ef3b959 split device info into driver name and human readable description. 1996-03-05 23:15:05 +00:00
thorpej 34e5c9dc84 Protect function prototypes and declaration of global variables
with #ifdef _KERNEL
1996-03-05 22:14:58 +00:00
is 3020e66dd5 Fix problems with fast CPUs and Picasso boards. Patches originally by,
Klaus Burkert <crest@arkon.dontpanic.sub.org>, sent in by Ezra Story.
Closes port-amiga/2135.
k
1996-03-05 18:08:33 +00:00
veego e77f3c0a27 ups, ite5 is at grf5 and not at grf4 1996-03-05 17:46:23 +00:00
mycroft 0903ac5cd2 Do an async_update() iff the output buffer is empty.
Make the IOPL handling #ifdef COMPAT_1[01].
1996-03-05 12:57:30 +00:00
mycroft 0c231d0e0d Update the CRT start registers asynchronously. 1996-03-05 11:38:31 +00:00
pk 90fb0cc9da Don't come down so hard on targets that ignore SDTR msgs. 1996-03-05 09:29:58 +00:00
jtk 6c62245a7b fix panic "leaf should be empty" on diagnostic kernels when unlinking on
a read-only file system.
1996-03-05 05:30:09 +00:00
thorpej c685105f07 Don't deref a bad ucred pointer, from Dave Carrel <carrel@cisco.com>,
PR #1699.
1996-03-05 02:35:39 +00:00
thorpej 7b294ae934 Handle more than 10 interfaces of a given type (well, up to `if99', anyhow).
From Neil McRae, PR #1992.
1996-03-05 01:56:37 +00:00
thorpej 8f4177ba60 Add another broken drive that doesn't deal with LUNs properly to The List.
Fixes PR 1961, from Kevin P. Neal.
1996-03-05 01:45:42 +00:00
thorpej 85720fdf67 Add a blurb about the EXTMEM_SIZE option to the example kernels, disabled
by default.
1996-03-05 01:32:11 +00:00
thorpej b65bdb63d6 Add an EXTMEM_SIZE option to set the size of extended memory on systems
that lie about it.  Deals with PRs #1319 and #1831.
1996-03-05 01:28:51 +00:00
thorpej ae5cde21bd RCS id police. 1996-03-05 00:37:24 +00:00
thorpej a8573feb51 Normalize SCSI autoconfiguration output.
From Chris Demetriou <cgd@NetBSD.ORG>.  Fixes PR #1958.
1996-03-05 00:15:09 +00:00
is 04145bfde8 Fix for newer S3 chipsets by Matthias Scheler (from -current). 1996-03-04 20:36:56 +00:00
chuck 9f330ed6e0 Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2168).
(the xd bugs also apply to the xy driver...)
 [1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
        ACK something you don't mean to!).
1996-03-04 20:25:32 +00:00
chuck e4c86dc3f8 Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2168).
[1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
        ACK something you don't mean to!).
1996-03-04 20:22:50 +00:00
chuck 9bb0e5dba5 Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2169)
[these bugs apply to the xy as well as the xd driver]
 [1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
        ACK something you don't mean to!).
1996-03-04 20:13:39 +00:00
chuck 9fee13d104 Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2169).
[1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
	ACK something you don't mean to!).
1996-03-04 20:11:32 +00:00
is 7873fac590 Grr... my fault when send-pr'ing the "CPU too fast" error patch. The chip
is called BT458, not BT478.
1996-03-04 19:49:11 +00:00
cgd c8487c701e reorganize mapping register definitions 1996-03-04 19:30:50 +00:00
cgd 272d9f69d2 fix aux argument to config_found() for secondary bus. 1996-03-04 17:02:46 +00:00
cgd 18ec26aa21 add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
execpt without quotes.  meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
mycroft 7f1ba9f148 Update for changed DMA interface. 1996-03-04 04:01:03 +00:00
cgd acabb62791 the i386 port no longer attaches isa, eisa, and pci at root. 1996-03-04 03:29:12 +00:00
cgd fedca4f133 Attach isa, eisa, and pci to mainbus now, rather than root. The i386
now has a single device tree (rather than a forest).  Also, attach
EISA only if it's present, and attach in order: PCI, EISA, ISA (most
specific to least specific).
1996-03-04 03:25:48 +00:00
thorpej 5b663732fa Remove extra RCS id. 1996-03-03 17:18:14 +00:00
thorpej 9029778d04 RCS id police. 1996-03-03 16:54:17 +00:00
thorpej b2c3f54207 Fix logic errors in new console probe code that caused framebuffers
outside of "internal i/o" space to not even have a chance at console-hood.
Fix tested by Thorsten Frueauf <frueauf@ira.uka.de>, and offered with
my sincerest apologies that the bug ever existed in the first place.
1996-03-03 16:48:52 +00:00
ragge c2ce0848e2 Added ns_cksum.c. 1996-03-03 11:56:33 +00:00
ragge c76bb64058 Machine-optimized version of ns_cksum.c. 1996-03-03 11:54:37 +00:00
ragge c22fc0bce4 Enable label_t. 1996-03-03 11:21:31 +00:00
ragge e82da18ec2 Fix include file ordering. 1996-03-03 11:18:59 +00:00
ragge f2bcddae7f Fix fuswintr/suswintr arguments to match prototype. 1996-03-03 11:17:59 +00:00
thorpej 570949e0e4 Catch up with ITE data structure changes. 1996-03-03 04:23:33 +00:00
jtk 8c395495bf set ia->ia_iosize to 0 so that the probe code doesn't spit out lots of
gunk.
1996-03-03 04:12:48 +00:00
pk 855b6def84 Add ns_cksum. 1996-03-02 23:55:17 +00:00
ragge 7ade5ebd76 Files needed to create boot floppies for 11/780, most of them
taken directly from 4.4BSD.
1996-03-02 17:57:34 +00:00
jtk 115750720d Do not return whiteout directory entries in NFS readdir replies. (The
NFS protocol doesn't know how to deal with them properly, yet.)
1996-03-02 15:55:52 +00:00
ragge ffc8953cd7 Change config delay's to more reasonable values. 1996-03-02 14:29:23 +00:00
veego 39aeb2aa25 console driver for the CyberVision64 1996-03-02 14:28:51 +00:00
ragge 5d89814116 Changes due to 11/780 support. Raise splimp() to BR7. 1996-03-02 14:27:52 +00:00
ragge cef093b42e Add VAX780 support to the boot program. 1996-03-02 14:22:57 +00:00
ragge 8fbcb8ce5a Add VAX780 and DHU11 to the GENERIC file. Put the corresponding
file lines in files.vax.
1996-03-02 14:19:47 +00:00
ragge 10fe8f1971 All devices can now be in GENERIC. 1996-03-02 14:14:05 +00:00
ragge 827892239a Add support for DW780. Note that ubareset's don't work properly.
This is not a problem on other Unibus adapters, but DW780's do
ubareset's more often. This needs to be fixed by someone someday.
1996-03-02 14:09:57 +00:00
ragge 89e32834cd Fix some too long delays. Set some structs volatile that otherwise
caused hangs during autoconfig.
1996-03-02 14:06:03 +00:00
veego 18fd2ce9c2 Updated for the new CyberVision64 console
gen_cvtab.c is no longer needed
1996-03-02 14:02:53 +00:00
veego 6160a6474d Updated for the new CyberVision64 console
and a small cleanup in the GENERIC config
1996-03-02 14:00:31 +00:00
ragge 508f81daca Support for VAX 11/780 - 11/785 system types added.
There are no support (yet) for the RX01 console floppy,
even if it is actually needed to create boot floppies.
(The arff utility is also missing, so...)
1996-03-02 13:45:34 +00:00
ragge a14bb8a710 Add a #ifdef TUDEBUG around a printf statement. 1996-03-02 13:41:24 +00:00
ragge c45af1134a Unibus/Q22 bus device driver for DHU-11 serial card.
Written by Ken Wellsch. (kcwellsc@math.uwaterloo.ca)
1996-03-02 13:30:53 +00:00
cgd 7c61fe7779 change printing of unknown device names when not (BUS)VERBOSE slightly 1996-03-02 02:44:25 +00:00
cgd 0d2cc07e1c remove some colons to be slightly more friendly to things trying to
parse autoconfiguration output.
1996-03-02 02:28:48 +00:00
cgd 91f3357fe9 clean up some diagnostic printfs 1996-03-02 02:25:40 +00:00
cgd a4d39f5063 fix uninitialized variable; it shouldn't have been a variable at all.
(when probing to see if a device is there, always probe function 0.)
1996-03-02 02:03:55 +00:00
cgd 25d3eceab3 regen for changed tcdevs 1996-03-02 01:21:20 +00:00
cgd 305d9a88f6 typo in KZTSA-AA 1996-03-02 01:20:58 +00:00
cgd 9f36679a47 generated files 1996-03-02 01:17:58 +00:00
cgd c1c41f6bfc add ability to define TCVERBOSE, and get "human names" about "known"
but unconfigured (or unsupported) devices printed at boot time.
The device list is woefully incomplete, because i didn't put much time
in it, and because i don't know good "human names" for many TC devices.
1996-03-02 01:16:47 +00:00
cgd f33acccd57 if not EISAVERBOSE, don't say that vendor/product is "unknown," just say
what it is.
1996-03-02 01:09:37 +00:00
cgd 8806ff8c86 oops; spaces -> tabs 1996-03-02 01:09:13 +00:00
cgd c7241fb1ce if not PCIVERBOSE, don't say that vendor/product is "unknown," just say
what it is.
1996-03-02 01:07:47 +00:00
cgd 1c5d7babe5 Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE. 1996-03-01 23:30:08 +00:00
mycroft 97fbc0015b Add bit definition for auto-initialize mode. 1996-03-01 22:27:09 +00:00
scottr 9aebe01038 Add newlines to CPU class notices 1996-03-01 21:49:49 +00:00
is c1e8e92697 "major" declarations which got lost when the scsi stuff was changed to
include ../../../scsi/conf/files.scsi
1996-03-01 19:42:26 +00:00
scottr 9e8b6a032a Don't try to make dependencies for SFILES if it isn't defined. 1996-03-01 17:03:17 +00:00
thorpej 9f2837ac9b "oops", forgot to check this in...add entries for the cgfour and cgeight. 1996-03-01 08:11:00 +00:00
thorpej f579d1a485 Fix an operator precedence botch. *sigh* This just hasn't been my week. 1996-03-01 07:44:43 +00:00
mycroft d8026ad9ef Oops; switched two bits. 1996-03-01 04:35:27 +00:00
mycroft f3b29ca5d2 Remove two unneeded `if's. 1996-03-01 04:13:25 +00:00
mycroft 546ad9e88b Add support to the ISA DMA framework for auto-initialize mode.
Add experimental SB16 code, disabled for now.
1996-03-01 04:08:13 +00:00
gwr 950eda2d54 Replace DEBUG with NCR5380_DEBUG and do not define it by default. 1996-03-01 01:42:04 +00:00
pk abd3cf4df2 Don't reset `xs->retries'. 1996-02-29 23:33:48 +00:00
pk bf59310f69 Fix typo, and bring back VA hole handling. 1996-02-29 22:15:13 +00:00
cgd a8804b9fb4 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.  (These are now generated files.)
1996-02-29 21:01:12 +00:00
cgd 3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
gwr 27db0deb1b Use <sys/dirent.h> instead of <sys/dir.h> which is depreciated. 1996-02-29 20:36:39 +00:00
fvdl 52d04f3b3f Make sure to clear B_NEEDCOMMIT in the right spot. Fix 'officially blessed'
by Rick Macklem. Fixes PR kern/2128.
1996-02-29 20:26:16 +00:00
gwr 0c6f2633a8 If _KERNEL then define the DIRSIZ macro. This lets the kernel use
<sys/dirent.h> instead of <sys/dir.h> which is a depreciated header.
1996-02-29 20:19:52 +00:00
gwr 331e377b30 Need to #undef DIRSIZ from <sys/dirent.h> before we redefine it. 1996-02-29 20:09:56 +00:00
gwr 6957383c25 Remove obsolete comment. 1996-02-29 19:37:53 +00:00
gwr 99e8401680 Add support for CapsLock and NumLock toggles. 1996-02-29 19:32:14 +00:00
mycroft d66ea3596c Add dependency for syscallargs.h. 1996-02-29 16:02:30 +00:00
leo e800077389 Added to build the bootloader stuff. 1996-02-29 11:41:31 +00:00
leo 48f5b02304 NetBSD/Atari bootcode by Waldi Ravens. 1996-02-29 11:35:46 +00:00
leo e538eed242 NetBSD/Atari bootcode by Waldi Ravens. 1996-02-29 11:35:05 +00:00
thorpej 693685364b Add kern_ntptime.c, per Thorsten Frueauf <frueauf@ira.uka.de>, PR #2146. 1996-02-29 03:36:31 +00:00
thorpej 93dff23036 Back out the "don't use DMA if SCSI_POLL is set" saftey-net. The
MI 5380 code did something I didn't really expect, which caused DMA
to disable itself if only DMA was enabled.  *grumble*
1996-02-29 03:28:38 +00:00
jonathan 1f6d8c1c1f Fix for PR kern/2140: a typo in the nested CPP if/else/endif caused
SHIFT_HZ to be undefined for values of HZ other than 64.
1996-02-29 02:48:53 +00:00
gwr 2de7b2e5cb update PMAP_PREFER 1996-02-28 22:44:33 +00:00
gwr f6925cfbf3 Replace vm_object_prefer with PMAP_PREFER. 1996-02-28 22:39:13 +00:00
gwr fdb309615e Remove vm_object_prefer. VM code now calls PMAP_PREFER directly. 1996-02-28 22:35:35 +00:00
pk 8bea3309c3 Fix typo 1996-02-28 22:09:27 +00:00
thorpej 2d885d15e9 Fixup an RCS id. 1996-02-28 20:54:50 +00:00
thorpej 50c8d6cdb0 Oops...missed to places where I could have used CPU type macros. 1996-02-28 20:53:02 +00:00
thorpej 8caec41719 RCS id police. 1996-02-28 20:49:18 +00:00
cgd b213396977 fix arguments to ahbmatch to properly reflect reality. provide prototyped
declarations for ahbmatch and ahbattach.
1996-02-28 20:29:48 +00:00
pk 8c485c3690 syscalls.master changed. 1996-02-28 16:06:02 +00:00
pk 636580a34f Insert sunos_sys_fcntl(). 1996-02-28 16:03:54 +00:00
briggs 883ff3e7f3 Changes from Walter Ruetten for P550 support. 1996-02-28 04:14:05 +00:00
cgd 379b6eadf4 pci devices are now specified like "foo* at pci? dev ? function ?". also,
add support for PPB's and secondary PCI busses, where appropriate.
1996-02-28 02:02:29 +00:00
cgd 0bcfb3598b update for adjustments to ISA and PCI 'files' files 1996-02-28 01:58:25 +00:00
cgd df03361e4b update for new method of attaching isa/pci busses 1996-02-28 01:54:44 +00:00
cgd 591c6fd2cd make PCI bus match/attach and sub-device attachment machine-independent.
(remove that code from this file.)
1996-02-28 01:50:02 +00:00
cgd f5f5831829 make ISA bus match/attach and sub-device attachment machine-independent.
(remove that code from this file.)
1996-02-28 01:49:35 +00:00
gwr 51815fdcd6 Kill a mis-matched and unnecessary declaration. 1996-02-28 01:48:48 +00:00
cgd 2e86958f9b make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.
1996-02-28 01:47:06 +00:00
cgd 47e551efff Preliminary support for PCI-PCI bridges. Recognize a PCI-PCI bridge
and attach the secondary pci bus as a 'pci' device.  Note that this support
is incomplete and will not yet work for ports other than that i386.  (The
i386 can rely on the PCI interrupt 'line' information to determine
interrupt mapping, which is not necessarily possible on other systems.)
1996-02-28 01:46:32 +00:00
cgd f1f9317dfb make PCI bus match/attach and sub-device attachment machine-independent. 1996-02-28 01:44:41 +00:00
gwr 92d99153a3 Kill two mis-matched and unnecessary declarations. 1996-02-28 01:44:17 +00:00
cgd 3ca5707161 make ISA bus match/attach, and sub-device configuration machine-independent. 1996-02-28 01:43:45 +00:00
cgd 927a47d0d3 add isabus and pcibus attributes, for attachment of isa and pci busses 1996-02-28 01:42:42 +00:00
gwr b1305e88db dir => dirent 1996-02-28 01:41:25 +00:00
thorpej ee8a2c002f Copyright assigned to The NetBSD Foundation. 1996-02-28 01:01:17 +00:00
jtc bfbc5fb90c Copyright assigned to the NetBSD Foundation 1996-02-27 22:39:39 +00:00
cgd 311a14c618 add a comment (XXX) about eisa's attachment. 1996-02-27 22:39:28 +00:00
jonathan 467a64a327 Replace tc.c and ds-tc-conf.c with a re-written tc_subr.c. tc_subr.c
works with the revamped machine-independent TC code in sys/dev/tc.
A name change is necessary to avoid a name clash with sys/dev/tc/tc.c,
which also creates a tc.o.
1996-02-27 22:35:05 +00:00
jtc 8bd51c47b9 Copyright assigned to the NetBSD Foundation 1996-02-27 22:28:09 +00:00
jonathan 776c58e187 TurboChannel bus auto-configuration tables, and TurboChannel pre-autoconfig
probe functions for console framebuffers,  rewritten to work  with the
machine-independent TC support in sys/dev/tc.
1996-02-27 22:28:08 +00:00
scottr f08c9ffa5a make this compile again, since CONUNIT is no longer defined for us.
per Jason.
1996-02-27 22:11:44 +00:00
thorpej edf9d66f32 First-cut support for P4 framebuffers. Currently supports P4 variants
of bwtwo, cgfour, cgsix, and cgeight.  Includes support for attaching
the overlay plane of the cgfour and cgeight as a bwtwo instance (a'la
SunOS).

P4 register descriptions, cgfour driver, and cgeight driver partially
derived from OpenBSD.

This code may still need polishing.
1996-02-27 22:09:14 +00:00
cgd 4e07b4b16f eisabus attribute moved to conf/files 1996-02-27 22:00:25 +00:00
cgd cb8f484a57 tcbus attribute moved to conf/files 1996-02-27 22:00:04 +00:00
cgd d45c3d85a4 Move eisabus, tcbus attributes here. Attributes that "machine-independent"
bus support want to attach to should be declared in conf/files, so that
hairy ordering constraints on the inclusions of busses' "files" files
in files.{MACHINE} are avoided.  isabus, pcibus attributes will go here later.

The problem is, for instance, that there are some devices in files.isa
currently which require that 'pci' be defined, but there are some PCI
devices (e.g. 'sio' on the Alpha) that provide isabus interfaces, i.e.
'isa' busses attach to them.  Unless the the bus-attachment attributes
are here, it's impossible to declare the busses' files and attribute
dependencies in a machine-independent way.
1996-02-27 21:59:14 +00:00
cgd a21351b381 use config_found_sm(), rather than config_search+config_attach()+glue, to
attach subdevices.
1996-02-27 21:48:52 +00:00
cgd c6a9e56518 Replace config_found() with config_found_sm(), which adds a cfmatch_t to the
argument list.  This allows easy 'submatching', which will eliminate a fair
bit of slightly tricky duplicated code from various busses.  config_found()
is now a #define in sys/device.h, which invokes config_found_sm().
1996-02-27 21:45:46 +00:00
gwr 5688147b3a Eliminate dependency on /usr/include/* 1996-02-27 20:54:43 +00:00
pk fe5a56ec9d Be sure to malloc() in page-sized units. 1996-02-27 13:17:01 +00:00
pk 70eee90be3 remove a printf 1996-02-27 09:10:24 +00:00
mycroft 5cdb5e8ebe Map SIOCGIFFLAGS and SIOCGIFADDR (et al). 1996-02-27 08:18:16 +00:00
mycroft 9fa7b98204 Emulate OSIOCGIFADDR, et al, if COMPAT_LINUX is defined. 1996-02-27 08:17:08 +00:00
mycroft a252a2e3b8 Handle OSIOCGIFCONF if COMPAT_LINUX is defined. 1996-02-27 07:28:38 +00:00
mycroft 48ec0383a3 Use OSIOCGIFCONF in previous. 1996-02-27 07:25:34 +00:00
cgd 3f2d99e7a2 fix first args in tcprint() invocations. Fix for this (and several previous
commits) from Jonathan.  This is why one (I) shouldn't commit code w/o
having any sane way to test it.
1996-02-27 07:07:26 +00:00
mycroft 4b2741c436 Map SIOCGIFCONF. 1996-02-27 05:51:05 +00:00
jonathan e7ef034c05 Add NTP kernel precision timekeeping from Dave Mill's xntp distribution
and the "kernel.tar.Z" distribution on louie.udel.edu, which is older than
xntp 3.4y or 3.5a, but contains newer kernel source fragments.

This commit adds support for a new kernel configuration option, NTP.
If NTP is selected, then the system clock should be run at "HZ", which
must be defined at compile time to be one value from:
  60, 64, 100, 128, 256, 512, 1024.

Powers of 2 are ideal; 60 and 100 are supported but are marginally less
accurate.

If NTP is not configured, there should be no change in behavior relative
to pre-NTP kernels.

These changes have been tested extensively with xntpd 3.4y on a decstation;
almost identical kernel mods work on an i386.  No pulse-per-second (PPS)
line discipline support is included, due to unavailability of hardware
to test it.

With this in-kernel PLL support for NetBSD, both xntp 3.4y and xntp
3.5a user-level code need minor changes. xntp's prototype for
syscall() is  correct for FreeBSD, but not for NetBSD.
1996-02-27 04:20:30 +00:00
jonathan 7c6f017cab Import sys/timex.h from xntp 3.5a: NTP precision timekeeping definitions. 1996-02-27 03:55:49 +00:00
briggs 92c6f5f0ee Get rid of some unneeded constants. 1996-02-27 03:29:16 +00:00
briggs 6ec37fa3df Use IOBase instead of INTIOBASE. 1996-02-27 03:25:47 +00:00
briggs db2f33c640 Clean out some unneeded constants. 1996-02-27 03:23:42 +00:00
cgd 8c79f5dd54 one more minor oops; print our name, not parent's, when doing unconfigured dev 1996-02-27 03:22:44 +00:00
cgd 09c7841a66 fix bug in previous commits. also, do submatch checking for all devices,
not just option slot devices.
1996-02-27 03:19:43 +00:00
briggs 1dcd5f9d15 For a bus error in nofault, if it's an 040, load the address from the
correct frame offset.  This is required for the 5380 driver to work
properly.
1996-02-27 03:17:00 +00:00
cgd ecc22fbecd use #defines for bus speed constants, print speed on attach 1996-02-27 01:37:32 +00:00
cgd 3c43b4317d alphabetize device list 1996-02-27 01:31:33 +00:00
pk 9216cf3276 Drain rev 1 chips in dma_reset(). 1996-02-27 00:36:11 +00:00
pk 2c646f8da5 `bwtworeg' is just about the same as the generic `fbcontrol'. 1996-02-27 00:32:34 +00:00
cgd 7f4f1d2406 be consistent when talking about eisa_attach_args 1996-02-27 00:31:30 +00:00
cgd 4bd7608739 Better EISA autoconfiguration, per PR 1959. 1996-02-27 00:20:54 +00:00
cgd e4a3b7650e oops; remove extraneous #if/#endif pair 1996-02-27 00:15:23 +00:00
pk 6b5eb65b21 bt_reg => fbcontrol. 1996-02-27 00:14:17 +00:00
cgd 570976f77c change previously-useless config_rootfound() for the EISA bus so that
it provides what the new MI EISA code expects.
1996-02-27 00:13:45 +00:00
pk 8628f94179 Use `video enable' bit in framebuffer control. 1996-02-27 00:11:14 +00:00
pk 2fe54615fb Define a couple more framebuffer control bits. 1996-02-27 00:09:23 +00:00
cgd 188cda224f Trim some comments relating to EISA configuration that are no longer relevant. 1996-02-27 00:08:29 +00:00
cgd 440b3cbc94 update for new EISA autoconfiguration: there can now be an eisa0 at root,
and ahb attaches to eisa, not isa.  Also, ahb* at eisa?... is now supported,
so you can get all ahb's configured easily.
1996-02-27 00:06:42 +00:00
cgd 897baa5642 machine-generated files 1996-02-26 23:47:18 +00:00
cgd 9b53b5770d list of all EISA devices that we know about (for smarter 'unconfigured'
printing if 'options EISAVERBOSE'), and files to turn the list into c source.
From my PR (1959).
1996-02-26 23:46:17 +00:00
thorpej 0adab4d779 Avoid accidentally lowering a devices console priority. 1996-02-26 23:40:29 +00:00
cgd c0251e2a9d (1) rename some structures & structure members, for consistency with
planned changes in other sections of code.
(2) expands the use of config_found() in tcattach() in-line, so that
    tcsubmatch can be invoked there, rather than being invoked by
    individual drivers.
(3) tcbus_attach_args now includes a turbochannel speed flag.
(4) compare a string in tcbus_attach_args against tc bus driver name,
    to better allow attachment of multiple busses to the same parent.
1996-02-26 23:38:38 +00:00
jonathan ff27dbbcf9 Revert pmax stdarg.h and varargs.h to versions from 1995-11-13. Those
versions work correctly; at some point between then and the immediately
preceding revisions, the "stylistic" changes to one (or both) stdarg.h
and varargs.h broke passing doubles to printf().
1996-02-26 23:29:05 +00:00
mrg 32cdb91fa3 two more local addr changes, all done differently now (idea from charles) 1996-02-26 23:16:42 +00:00
gwr 056810ed99 Make this code independent of <sys/nfs> now that we use very little
from there anyway, so we can ignore changes in the NFS code...
1996-02-26 23:05:14 +00:00
scottr 4005c5fd09 Fix typo (PR 2123, from Michael VanLoon) 1996-02-26 22:48:32 +00:00
thorpej cf93780656 Adjust for the new console code; CONSCODE is now a kernel option, not
a dca-specific constant.  For now, hardwire standalone DCA console
at select code 9 (which is what the old constant expanded to).  Really
should make the way the bootblock console is probed look just like how
the kernel console is probed.
1996-02-26 21:51:25 +00:00
scottr 6a0803ca9a Make these build again in the wake of the v3 changes 1996-02-26 21:50:07 +00:00
scottr c24557134f Needed for NFS booting; we aren't likely to use v3 here any time soon. 1996-02-26 21:49:34 +00:00
pk 517988b940 Interims:
Comment out `STATINT' checking; this is apparently unreliable on some
ESP revisions.
Deal with target initiated synch re-negotiation.
1996-02-26 14:48:30 +00:00
mrg 86b9b4d6be if we are connecting *to* an address of any local interface, default the
local address of the socket to the same address.
1996-02-26 08:25:47 +00:00
mycroft 2ce52ae489 Define build programs with `?=', so they can be overridden with `makeoptions'. 1996-02-26 02:53:20 +00:00
cgd 5a1e1bb682 don't need isa/isareg.h or pci/pci{reg,var}.h. 1996-02-25 22:56:30 +00:00
pk a3ab0e81da Use CPU-type macros. 1996-02-25 22:03:20 +00:00
pk 3d182fe265 Use CPU-type macros 1996-02-25 21:53:49 +00:00
pk ba0eb7ea59 Use CPU-type macros. 1996-02-25 21:45:53 +00:00
fvdl 3821dd940b Oops. Do previous fix on the right line this time.. (thanks Charles) 1996-02-25 17:47:26 +00:00
fvdl 1f20fc9fc2 Call soreserve() with the right size for receives (from pk). 1996-02-25 15:30:01 +00:00
pk 95d7594df0 If NFS `rsize' is specified, set `readdirsize' too. 1996-02-25 13:27:01 +00:00
ragge 1376f92db9 Add routine to convert phys device number to kernel unit number.
Allow to set disklabel area writable.
1996-02-24 21:22:54 +00:00
ragge f2aaea55c2 Make setroot() grok where we boot from even if it is hp disks. 1996-02-24 21:20:01 +00:00
cgd 6be793f659 use mono_time, rather than time, to keep track of timeouts. time can change
unpredictably.
1996-02-24 21:09:38 +00:00
chopps 6ab6c3037d remove floating point expressions. gen_cvtab.c generates a conversion
table to replace a specific floating point expression in grf_cv.c
1996-02-24 20:13:00 +00:00
ragge df5a5e9485 Remove __FORK_BRAINDAMAGE, and the reason to why it was there. 1996-02-24 15:17:35 +00:00
briggs 6969bbbc1c Add ns_cksum.c. 1996-02-24 12:59:47 +00:00
chopps 830ceda65d remove generic scsi stuff and use ../../../scsi/files.scsi 1996-02-24 08:59:21 +00:00
chopps c6768054a9 cleanup, add (commented-out) serial buffer and lev6_defer options 1996-02-24 08:58:37 +00:00
chopps 1bf748f356 use newly allocated ethernet address (fixes #2117) 1996-02-24 07:47:36 +00:00
chopps d1d39c63d4 remove local strncmp (fixes #2115) 1996-02-24 07:44:06 +00:00
chopps d22df43756 cast to arg to caddr_t (fixes #2114) 1996-02-24 07:43:14 +00:00
mycroft 40d57df71a Switch byte order of ID and configuration registers for 14f and 34f. 1996-02-24 05:27:49 +00:00
thorpej fa7bee29a5 Completely rework how the console is probed. Console probing no longer
requires pre-autoconfigured devices.  Fix up some prototypes.  Part of the
long journey towards new config.  (GETTING THERE!)
1996-02-24 00:54:53 +00:00
mark c1b23518d2 ARM FPE is now secure i.e. user processes cannot use FP instructions
to access kernel memory.
1996-02-23 22:20:43 +00:00
mark a01675725c Added #ifdef FPE guard. 1996-02-23 18:50:56 +00:00
ragge 2294cbd022 Fixed bug causing DMA to user stack from Massbus disks to give segfaults. 1996-02-23 17:54:33 +00:00
ragge 2aa22f8fbf Allow rewriting of disk label after newfs. 1996-02-23 17:29:01 +00:00
thorpej 1a5d5e25c6 Add an "sw_options" patchable global so that folks can still live life
on the edge (of sw DMA uncertainty) with pre-built kernels.
1996-02-23 16:29:34 +00:00
briggs 568f862aeb PR 2111: Do not update system clock until we can keep more accurate time. 1996-02-23 12:40:37 +00:00
thorpej ef3500b579 Attempt to work around a hardware bug that screws up DMA on the 4/100.
Apparently, some early 4/100 DMA controllers do illegal memory access on
large ( >= NBPG ) transfers at the end of the transfer.  This appears
as SI_CSR_DMA_BUS_ERR in the csr.  To work around this, we simply
transfer the (up to 3) missing bytes from the bpr.  We were doing this
anyway, so the work-around is to ignore the bus error.

BUT!  I goofed when I implemented the "left-over byte" code for the sw!
It *should* be correct now.  Keep metrics (acceeible via DDB) on the number
of 1, 2, and 3 byte clean-ups, as well as the number of "clean" transfers,
just so we can get a clearer picture.

Thanks to Andrew Gillham <gillham@whirlpool.com> for noticing this!
1996-02-23 07:24:45 +00:00
scottr 738faf922f Add ^^ and ^_ codes to default keyboard layout 1996-02-23 05:43:48 +00:00
mycroft ad355be572 Add a SDEV_AUTOSAVE quirk for the DEC RZ55. 1996-02-22 23:37:27 +00:00
gwr 946696f064 Add m68k/db_memrw.c 1996-02-22 23:35:07 +00:00
mycroft 291267e40c Implement SDEV_AUTOSAVE. 1996-02-22 23:35:04 +00:00
mark 905de8df55 Remove prototype for strcmp() as this is in libkern.h 1996-02-22 23:31:51 +00:00
mark c3833aaabe Opps, what was a delay() prototype doing here. 1996-02-22 23:25:10 +00:00
gwr 19d5694f93 Remove the hack that faked up an "ssp" value. It is now up to
locore.s to put the right sp in the frame.  Also move memory
access code into db_memrw.c so it can be taken separately.
1996-02-22 23:23:23 +00:00
mark 88be357d42 Fixed declaration of a debugging variable. 1996-02-22 23:03:44 +00:00
mark 7b9c8753a7 Added #ifdef guards round the FPE initialisation calls. 1996-02-22 22:56:16 +00:00
mark 66198928f8 Fixed several function declarations. 1996-02-22 22:51:14 +00:00
mark 2c74bc8511 Removed some dead code and fixed several function declarations. 1996-02-22 22:48:05 +00:00
mark f266edf8b8 Default to running an FPA at full speed. Updated delay() to take an
unsigned int.
1996-02-22 22:44:58 +00:00
mark 9a3e71626d Fixed a little bug that zeroed the first couple of words of the symbol
table when the bss is zeroed.
1996-02-22 22:41:31 +00:00
mark 80684b67bc Fixed registration of the symbol table. 1996-02-22 22:38:48 +00:00
mark 6a3087958a Add #ifdef _LOCORE round delay() prototype and move DELAY macro
to param.h as well.
1996-02-22 22:21:55 +00:00
pk 2f3ad94f8d An #ifndef _LOCORE to make this file safe to include in locore.s.
Introduce a couple of `CPU-type' helper macros to reduce the preprocessor
tangos in many a source file.
1996-02-22 21:59:08 +00:00
leo db7d722c4b A bit of reshuffling. Also some stricter prototyping. 1996-02-22 21:07:05 +00:00
scottr f7dff866af Remove VAX-specific register reference from comment (closes PR 1481) 1996-02-22 20:30:16 +00:00
mark 9777b1173f Thought I had already removed this ... Junk file that got checked in
due to finger trouble.
1996-02-22 17:46:24 +00:00
pk e259a02425 Correct some prototypes. 1996-02-22 15:04:07 +00:00
scottr a7daa2d931 - Clean up DEBUG code.
- Setting the "monitor BSY" flag for polled PDMA is non-optimal.  The
  polled requests generate an interrupt that isn't serviced until the
  command has been cleared from the queue.
1996-02-22 14:31:26 +00:00
jtk a56b76451d add M_AFS 1996-02-22 12:47:33 +00:00
leo c9dfd5cb44 First bunch of changes due to stricter prototype checking. 1996-02-22 10:10:44 +00:00
thorpej c86505a6a5 If we get a transfer with the SCSI_POLL flag set, don't use DVMA. We
only get these during autoconfiguration and during crash dumps.  During
autoconfiguration, the transfers are small enough that DVMA won't be used
anyway.  However, using DVMA during a crash dump can be dangerous,
depending on the nature of the panic, so we avoid it.
1996-02-22 07:25:05 +00:00
thorpej 2f132eb5e7 Bring in Gordon's fix from the sun3 port:
Correct the DMA transfer count when the target disconnects before
	the whole transfer is completed.  (Affects VME writes)
	Reselect now works on the VME si board!
1996-02-22 07:14:53 +00:00
thorpej a246f6c835 Fixup some RCS ids. 1996-02-22 06:50:49 +00:00
mycroft 3ec5928403 Keep the terminal count information around, as it's self-clearing. 1996-02-22 06:21:48 +00:00
scottr 5be12dbfc8 Move the speaker driver to 'new' config. (Closes PR 1361, from Rafal Boni) 1996-02-22 05:53:16 +00:00
gwr 012b23ca17 fix a trace message 1996-02-22 04:06:03 +00:00
gwr 3700dbe324 Correct the DMA transfer count when the target disconnects before
the whole transfer is completed.  (Affects VME writes)
Reselect now works on the VME si board!
1996-02-22 03:22:52 +00:00
gwr a19a024e59 Do not mark target/LUN busy until we commit to working with it,
after the check for reselections.  (From Matthias Pfaller, PR 2105)
Also improve the selection code WRT concurrent reselection.
1996-02-22 03:10:47 +00:00
scottr 89179744bd Use unsigned variables to calibrate delay_factor. 1996-02-22 02:04:14 +00:00
christos 17de1d7eae Close PR/2105: if.c does not compile without COMPAT_43 due to missing casts. 1996-02-21 14:28:33 +00:00
pk 66fedbbe19 Correct format in a printf(). 1996-02-21 10:21:14 +00:00
chuck f63dd5fef2 sync with sparc version:
minor clean up: revise locations of disk_busy/disk_unbusy calls to match xd.c
1996-02-21 03:40:39 +00:00
chuck adeed1d823 minor clean up: revise locations of disk_busy/disk_unbusy calls to match xd.c 1996-02-21 03:36:51 +00:00
cgd c9a23604b9 fourth argument to kern_sysctl() must be a size_t *. simply passing a pointer
to SCARG(uap, len) won't do, because that'd be an int *.  copy the value
into a size_t, and pass pointer to that.
1996-02-21 00:10:59 +00:00
cgd 9c95634273 in mfs_print: mfs_baseoff is a pointer, should be printed as %p, and
should NOT be cast to unsigned int.
1996-02-21 00:06:45 +00:00
cgd c0cdc0cf04 when printing data modified on the free list:
(1) do not cast it to (void *), and
	(2) print it as 0x%x, rather than %p.
This is not perfect (because the data being printed is "int32_t"-sized), but
is more correct than printing it as a pointer because the data is _not_ a
pointer, it is data to be printed in hex, and on some systems, pointers are
wider than the data items being printed, which leads to excess and misleading
output.  The only 'right' solution to this is to have a printf specifier
that prints the fixed-sized types the right way, and that's not really
practical.
1996-02-20 23:56:16 +00:00
cgd e98dc62664 Third argument to VOP_PATHCONF is a register_t *, and register_t may be
different than 'int'.  Do the right thing when declaring variables which
are used this way.
1996-02-20 23:45:10 +00:00
gwr 9daf57454e use phys_map for DVMA like the sparc 1996-02-20 22:05:32 +00:00
gwr dfdd60a3d1 keep static symbols 1996-02-20 22:03:56 +00:00
gwr b80de84521 kill SCSIDEBUG 1996-02-20 22:03:20 +00:00
mycroft a35f0ac985 Add more debugging code. 1996-02-20 12:13:09 +00:00
mycroft 947cae817e Do not allow the gain to be changed on an original SoundBlaster. 1996-02-20 11:48:50 +00:00
mycroft d1b5c90fd6 Check for errors while changing gain. 1996-02-20 11:47:22 +00:00
mycroft 015ee926f6 Fix mono volume adjustment. 1996-02-20 11:15:15 +00:00
mycroft 5f732f379e Trivial (and probably not very good) implementation of SIGIO. 1996-02-20 10:00:31 +00:00
mycroft b5f3c5cbdc XXX This is a kluge.
Check to see if the DMA transfer is finished; if not, don't do interrupt
processing.
1996-02-20 04:19:24 +00:00
mycroft 4d6412e7bf Move the terminal count check into a separate function. 1996-02-20 04:17:05 +00:00
gwr e3e5c394ae Oh. Now that size is unsigned, (size >= 0) is always true. 1996-02-20 02:42:55 +00:00
scottr 5fd93a11ca Clear interrupt before enabling in calibrate_delay() (from John P. Wittkoski) 1996-02-19 21:40:48 +00:00
christos bd06e49fd9 Remove ns_cksum.c; I'll send mail to portmasters about it. 1996-02-19 21:29:44 +00:00
christos cd5249589d if_ep.c: Recognize 3c595 1996-02-19 20:18:40 +00:00
christos c456eaedc6 pcidevs was changed. 1996-02-19 20:09:24 +00:00
christos b6e5342075 Add 3c595 id 1996-02-19 20:08:25 +00:00
scottr 98a0e7986a Bitfields are usually implemented in natural bit order. Pointed
out by Masaru Oki <oki@yk.rim.or.jp>
1996-02-19 18:29:04 +00:00
pk 9bfd34f41e Adapt to NFSv3. 1996-02-19 15:41:38 +00:00