Commit Graph

428 Commits

Author SHA1 Message Date
ragge 2b8e7e782a std.vax readded, shall be here anyway. 1997-01-12 12:38:56 +00:00
ragge 09adf20559 Need a couple of extra #ifdef's to compile. 1997-01-11 13:50:20 +00:00
ragge 3026c5e35e Put in another external declaration. 1997-01-11 11:46:43 +00:00
ragge eb0bc83700 Update due to changes to uba/mscp functions. 1997-01-11 11:34:39 +00:00
ragge 54e8120422 Oops, forgot an printf. 1997-01-11 11:31:57 +00:00
ragge 2a826b413f Prototype updates. 1997-01-11 11:31:26 +00:00
ragge 52c3b92063 Put common map in code here instead of lots of places. 1997-01-11 11:24:51 +00:00
ragge 3774ec6c5c Update due to prototype changes. 1997-01-11 11:23:09 +00:00
ragge 2b34ded4f8 Many minor bug fixes; mscp subsystem seems to work rather stable now. 1997-01-11 11:20:31 +00:00
ragge 59d5be04e9 Add EXEC_AOUT and EXEC_SCRIPT. std.vax not needed anymore; removed. 1997-01-11 11:15:38 +00:00
ragge 7bf599379e Prototype change of scanc needs change here also. 1997-01-11 11:07:52 +00:00
ragge f98e31628a #define MAXBSIZE to some nice value. 1997-01-11 11:06:17 +00:00
mikel aed485cdf2 add 'pseudo-device ccd' where necessary; PR kern/1830. 1997-01-11 09:11:37 +00:00
mrg c71a371532 use pseudo-device ipfilter, not ipl. 1997-01-07 11:35:01 +00:00
ragge 3896082c5a Add rd, sd, cd, md, st, ss, uk, ch and ipl device entries. 1997-01-05 18:49:12 +00:00
cgd 96acdadef7 First step inn removing config_scan() and the hacks that gave devices
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:

Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
jonathan 4c1d96de78 * Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
Lets users over-ride with makeoptions COPTS="..." in kernel config files.

  Leave `mandatory' flags (like  -msoft-float which  on m68k enforces no
  FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
jtc 9da5f60715 PROF -> GPROF 1996-11-30 02:48:57 +00:00
jtc 16b48272c4 Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_ 1996-11-15 22:38:45 +00:00
thorpej 23ff20cd74 Use bitmask_snprintf(). 1996-11-15 03:32:46 +00:00
thorpej f6290552bf Use bitmask_snprintf(). 1996-11-15 03:11:19 +00:00
cgd 8a3333b2a9 Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
christos e37692f04d backout previous kprintf change 1996-10-13 03:29:05 +00:00
christos 16b74d2c00 use in_addr_t and in_port_t 1996-10-13 03:28:00 +00:00
christos eb314d8358 printf -> kprintf, sprintf -> ksprintf 1996-10-11 01:50:21 +00:00
cgd 472889f8e4 moved to aout_machdep.h (via repository copy) 1996-10-08 12:57:37 +00:00
mycroft b3ffba62a6 Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft 2bc736661a Implement poll(2). 1996-09-07 12:40:22 +00:00
mycroft fc3def4096 Remove duplicate declarations of LKM functions and macros. 1996-09-05 15:46:22 +00:00
mycroft b3eac79b64 tty stop functions really should return void, not int, and certainly not both. 1996-09-02 06:43:16 +00:00
mycroft 30a617c634 Wrap the default definition of `S' in `.ifndef'. 1996-08-31 21:40:47 +00:00
cgd 71ad30d0e9 (1) set scsi_link channel to either the appropriate channel (if a
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd 2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
ragge 1c367d4761 Modify bus code arguments. Cleanup. 1996-08-20 14:19:41 +00:00
ragge 2e489636e4 Use common routine to map in pages before DMA'ing. 1996-08-20 14:15:04 +00:00
ragge c5db4b8756 Support for cmi bus on 11/750. 1996-08-20 14:13:50 +00:00
ragge 34d020edd2 Change uba* functions to take pointers, rather than uba unit numbers. 1996-08-20 14:07:33 +00:00
ragge 1be0c00cf0 Add another parent bus for 11/750 (cmi). remove mtc.c. 1996-08-20 14:05:16 +00:00
ragge 9f1148c9c4 Use the same device driver for both uda and mtc. Actually, the only
difference is vcid. The unit names must differ, so that it is possible
to distinguish them at autoconf time.
1996-08-20 13:49:15 +00:00
ragge 3a504ef134 Modified to get cleaner match/attach code for different parent buses.
Fix so that resource wait queueing works.
Changed all functions to take a pointer to uba_softc instead of unit
number, except for ubareset(). This must be done later.
1996-08-20 13:37:57 +00:00
jonathan 4a1279de25 Import framebuffer drivers from 4.4-Lite2 as the root for NetBSD drivers.
Only change from Lite (or lite2, qv.c and qd.c do not change) is adding
NetBSD RCS ids.
1996-08-18 21:28:53 +00:00
mycroft 558d72128e Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft cf67f29afe * Add a HOSTED_C_C variable, which strips `-p', `-pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft f94052ed3a * Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg 5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
ragge fdcabd43da Do not use any emulated insn's in boot program. (in this case cmpc3).
Add strncmp to get around this.
1996-08-02 16:18:39 +00:00
ragge 5e04d04d68 Add support for booting Vaxstations; from MFM and SCSI. (PROM-based boot). 1996-08-02 11:21:41 +00:00
ragge cbca944854 LANCE driver for vaxstations. 1996-07-20 19:01:55 +00:00
ragge 88a147e51b CPU determine code. ts driver converted to new config. May work, untested. 1996-07-20 19:00:22 +00:00
ragge 15409eef53 Update config files for VAX8200 and VAXstations. 1996-07-20 18:56:58 +00:00
ragge 38b1264285 SCSI and ST506 support for the VAXstation architecture. 1996-07-20 18:55:09 +00:00
ragge a8f6512e6d VAXstation CPU and serial console support. 1996-07-20 18:29:49 +00:00
ragge 7707223bc4 Locore changes for VS and VAX8200. 1996-07-20 18:20:42 +00:00
ragge 1abb214901 Bugfix causing erroneous address displaying. 1996-07-20 18:17:29 +00:00
ragge fd3f596fa3 Reflect the changes of CPU determination. Add support for VAXstations. 1996-07-20 18:14:41 +00:00
ragge aab842833e Put in rd (ST506 disk), sd and st. 1996-07-20 18:08:19 +00:00
ragge a6c464a5f7 Add vmapbuf/vunmapbuf for VAXstations that need them. 1996-07-20 18:02:47 +00:00
ragge caff7b03d4 Numerous changes to be able to put Bertram Barth's VAXstation support in.
(Some) Support for VAXstation 2000/MicroVAX 2000, VAXstation 3100/76.
1996-07-20 17:58:12 +00:00
ragge 7ac59ffe68 Reworked time handling; now also handles clock chip CPUs correctly. 1996-07-20 17:35:41 +00:00
ragge 5b0992267c Support for VAX8200; the ka820/ka825 CPUs. 1996-07-20 17:33:06 +00:00
ragge c828b7ce6d Support for the VAXBI bus, and KDB50 device driver (MSCP disk).
Parts of this written by Chris Torek at the beginning of time.
1996-07-19 14:26:52 +00:00
ragge ce30ddd46b Obsoleted by now. 1996-07-15 11:50:40 +00:00
ragge 640bda0d46 Put in boot support for VAX 8200. 1996-07-15 11:11:01 +00:00
ragge a5b04afcd8 Automatic changing of root device after boot now works. 1996-07-11 19:33:50 +00:00
ragge e9d6f189c1 Add MSCP tape to this file. 1996-07-10 23:51:53 +00:00
ragge 02d0803c80 Add spl4 - spl7 macros, easy to use when playing with buses. 1996-07-10 23:51:08 +00:00
ragge 4d687fb39d Slow down DELAY for 11/785. 1996-07-10 23:48:42 +00:00
ragge 9c24877b23 Remove tmscp protocol definition file; which was actually the same
as the mscp protocol.
1996-07-10 23:44:17 +00:00
ragge 5d6b8719b2 Remove old (tape-only) tmscp driver. Add new uba/qba driver
for common MSCP routines.
1996-07-10 23:42:05 +00:00
ragge cb355cf8d5 Add support for tape drives. More extensive error checking. 1996-07-10 23:35:58 +00:00
ragge 1e3ab3cb1e uda -> ra and tms -> mt (mscp changes). 1996-07-01 21:50:29 +00:00
ragge d969a7e16e Changed data structures due to removal of old config system. 1996-07-01 21:31:36 +00:00
ragge f6fb3bf1ab Change to new config and to support new MSCP system. 1996-07-01 21:24:48 +00:00
ragge f85a693859 Update to match new MSCP device handling.
Remove support for old config system.
1996-07-01 21:07:25 +00:00
ragge dfdb4e6863 Remove old config support code. 1996-07-01 20:48:58 +00:00
ragge f19e0bacab Rewritten and moved to vax/mscp. 1996-07-01 20:47:27 +00:00
ragge 60af617a5d Totally new approach for MSCP devices; they are now handled more like SCSI.
All Unibus dependencies are removed.
Can support different controllers on different buses.
Allows cloning of devices.
TODO:
	Write support for MSCP tapes.
1996-07-01 20:41:30 +00:00
ragge 97756165b8 Remove code that took care of old config devices. Don't support
old config anymore, all devices should use new config by now.
Add structures to handle DMA devices using new config.
Fixed bug that caused unwanted ubareset's on 11/780.
1996-07-01 20:17:56 +00:00
cgd 352d972c94 locc() is unused. Remove it from the machine-independent kernel interface. 1996-06-10 15:33:33 +00:00
ragge 7cbd855ad6 Fixed all (proto)type errors. Fixes PR 2377. 1996-05-19 16:43:02 +00:00
ragge f4c525a623 Update from Ken Wellsch. 1996-05-19 16:27:02 +00:00
ragge 6bd144b812 Add DZ-11 to GENERIC & files.vax. 1996-05-19 16:25:23 +00:00
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
thorpej 69351e2be6 Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:35:48 +00:00
ragge a24af7a7c2 Added prototypes to everything. Made all files compile with -Wall. 1996-04-08 18:32:26 +00:00
ragge 86c328d230 Drivers for DZ11/DZV11/DZQ11 serial cards.
Written (mostly) by Ken Wellsch.
1996-04-08 17:22:20 +00:00
cgd 83f9bdc359 update for the fact that config_found() and config_rootfound() now
return pointers.  (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00
ragge da9fca44a5 CVS trouble. 1996-04-02 13:52:28 +00:00
ragge 8fa15eb73f Ubareset are now possible, devices that wants it now set it up
during autoconfig. ifubareset (if_reset) no longer used, actually
it's just a normal ubareset and is now handled like that.
1996-03-18 16:47:24 +00:00
ragge 6275c70064 Convert all devices according to the changes to config. 1996-03-17 22:56:15 +00:00
ragge dfaa8f2e96 Update from Ken Wellsch: The DHU driver can now handle DMA transfers. 1996-03-17 22:51:48 +00:00
ragge 3b5cb56887 Do not have debugging enabled by default. 1996-03-17 22:49:55 +00:00
ragge b7cf2432a0 Fix type clashes. 1996-03-17 22:44:48 +00:00
ragge f9ee92c45a Support installation of /usr/mdec files. 1996-03-16 11:03:11 +00:00
ragge 33aad32f37 Accept adapter numbering in boot. 1996-03-16 11:02:28 +00:00
jtc 2ce5f1478b Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1. 1996-03-16 01:31:45 +00:00
christos 25b31cbc91 fdopen -> filedescopen 1996-03-14 21:31:56 +00:00
ragge f01a5dd8cc We lost declaration of kernel_pmap_store somewhere, put it back. 1996-03-09 23:39:51 +00:00
ragge 3a07f941ba Check on which SBI we are frobbing, not always 0. 1996-03-09 23:38:34 +00:00