Commit Graph

13361 Commits

Author SHA1 Message Date
jonathan 0cfd4f8641 Update arch/pmax/Makefile to build in NetBSD rather than 4.4-Lite:
* Create arch/mips/Makefile.inc with source list of generic MIPS-cpu
    files for tags
  * Use mips/Makefile.inc and updated tag list in pmax/Makefile
  * Try building bootblocks in arch/pmax/stand.
1996-09-29 23:51:22 +00:00
mrg ba10db77a3 install sys headers from sys/Makefile. 1996-09-29 23:29:16 +00:00
is 5a86eaccfc a) replace our delay() with a Gordon Ross style one, calibrated at
clock_attach() time (for now).
   This removes our dependance on the DraCo ROM access timing and frees
   the second CIA on Amigas.
b) support for DraCo rev. >= 4 native timer chips.
1996-09-29 21:27:30 +00:00
christos 169edbf5a3 Don't epstop() at the and of the attach 1996-09-29 11:20:32 +00:00
christos 26699175a4 Apply PR/2661 [from Jonathan Stone] 1996-09-29 11:19:42 +00:00
jonathan 3281d4c16d Fix cut-and-paste (ouap vs ap) bugs so the previous revision actually
compiles.  Change variable names to use "ap" instead of "ouap" everywhere
to avoid similar bugs in future.
1996-09-29 10:52:02 +00:00
jonathan 9b84ee7f35 Fix data-corruption bug on async targets:
*  When we are transferring in DATA (in asc_dma_in) and the target
  is an async device, there is sometimes an extra byte in the FIFO.
  If so, we need to drain that byte out of the fifo, but if and only
  if the target is async.  See also the comments in asc_dma_in()
  in the related Mach mk84 asc driver (scsi_53C94_hdw.c), which
  has an identical fix but applied in more restrictive conditions
  than we need, with async *disk* targets, as well as async tapes.

* Add a watchdog and timeout active SCSI requests, to eliminate any
  potential for deadlock due to applying the fix above on newer
  silicon versions of the 53c94 which may not have the above problem.
  Should use the MI scsi per-target timeout instead, when available.
1996-09-29 03:02:19 +00:00
christos 2dff852a85 Add prototype for quotactl. 1996-09-28 19:07:06 +00:00
mhitch 5699bff0d4 The declarations for the interrupt enable address should only be done if
_KERNEL is defined.  The bash install process was including the extern
statements into its generated Makefile.
1996-09-28 15:54:04 +00:00
mhitch 3a51f86499 Check only the IR bit of the CIAB Interrupt Control Register when testing
for a level 6 interrupt.  An interrupt only occurs if IR is set, and IR is
only set if the individual mask bits are set.  The individual interrupt
status bits can be set without causing an interrupt if the corresponding
enable bits are not set.
1996-09-28 15:45:41 +00:00
mycroft 4cd799d5a9 Remove unused variable. 1996-09-28 03:37:36 +00:00
mycroft aaad0e1149 Sync with Alpha version. 1996-09-28 03:21:04 +00:00
mycroft 3729419cc8 * Bitbucket extra status bytes rather than barfing.
* Add copyright.
1996-09-28 03:16:56 +00:00
mycroft e097189e2b Restructure code more like aic6360 driver. Also:
* Check for some errors during reselect.
* Don't recognize MESSAGE PARITY ERROR.  A target is not allowed to
send it.
* Check the size of a SDTR.
1996-09-28 02:10:55 +00:00
thorpej 8d5c3b9cd1 Sync with the alpha version, fixing several SCSI protocol bugs.
NOTE: THESE FILES ARE NOW IDENTICAL TO THEIR ALPHA COUNTERPARTS.
The C preprocessor does the Right Thing when these files are built
on a SPARC.  This makes it significantly easier to diff the two
versions (until a real MI 53c9x driver is done, hint hint).
1996-09-28 01:49:06 +00:00
thorpej 15516a9a89 - Add some missing prototypes and kill an unused label.
- Add some missing SPARC_DRIVER stuff.
- Make SPARC_DRIVER automatic.

This driver now compiles as-is and works on both the SPARC and Alpha.
1996-09-27 21:37:17 +00:00
cgd ad1c1f7b3d fix up section header type enum/values 1996-09-27 21:21:15 +00:00
mycroft be1172e37b Fix dangling pointer in debugging message. 1996-09-27 20:21:38 +00:00
mycroft 00089386d6 If we get an unexpected disconnect while issuing a REQUEST SENSE, do a reset. 1996-09-27 19:55:41 +00:00
mycroft 3075e1443b Functional changes:
* Handle message retransmissions and partially sent messages correctly.
* Make sure we clear ATN after the last message is sent.
* Do the right thing if the target initiates negotiation for async mode
after having negotiated sync mode.
* Fix some cases where we set ATN with no message queued, or schedule a
message without setting ATN.
* Issue a REQUEST SENSE after an unexpected disconnect, per SCSI spec.
* Fix abort handling in a number of cases.
* Recognize selection timeouts better (to speed up probing).
1996-09-27 19:36:34 +00:00
abrown 28068e33c0 Oops. Last change will slow down a GENERIC kernel. Add a CPU type test
for cleanliness.
KNF a return statement.
1996-09-27 18:30:15 +00:00
cgd 7c3255776d slightly clean up some of the changes made when ELF64 support went in 1996-09-27 18:14:23 +00:00
cgd d896ecd5f0 compile .S files with cpp | sed | as, to work around a bug with the
ELF-outputting version of the assembler.  (It was dying when it saw
some CPP line number markers.)  This is temporary.  (Workaround suggested
by Matt Thomas.)
1996-09-27 17:33:04 +00:00
cgd a3ad409098 add EXEC_ELF64 and EXEC_SCRIPT as standard options 1996-09-27 17:18:02 +00:00
cgd 80f9ed76f6 update for changes to config. 1996-09-27 17:08:32 +00:00
abrown d7ef005a81 Fix long-standing bug with Lance ethernet and Sun4m's, where each packet
would generate two interrupts, one real and one spurious. The solution
is to force a drain of the SBus->MBus write buffers after writing to the
lance to clear the interrupt. Thanks to Chris Torek for pointing out a much
easier way to do this than I had planned...
1996-09-27 15:11:43 +00:00
scottr 0f40954572 Add ROM vectors for the LC III, verified by Mike DeLima
<miked@netrover.com>.
1996-09-27 06:55:29 +00:00
cgd fea9aa2096 clean up a comment (in code derived from the a.out code, where i cleaned
up the comment earlier).
1996-09-27 03:38:27 +00:00
chopps daf7d29beb make work with DESTDIR 1996-09-27 03:23:12 +00:00
cgd 2f42e5b8ed fix some typos and clean up some comments. 1996-09-26 23:34:46 +00:00
cgd bbfe67624b enough 64-bit fixes to make network booting work on the Alpha. In general,
these are hacks (s/long/int/, etc.), but this code really needs a heavy
cleaning (including fixed-size typing) and I don't have time to give it one
now.
1996-09-26 23:22:01 +00:00
cgd f496a53cbf make sure new allocations are aligned. 1996-09-26 23:15:00 +00:00
cgd f4888b894a label changes, pulled down from libc 1996-09-26 23:04:30 +00:00
cgd db9418238e add support for the prom 'write' operation. 1996-09-26 22:51:53 +00:00
cgd d7d34c74ec since these just included mips/ecoff.h, they need to be changed to include
mips/ecoff_machdep.h.
1996-09-26 22:40:53 +00:00
cgd 64f4e1937e rename <machine/ecoff.h> to <machine/ecoff_machdep.h> for clarity and
consistency with the way machdep headers for other things are done.
(the creation of the ecoff_machdep.h files was done on the CVS server, to
keep the RCS logs intact.)
1996-09-26 22:39:14 +00:00
cgd 0e097578a2 add and use a machine-dependent header, which currently defines some
macros to use to remove #ifdefs from the machine ID case check.
Eventually, these headers will contain other information, e.g.
machine-dependent relocation information, etc.
1996-09-26 21:50:55 +00:00
cgd aff6c1c4c7 kill DDB 1996-09-26 21:45:05 +00:00
cgd 9c3e274c7b adapt ELF-using compat code to use new ELF definitions/code. At this point,
these are restricted to 32-bit ELF, and should be severely cleaned.
1996-09-26 20:52:42 +00:00
cgd 79bd41b179 add support and reorganize for 64-bit ELF, included by EXEC_ELF64
option.  (Also, make EXEC_ELF32 option a way to explicitly include
32-bit ELF support.)
1996-09-26 20:51:03 +00:00
cgd 006b20dd51 add definitions for 64-bit ELF. Provided by Matt Thomas, then integrated
and cleaned up a fair bit.
1996-09-26 20:48:55 +00:00
thorpej e1b380e139 Fix a bus mem space leak; always unmap the card, regardless of the success
of cy_find().
1996-09-26 19:24:04 +00:00
thorpej a962c12194 Use "cy_port_num" rather than "cy_port" where appropriate. 1996-09-26 19:16:02 +00:00
christos 869fd46175 Implement T_FIXALIGN by adding code to fix unaligned accesses and a bit
in md_flags. This should bring the solaris mac emulator software a step
closer to working.
1996-09-26 18:58:33 +00:00
christos e33f712af6 Initialize md_flags. 1996-09-26 18:55:51 +00:00
christos 9db40d9ba8 Add md_flags so that we can have a fix-misalign-accesses flag. 1996-09-26 18:51:17 +00:00
gwr 79b5c352a5 Fix bounds_check_with_label() as suggested in PR#2598 (Thanks to der Mouse) 1996-09-26 18:10:21 +00:00
jonathan 9b5c58c457 * When configuring a serial console on a machine with a dc serial chip,
use the pre-autoconfig cold serial-console inititialization entry
  points from the bus-specific cfattach front-end code.
* Delete post-autoconfig code to switch from PROM output to kernel
  driver for machines with dc serial chips.
1996-09-25 21:16:00 +00:00
jonathan 8eca2b2bb4 * Rewrite asc driver with ``mi'' backend and parent-specific front-end
cfattach code for TC SCSI option cards  and ioasic 53c94 baseboard SCSI.
    ascvar.h:  shared softc  declarations
    asc_ioasic.c: ioasic front-end code.
    asc_tc.c: Turbochannel option (and 5000/200 basebard) front-end code.
* ioasic_attach meeds more work to eliminate pmax_type dependency
   and to verify the clocks speed passed to 53c94.
* Add prototypes for asc script entry points; should compile with
  -Wstrict-prototypes -Wmissing-prototypes.
* Use tcvar.h interface.  The usage of tc_syncbus() and tc_mb() may
  not be quite stylistically on an Alhpa, but it apparently makes no
  difference on the eerly-generation Alpha CPUs in TC Alphas.
1996-09-25 21:07:46 +00:00
christos 3f15a06497 Recognize %.2x as %02x 1996-09-25 21:03:06 +00:00
jonathan 874baa6c95 Rewrite dc7085 (dz-11 clone) driver as MI back-end, with bus-specific
cfattach front-end code:
  dc_ds for the decstation 2100( pmin), 3100 (pmax), and 5100.
  dc_ioasic for the decstation 5000/200 (3max) which does  not have a
  DEC TC-style IOCTL asic, but is configured as if it did.

* Add pre-autoconfig  code initialization of kerenl dc driver console I/O
  for remote serial consoles.  The hack to use PROM serial I/O until the
  dc device is autoconfigured is no longer necessary.
1996-09-25 20:48:51 +00:00
thorpej 63b18ee2f2 This file is now obsolete. 1996-09-25 20:44:09 +00:00
jonathan 75fd343a78 Build locore using merged mips (mips1, mips3) locore source:
* Add MIPS make variable pointing at $S/arch/mips
  * Build locore from $MIPS/mips locore source
  * Build locore.o and fp.o (fp emulation) from arch/mips locore source
  * Add target and rules to build pmax-specific locore code locore_machdep.o
    from $PMAX/pmax/lcore_machdep.S
1996-09-25 20:41:00 +00:00
jonathan 2ec085cba7 Back out part of revision 1.30:
>* Use `-S' rather than `-x' to remove debugging symbols.

because the pmax toolchain and gcc disagree about what is a "local"
symbol, and ld requires a "-x" to let elf2aout build bootable a.out kernels.
1996-09-25 20:35:16 +00:00
leo ffd121b446 More preps for et-driver. 1996-09-25 15:15:07 +00:00
leo f97dcb95be The KDASSERT macro is now defined in libkern 1996-09-25 15:10:15 +00:00
leo d9ec4b0569 Second arg to print function is now 'const char *' 1996-09-25 15:07:40 +00:00
leo 8e7f6c2cf5 Catchup with -current:
- Extra argument to boot()
  - select -> poll
1996-09-25 15:03:20 +00:00
christos 42d3980338 Fix PR/2779: statvfs returns incorrect sizes. From Aaron Brown 1996-09-25 04:37:13 +00:00
mycroft 605403ce1e portal_fsync -> genfs_nullop 1996-09-25 03:01:41 +00:00
christos f44e9d22db Avoid problems with ptrdiff_t and size_t being different on different
architectures, by adding explicit casts to printf arguments. Is there
a better way to do this?
1996-09-25 02:22:10 +00:00
christos 6dde563e8f Fix the entries for the cyclades multiport serial cards, but leave commented
out, like the other multiport cards
1996-09-24 19:10:41 +00:00
christos ded50ae798 New Cyclades driver from Timo Rossi 1996-09-24 18:02:33 +00:00
christos e76a4ef86b New cyclades driver from Timo Rossi. 1996-09-24 17:59:33 +00:00
christos 7c744984f3 New cyclades driver from Timo Rossi. 1996-09-24 17:47:14 +00:00
christos 5d34f1a62b New cyclades driver from Timo Rossi 1996-09-24 17:45:14 +00:00
christos 3f0fed8ce8 Add stub for cyclades multi-port serial cards 1996-09-24 17:43:35 +00:00
is e6edfde31b Rename the watchdog enable bit to reflect its polarity. 1996-09-24 17:11:53 +00:00
is 2b84ad395b Don't forget to shut up Fido. 1996-09-24 16:08:36 +00:00
jtc d137b0e8ba Added new macro _PROF_PROLOG which contains the code sequence needed
to call mcount().  This is needed because the ``link a6,#0'' insn used
trips up gcc's ANSI preprocessor (A # in a function-type macro must be
followed by a macro argument).  _PROF_PROLOG is also used in the i386
asm.h.

Solaris' asm_linkage.h has a MCOUNT macro similar to _PROF_PROLOG
except it expands to different code sequences based on whether a
function is being compiled with "prof" or "gprof" instrumentation.

I also discovered that the m68k ALTENTRY is very different than the
implementation used by other NetBSD ports.  Usually ALTENTRY simply
provides an alternate function entry point.  The m68k version takes a
second argument and jumps inside the second function when profiling is
enabled.  The m68k behavior is similar to the ENTRY2 macro found in
solaris.

Providing ENTRY2 and changing all the code that uses ALTENTRY to use
it would be a desirable change.
1996-09-24 00:05:55 +00:00
ghudson ed1f3fd647 Handle relative paths to the source tree if they begin with '.'. 1996-09-23 05:01:52 +00:00
ghudson a08c3a1feb Handle relative paths to the source directory if they begin with a '.'. 1996-09-23 05:00:45 +00:00
cgd c54f6f32d9 update for ELF toolchain support 1996-09-23 04:32:59 +00:00
cgd a47aa08a3e define ELFSIZE to 64, for exec_elf.h 1996-09-23 04:32:44 +00:00
cgd 3bd3e6250d checkpoint current development, add ELF toolchain build support 1996-09-23 04:30:56 +00:00
cgd 6048292ba8 add -DECOFF_COMPAT to CPPFLAGS if ELF_TOOLCHAIN not defined. 1996-09-23 04:28:46 +00:00
cgd c225908c90 add netboot 1996-09-23 04:28:23 +00:00
cgd 788923c1ab add a missing #else, pointed out by Wolfgang Solfrank 1996-09-22 16:23:31 +00:00
scottr 21761e4ec0 Update for recent config(8) changes. 1996-09-22 06:49:09 +00:00
cgd a5aa202ea9 kill unused options. no point in wading through lots of lines of commented
out garbage that will never be useful on this machine.
1996-09-22 03:00:32 +00:00
perry 17fcad6b2c commit fix in pr 2772 -- the IP input code was assuming that the
reserved (must be zero) flag must necessarily be zero. We now define
an IP_RF (by analogy to IP_DF and IP_MF) and mask it out when necessary.
1996-09-21 19:44:32 +00:00
jonathan 3fd5d3ba03 Add prototype for function-pointer argument "strat" in definition of
readdisklabel(), writedisklabel(), and  compatdisklabel().
1996-09-21 11:25:51 +00:00
jonathan 3a51c3ecb0 Move old 4.4bsd/pmax driver declaration below prototypes of driver
entry points, for -Wall -Wstrict-prototypes.
1996-09-21 08:47:17 +00:00
jonathan 073248247b Add prototype for 4.4bsd/pmax scsi-driver d_done() entry point. 1996-09-21 08:45:41 +00:00
jonathan cb5732503f Add fake, bogus prototype for gettcinfo(), with "void" arglist.
(Not having a prototype  breaks -Wstrict-prototypes, this callback
 isn't used, and we don't know what the prototype should be.)
1996-09-21 03:33:18 +00:00
jonathan 456e858536 Update pmax framebuffer drivers for -Wall -Wstrict-prototypes:
* include <fb>var.h in <fb>.c
 * remove delete declarations for 4.4BSD-Lite console/kbd/mouse redirection
 * Add prototypes where not already present.
1996-09-21 03:25:15 +00:00
jonathan f78ff890d7 Change bt478.c to include bt478var.h from bt478.c.
Remove redundant declarations.
1996-09-21 03:22:24 +00:00
jonathan 2e4e1695fe Exported declararation of console-attach function for glass-tty consoles
on Decstation TURBOchannel fb drivers.
1996-09-21 03:06:36 +00:00
jonathan 5c2d5169b2 Exported declarations from brooktree bt478 chipset-level driver,
used in DEC pm framebuffers.
1996-09-21 03:02:10 +00:00
jonathan be78089fff * Add missing `UADDR' argument to RESTORE_USER_REGS() macro calls.
* Add back copyright notice and rcs ID from parent of previous
  revision (pre-merge).
1996-09-20 23:44:10 +00:00
cgd 4463616051 put set of 'channel' field of scsi_link in the right #ifdef 1996-09-20 22:38:37 +00:00
cgd 80c82b8766 rename exec_elf.c to exec_elf32.c, since it execs 32-bit ELF. exec_elf32.c
was copied from exec_elf.c on the CVS server to keep the logs intact.
1996-09-20 22:33:23 +00:00
christos 9cdf304505 Make this compile cleanly from userland (fsck_ffs). 1996-09-20 22:14:59 +00:00
christos eeeb3e0738 Add fwd struct declarations and protect include of libkern.h 1996-09-20 22:11:38 +00:00
thorpej ab49e34013 Don't attach an rcons to a cgfour/cgeight overlay plane; it doesn't work
properly.  Problem reported by Charles Hannum.

XXX This is temporary until someone with the hardware has time to fix it!
1996-09-20 17:35:49 +00:00
ws 14993c9720 "'" and "^" are allowed in short fat filenames,
"," and ";" are not.
1996-09-20 16:45:45 +00:00
christos 6e5a87c781 regen 1996-09-20 16:43:55 +00:00
christos a9028f3d76 getlogin -> __getlogin 1996-09-20 16:19:27 +00:00
thorpej c996066313 Correct two prototypes so that this compiles without DDB defined. 1996-09-19 23:02:18 +00:00
jtc 16fe807b60 renamed sys_getlogin to sys___getlogin. required by libc namespace conventions 1996-09-19 04:52:12 +00:00
jtc 7c8f14e947 don't declare sys_errlist or sys_nerr if _XOPEN_SOURCE is defined 1996-09-19 04:51:03 +00:00
cgd 8644dce05c start on some network boot blocks. they work, but:
(1) the if_prom code needs to be cleaned up quite a bit
	    (right now it hard-codes client's ethernet address), and
	(2) much of this code (esp: getsecs.c, netboot.c, newvers.sh,
	    rpcc.S) should be shared with other Alpha boot blocks,
	    and dev_net.[ch] should maybe go in libsa proper.
1996-09-18 20:03:04 +00:00
cgd 675e59d762 fix for elf loading, from Matt Thomas 1996-09-18 19:34:33 +00:00
jonathan 4a465f05ff Decstation kernel config file for diskless installation:
root and swap on NFS, but includes disk and tape drivers.

Prune out most `optional' options to stay small in the hope of avoiding
PROM tftp bugs.
1996-09-18 14:10:24 +00:00
jonathan 420c045b41 Create broken-out config files for decstation baseboard devices.
Add sample config files that use them.
1996-09-18 13:43:37 +00:00
jonathan de735d506d Fix for problem report port-pmax/2173: the local variable "inst"
in the branch-emulation  code was uninitialized, due to a misplaced #endif.

Remove the relevant #ifdef (macro version of GetBranchDest), and move the
XXX note about r4000 branch targets to the  function definition.
1996-09-18 11:16:20 +00:00
briggs 197a86e724 Don't allow get_physical to attempt get_pte if mmutype is 68040.
(At least until get_pte works on the 040).
1996-09-18 03:33:23 +00:00
scottr ae0d4c11cb Use sys/types.h and sys/systm.h to bring in prototypes for bzero() and
bcopy(), instead of string.h
1996-09-18 03:11:03 +00:00
thorpej d3f587e135 For ioctl commands which may change the device's state, ensure that
the caller has the device open for writing.
1996-09-18 02:34:31 +00:00
mrg 2fc2b98d83 make pageout sleep on vm_pages_needed rather than lbolt. this stops
pathological behaviour (freezes) when running short of free pages.  see
PR#2755 for a more detailed explanation (from jonathan).

thanks to john dyson for the first cut of this change.
1996-09-18 02:04:50 +00:00
chuck b418e848e1 add missing lines (missing pointer to usrreq fn) 1996-09-18 00:56:41 +00:00
cgd 886dba6dff (1) split load-file functionality out from the 'main program' of the
boot block, since it will be shared with the network boot block.
(2) Kill a.out support, since it never worked was never used, and will
    never be.
(3) Add support for booting of ELF kernels, from Matt Thomas.  (Currently
    untested, but it compiles.)
1996-09-17 22:00:24 +00:00
cgd a68b586a74 add _rtt as an XLEAF into start which (like 'halt') just halts 1996-09-17 21:26:45 +00:00
cgd abcbfbdd93 use assembler directives and labels that make both the ELF- and ECOFF-
targeted assemblers happy.
1996-09-17 21:17:11 +00:00
cgd 8110fe7ca7 Differentiate between disked ("SCSI") and network ("BOOTP", but not yet MOP)
booted_dev specs.  Add code to find the device, if booted from the network.
1996-09-17 21:04:25 +00:00
cgd cab0e2aba3 hmm, fix an apparent typo (two letters got deleted!) 1996-09-17 20:58:58 +00:00
cgd 56386f3e35 Differentiate between disked ("SCSI") and network ("BOOTP", but not yet MOP)
booted_dev specs.  Add code to find the device, if booted from the network.
1996-09-17 19:46:37 +00:00
cgd 88a5419c15 print default device names slightly more nicely. (if not disk device,
don't print a blank before the close paren.)
1996-09-17 19:41:52 +00:00
jonathan ad20e52d11 Commit snapshot of reworked dc driver to trunk, to pull up fix for
serial consoles to the 1.2 branch.  Includes:
  * dynamically allocated new-config softc
  * remove dependencies on Decstation CPU type, use flags in softc instead.
  * pass in values for softc flags (q.v.) from parent-specific attach code
  * #ifdef out rts/cts flow control support until it's known to work on
    200s.
  * redo initialization of serial consoles (needs more work).
1996-09-17 19:34:40 +00:00
mycroft d6121891ef Overlay inp_faddr and inp_laddr into the header prototype. 1996-09-17 17:10:20 +00:00
mycroft dd1088afc1 Catch up with netinet changes. 1996-09-17 16:43:48 +00:00
oki 82f8d6bb4b added ccd(blk)/ch/uk device 1996-09-16 20:08:56 +00:00
scottr d13cb4414c Convert `fpu_type' to the more consistent `fputype', and use the new
#defines from m68k/include/cpu.h.
1996-09-16 18:00:26 +00:00
mycroft 457b1b1333 Make sure the sin_zero fields are filled. 1996-09-16 17:45:17 +00:00
cgd 66992c7399 sync with GENERIC: add pseudo-device 'rd' with one unit 1996-09-16 16:34:15 +00:00
cgd 0006f58df7 add EISAVERBOSE, TCVERBOSE as appropriate. Add UCONSOLE to all.
slight cleanup + sync.
1996-09-16 16:30:40 +00:00
leo 0e805391a3 Prepare for (soon to come) et4000 PCI console 1996-09-16 06:49:03 +00:00
leo ef074b3031 Prepare for (soon to come) et4000 PCI console. 1996-09-16 06:43:32 +00:00
leo edc2de87d0 Initialize MFP2 on both TT&HADES. 1996-09-16 06:28:41 +00:00
leo 11c0ef7354 atari_realconfig now defined in <atari/device.h> 1996-09-16 06:27:11 +00:00
leo 1b4ecd8255 Fix bootcode to work on the 68040. 1996-09-16 06:25:45 +00:00
leo 72c7d3589f Get it into sync with the previous changes to locore.s 1996-09-16 06:24:36 +00:00
leo 7a128f0c7e Sync with changes in the grf/ite/view system. 1996-09-16 06:22:27 +00:00
leo 70747dc24f Add support for Hades platform. 1996-09-16 06:20:44 +00:00
leo 4f51ebc528 - Add M68040 option where appropriate
- Reflect changes on the grf/ite/view system for et4000 console support
- Set timezone to 0
- Document FPSP option
1996-09-16 06:14:21 +00:00
leo 2eccad6548 Add macro's that do bclr/bset in a single instruction. 1996-09-16 06:03:58 +00:00
scottr 3cf197cef1 Somehow the last change got mangled. Do over. 1996-09-16 05:24:21 +00:00
jtk fc79deac52 when halting, attempt to turn off power using APM 1996-09-16 04:44:28 +00:00
scottr 014f910806 Add ZS_CONSOLE_ABORT 1996-09-16 04:35:25 +00:00
scottr debc473329 - Add a ZS_CONSOLE_ABORT option to enable a serial console break to
force a drop to the system debugger.  WARNING:  this used to be the
  default behavior!  Modify custom kernel configs accordingly.
- Check for ZS_HWFLAG_CONABRT in zs_abort(), and don't abort if it's
  not set.
1996-09-16 04:32:28 +00:00
scottr 696dd783a4 Move check for ZS_HWFLAG_CONABRT to zs_abort(). 1996-09-16 04:19:26 +00:00
jonathan 18bd3a86e3 * add RCS id.
* Allow configuring disks without tapes, or tapes without disks,
  as suggested in PR 2743.
1996-09-16 03:47:47 +00:00
cgd 5645b6ef46 simplify profiling entry. add 'label' argument tp PANIC, PRINTF, and MSG,
which is the label that the message string should be stored with.
1996-09-15 22:42:29 +00:00
cgd e025186655 save and restore registers symmetrically. don't forget to restore PV (t12). 1996-09-15 22:33:28 +00:00
mycroft 9bfa240a98 Hash unconnected PCBs. 1996-09-15 18:11:06 +00:00
cgd 89986fec30 like GENERIC, but uses built-in ramdisk image for root 1996-09-15 17:23:12 +00:00
cgd 3732f4dad6 add one 'rd' pseudo-dev. 1996-09-15 17:22:28 +00:00
cgd edf0333fe0 add ramdisk root hooks 1996-09-15 17:17:56 +00:00
cgd 17264a54f2 s/k0segtophys/ALPHA_K0SEG_TO_PHYS/ 1996-09-15 17:16:24 +00:00
cgd 3af6ed0256 pollin', pollin', pollin', make them drivers pollin'... (support poll()). 1996-09-15 17:15:26 +00:00
thorpej 0cb6f5925c Correct an old comment; the 318, 319, and 330 _are_ tested (68020 w/ 68851).
(Read: I have a 319 :-)
1996-09-14 20:36:49 +00:00
is 1cda8089e3 Kill two debug printfs whose output always haunt me in the boot
messages, but which I didn't find when looking for then.
1996-09-14 14:55:08 +00:00
mrg a5f00f16bc move the packet filter hooks in to a saner location. while i'm here, rename
PACKET_FILTER to PFIL_HOOKS.
1996-09-14 14:40:20 +00:00
mrg 4b851a2d9b remove an unused variable. 1996-09-14 12:35:07 +00:00
scottr a4b22a046a Implement poll(2). 1996-09-14 06:08:01 +00:00
scottr 19d545f1ae - Implement poll(2)
- Convert splhigh() -> spladb()
- Guard references to adb_evq_tail and adb_evq_len!
1996-09-14 06:01:12 +00:00
scottr 81543dc7c9 Implement poll(2). 1996-09-14 05:54:53 +00:00
scottr 4ddcca6bc8 Update prototypes to match Chris' cfprint_t change. Also, update comments
in autoconf.h to reflect the mainbus.c split.
1996-09-14 05:43:24 +00:00
jtk 1541178d9b update the data segment mapping clamps to handle more screwy BIOS requests 1996-09-13 22:58:27 +00:00
jtk bfd321ca95 don't shift size fields; they're not descriptors 1996-09-13 03:10:56 +00:00
jtk 662c47ecd3 use ls, not ${LS}; remove now-unneeded Makefile.inc 1996-09-13 02:24:30 +00:00
thorpej fcde57a426 For ioctl commands which may change the device's state, ensure that
the caller has the device open for writing.
1996-09-13 00:35:59 +00:00
jtk 04f1e23fe1 BIOS trampoline is a static beast; generate it in the sources like
syscalls.h & friends, and include it when needed from the source directory.
1996-09-13 00:02:36 +00:00
mrg df4a844f44 forward decl. struct mbuf (for now). 1996-09-12 23:11:40 +00:00
explorer f5a52c4260 Move an #ifdef _KERNEL up above all the packet filter stuff. This
could very well break the packet filter stuff, but it will make things
like rcp.c compile, and rcp.c should not need to include sys/mbuf.h
to do so...
1996-09-12 22:56:03 +00:00
scottr e09160652b Sync with m68k/cpu.h changes. Also, test fpu_type instead of mmutype
when handling fp exceptions.
1996-09-12 21:25:31 +00:00
scottr d3beac22f0 Sync with m68k/cpu.h changes 1996-09-12 21:25:29 +00:00
scottr 027b51f1f9 Define spladb() (conservatively, at least for now). 1996-09-12 20:39:19 +00:00
thorpej 9476dabc1a Correct a somewhat confusing typo in a comment, pointed out by
Scott Reynolds.
1996-09-12 18:54:23 +00:00
thorpej 5d570ded25 Update for the new way machine/cpu support is option'd in. 1996-09-12 07:36:37 +00:00
thorpej feb8b586ed Do the extern song and dance. 1996-09-12 06:14:04 +00:00
thorpej 927facbf09 Add some constants now needed by locore. 1996-09-12 06:05:42 +00:00
thorpej a1bffadb58 - Add hooks (just empty shells for now) for MVME-{162,167,177} models.
- Use information obtained from the Bug in locore to make identifycpu()
  produce some slightly more meaningful output.

- Garbage-collect some left-over hp300-specific stuff.
1996-09-12 06:02:35 +00:00
thorpej 6d0345fdb7 - Save the boot device info a little earlier in initializaion.
- Use the Bug to find out what kind of machine we're running on, and
  Do The Right Thing, namely:

	- Set `cputype' and `mmutype' as appropriate.

	- Crap out if the kernel doesn't support the machine we
	  booted on.

- Add hooks for MVME-{162,167,177} models; just an empty shell to be
  filled in later.

- Use `MMU_68040' rather than `-2' when checking the MMU type.
1996-09-12 05:57:43 +00:00
thorpej 917ef1b1be Grok machineid. 1996-09-12 05:48:54 +00:00
scottr d407764c72 Add uk, remove ch device 1996-09-12 05:34:59 +00:00
scottr 7a6fae71e8 Add ss, uk SCSI devices 1996-09-12 05:33:41 +00:00
thorpej 399b0e0f68 - Use MVME "machine options" to associate MVME models with CPU
options (a'la the hp300 port).
- Declare a "machineid" extern.
- Define constants for machineid, which match the Bug's idea
  of MVME model numbers.
1996-09-12 05:26:37 +00:00
thorpej 583912cbcf Grab the stat clock stuff from the SPARC port, and glue it to the
second timer on the PCC.
1996-09-12 05:10:44 +00:00
thorpej de02bf68b3 Update to use the new badaddr(); simplifies the code that attaches
pcc children somewhat.
1996-09-12 05:04:18 +00:00
thorpej 054bd4e4d0 Prototype badaddr(). 1996-09-12 05:01:47 +00:00
thorpej ca8ebd2ae7 Change badaddr() to take the size of the access to do, and nuke
badbaddr().
1996-09-12 04:59:56 +00:00
thorpej 2a57ba6633 Correct a comment, and add timer priming macros. 1996-09-12 04:54:19 +00:00
scottr a453e56ffd This is the development/debug machine 1996-09-12 04:50:43 +00:00
scottr 7b33c93009 Update to current reality. 1996-09-12 04:49:52 +00:00
thorpej 22adc20819 Add an FPU_UNKNOWN constant; just a placeholder for any unknown FPU. 1996-09-12 02:52:34 +00:00
thorpej 2b525e4952 Sync boot() with the hp300 version (basically, clean up a bit and
run shutdown hooks).
1996-09-12 02:45:57 +00:00
thorpej 9aeee9fb17 Remove a couple of opcodes that are already (and more appropriately)
defined in scsi_changer.h
1996-09-12 01:57:17 +00:00
mrg c98a14ad90 update these for poll(2) changes. 1996-09-12 01:35:34 +00:00
thorpej be969d881e Update for poll(2) changes. 1996-09-12 01:22:58 +00:00
thorpej eae3f0bb96 When opening a disk for non-filesystem i/o, make sure we only return
an error condition when an error occurs.

Bug noticed by Terry Lambert <terry@lambert.org>.
1996-09-11 18:05:02 +00:00
jonathan 2bc8c4e5c2 Merge in 4.4BSD-Lite -> 4.4BSD-Lite2 changes. (untested).
The Lite2 changes  include:
  * Remove the last vestiges of high-bit-set-means-delay for output chars.
  * Handle the  2100/3100 having partial modem control on line 2 only,
    whereas the 5000/200 has modem control signals on lines 2 and 3.
  * Add RTS/CTS support for lines 2 and 3 on a 5000/200.
  * Add more s = spltty(); splx(s); where needed but not present.
1996-09-11 06:41:19 +00:00
explorer 5d76f7cbac remove unneeded placeholder 1996-09-11 05:24:25 +00:00
thorpej 5704683922 - Pull in some interesting changes from the Amiga trap.c:
* SunOS glue

	* 68060 exception frame size definitions

	* 68060 fault detection macros

- Use `cputype' rather than `mmutype' where appropriate.

- Play the prototype game.

This file is much closer to being sharable by all m68k ports.
1996-09-11 00:44:24 +00:00
thorpej f36cec2dfc Define the CPU_* constants from <m68k/cpu.h> for assym.h 1996-09-11 00:32:16 +00:00
thorpej 75b43e0aa6 Declare a `cputype' global, and set it as appropriate. 1996-09-11 00:29:28 +00:00
thorpej a437d4f6cb Use <m68k/cpu.h>. 1996-09-11 00:23:47 +00:00
thorpej e469c7beca Use <m68k/cpu.h>. 1996-09-11 00:11:42 +00:00
thorpej 521a717f6d Factor out common Motorola 68k CPU definitions from the m68k port
cpu.h header files.

Some more work could be done here, but it's a good start.
1996-09-11 00:08:52 +00:00
mycroft da2cd7eb82 If we're in SYN-SENT or SYN-RECEIVED state, don't reset the keepalive
timer until we transition to ESTABLISHED state.  Suggested by TCP/IP
vol 3.
1996-09-10 23:26:05 +00:00
thorpej 7734e8980b Add COMPAT_M68K4K. 1996-09-10 22:48:05 +00:00
thorpej 9ff195106c Document COMPAT_M68K4K, but leave it disabled by default. 1996-09-10 22:45:17 +00:00
thorpej 1710b024c0 Document COMPAT_M68K4K, but leave it disabled by default. 1996-09-10 22:26:50 +00:00
thorpej 73a5b90800 Pull in the COMPAT_M68K4K stuff when appropriate. 1996-09-10 22:07:10 +00:00
thorpej 0d3a57ea3f Add COMPAT_M68K4K to the exec switch. 1996-09-10 22:05:03 +00:00
thorpej c9bf6a7e5a Add exec glue for `COMPAT_M68K4K'; just map the executable the way
a MID_M68K4K expects to be mapped.  Allows any m68k port with
NBPG == 4096 to run NetBSD/hp300 executables, and will allow hp300s
to run legacy executables when that port's default format is eventually
changed to match the other m68k ports.
1996-09-10 22:01:20 +00:00
cgd 0b77b04b6e set a0 to be the initial sp, and set pv to be program entry point. 1996-09-10 19:13:42 +00:00
jtk 2b5e1cd158 clean up missing prototype, extra variable 1996-09-10 11:22:33 +00:00
leo 0f821f9aa6 Conform to the hp300 style of trap.c as suggested by Jason. 1996-09-10 09:05:40 +00:00
leo 2340b495ce - Add suline() for the new trap.c (Shouldn't this move to m68k/copy.s?)
- Fix some bugs in the interrupt handlers introduced by the new mapping
  of the st io-area.
1996-09-10 08:58:42 +00:00
leo 7a87b91e9b Add suline/susword prototypes for new trap.c 1996-09-10 08:45:16 +00:00
jonathan be23611556 Apply diff from the 1.2 release branch, so that ugly IOASIC debugging
is disabled by default:
>revision 1.9.4.2
>date: 1996/09/09 20:19:11;  author: thorpej;  state: Exp;  lines: +2 -18
>Disable IOASIC_DEBUG so that autoconfiguration looks normal, by request
>of Jonathan Stone
1996-09-09 21:32:20 +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 dbacbd3636 Use machine/asm.h. Garbage collect. 1996-09-09 18:42:51 +00:00
thorpej 0d89093b48 This file is obsolete; the ahb driver now lives in ahb.c 1996-09-09 18:32:42 +00:00
cgd 7ba205c37e Sync the 53c94 SCSI driver with the sparc version. Update the DMA code to
match the interfaces required by the driver.
1996-09-09 18:10:35 +00:00
mycroft 379839a0df Make the build process more sane. 1996-09-09 18:07:40 +00:00
mycroft 79e03b2967 Pass $STRIP to the sub-make. 1996-09-09 18:03:46 +00:00
cgd adeb6b4058 replace sequences of 8 spaces with tabs (only one instance). kill
unnecessary newlines after return statements but before function
close-braces.
1996-09-09 18:01:30 +00:00
mycroft 825aca4d5d Oops; include paths are relative to $S. 1996-09-09 17:18:47 +00:00
mycroft 9bb1acd303 Rework the token bucket filter to use a list of packets rather than a static
array.  Also, fix several memory leaks.  From Bill Fenner.
1996-09-09 17:14:04 +00:00
mycroft 23437fc3d2 Cosmetic changes, some from Bill Fenner. 1996-09-09 17:09:50 +00:00
mycroft 3fbde733bc Sync with version in ../boot. 1996-09-09 16:55:11 +00:00
cgd 6891e01ba2 add missing underscore to __alpha_, to map interrupt names properly.
It worked right before because of happy coincidence.
1996-09-09 16:39:44 +00:00
cgd 2b118fc59b add entries for rd (cdev + bdev), ss (cdev), and uk (cdev). 1996-09-09 16:38:52 +00:00
mycroft 842eae0878 Add a file for local additions to GENERIC. 1996-09-09 16:37:08 +00:00
mycroft a693d5fcb0 Sync with GENERIC. 1996-09-09 16:33:20 +00:00
cgd 65538ec48d add specs for 'rd' 1996-09-09 16:31:36 +00:00
mycroft 02b3e8d73e Add ss, uk. Minor touchups. 1996-09-09 16:30:47 +00:00
mycroft 97c4dc0c80 Remove old comment about rd, and add to chrtoblk[]. 1996-09-09 15:51:34 +00:00
mycroft 62a6cce9ca Add in_nullhost() and in_hosteq() macros, to hide some protocol
details.  Also, fix a bug in TCP wrt SYN+URG packets.
1996-09-09 14:51:07 +00:00
jtk 4b9b2da0f5 I meant to depend on apm.h, not Makefile 1996-09-09 11:34:01 +00:00
jtk ec11419661 fix compilation problems when APM not configured 1996-09-09 11:31:40 +00:00
jonathan de227b74e6 * Add missing printf("\n") at end of attach routine in cfb, sfb, pm drivers. 1996-09-08 19:28:03 +00:00
oki 9682743e21 delete unused prototype. 1996-09-08 18:46:12 +00:00
mycroft a32047fa0c Add cdev_decl(rd), for previous. 1996-09-08 15:59:56 +00:00
jtk 3b509ead1a whoops, forgot to include flags details in bioscall() comments 1996-09-08 15:51:39 +00:00
mycroft f5c7d8bcc1 Save 68 bytes of the packet for ICMP, not 64. From Laine Stump, PR 2296. 1996-09-08 15:49:43 +00:00
jtk 1a1feb3827 change APM to use new almost-generalized BIOS trampoline:
/*
 * void bioscall(int function, struct apmregs *regs):
 * 	call the BIOS interrupt "function" from real mode with
 *	registers as specified in "regs"
 *	(for the flags, though, only these flags are passed to the BIOS;
 *	the remainder come from the flags register at the time of the call:
 *	(PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
 *
 *	Fills in *regs with registers as returned by BIOS.
 */

Thanks to Charles Hannum for complaining and inspiring me to hack this
together.
1996-09-08 15:43:37 +00:00
jtk fda7345c98 re-implement BIOS trampoline as a more general-purpose, reusable trampoline.
calling interface (via a grapple in locore.s) is:
/*
 * void bioscall(int function, struct apmregs *regs):
 * 	call the BIOS interrupt "function" from real mode with
 *	registers as specified in "regs"
 *	(for the flags, though, only these flags are passed to the BIOS;
 *	the remainder come from the flags register at the time of the call:
 *	(PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
 *
 *	Fills in *regs with registers as returned by BIOS.
 */

still some generalization to do (moving this to a better named location,
cleaning up #if tests from NAPM > 0 to something else to allow easy
sharing by other drivers)

Thanks to Charles Hannum for complaining about the previous BIOS grapple
and inspiring me to hack this one together.
1996-09-08 15:36:51 +00:00
mycroft 90cf086c4f Restructure ns_control() like other protocols. 1996-09-08 14:49:41 +00:00
mycroft 5fda0ab8a3 Make sure the control mbufs are freed in all cases.
Return ENOPROTOOPT rather than picking pseudo-random error values.
Restructure *_ctloutput() functions to match other protocols.
1996-09-08 14:48:21 +00:00
mycroft 0804856d01 Make sure the control mbufs are freed in all cases.
Return ENOPROTOOPT rather than picking pseudo-random error values.
Restructure *_ctloutput() functions to match other protocols.
iso_ifreq and SIOC*_ISO are no longer needed; use the standard versions.
1996-09-08 14:28:08 +00:00
jonathan 50326ae738 * Call doshutdownhooks() before rebooting.
* Split the machine-dependent part of  rebooting out into a separate
  function, prom_halt(), making boot() a candidate for moving into
  mips/mips.
1996-09-08 11:49:49 +00:00
is 3efed5ad51 s/reutrn/return/, although in normally inactive code. 1996-09-08 11:21:11 +00:00
is 569aabbde8 "Never type in what you can equally well cut'n'paste." - (myself) 1996-09-08 07:15:56 +00:00
mycroft 1dce8ddb7f Add char device for `rd'. 1996-09-08 03:31:39 +00:00
thorpej ed0c45596a Add some forward declarations. 1996-09-08 02:09:50 +00:00
thorpej de5110f41e Use <m68k/exec.h>. 1996-09-08 01:00:35 +00:00
thorpej c5e5dec3b7 All of the m68k ports' exec.h's were essentially the same. Merge them.
Override the N_PAGSIZ() macro; this one checks the MID of the executable
and returns the appropriate page size.
1996-09-08 00:57:29 +00:00
mycroft 9110bcca3a Add uk device. 1996-09-08 00:46:57 +00:00
mycroft 9db220fa82 Use cdev_uk_init(). 1996-09-08 00:40:08 +00:00
mycroft 1ca30a00cc Add cdev_uk_init(). 1996-09-08 00:38:54 +00:00
mycroft 9e7223f23d Use cdev_scanner_init() rather than local cdev_ss_init(). 1996-09-08 00:11:51 +00:00
mycroft e6dd44f034 Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft 7cbc74f45c Use INFTIM, not -1. 1996-09-07 21:47:23 +00:00
mycroft f0ab97d9b1 Define INFTIM, a la Solaris. 1996-09-07 21:44:59 +00:00
mycroft f14cece0ae Turn off DEBUG by default now. 1996-09-07 20:26:09 +00:00
thorpej 26ecf6820b Use the stock ld(1) and the srec program to generate the serial line
bootstrap program.
1996-09-07 19:23:03 +00:00
thorpej a27c9a94f5 Add a public domain S-record generator. 1996-09-07 19:21:32 +00:00
mycroft d3cf361da8 Oops. [bc]dev_lkm_dummy() doesn't take any arguments. 1996-09-07 18:39:30 +00:00
mycroft a0ff652bcf Definitions for poll(2). Prototype it here. 1996-09-07 17:42:49 +00:00
mycroft 826fb76b6f Regen. 1996-09-07 14:24:17 +00:00
mycroft 1449e67e30 Modify poll(2) prototype. 1996-09-07 14:20:09 +00:00
mycroft 07d2eae876 Regen. 1996-09-07 14:18:04 +00:00
mycroft cdd2b02b50 Modify poll(2) prototype. 1996-09-07 14:16:42 +00:00
mycroft c9663d2cad Regen. 1996-09-07 13:24:34 +00:00
mycroft 17b9974c5a Implement poll(2). 1996-09-07 13:23:39 +00:00
mycroft cb488ac22a Definition of pollfd is no longer needed. 1996-09-07 13:02:43 +00:00
mycroft f51fa207ba Regen. 1996-09-07 13:01:41 +00:00
mycroft 4a60463da8 This is no longer needed. 1996-09-07 13:01:29 +00:00
mycroft 264dd4757c Regen. 1996-09-07 12:56:49 +00:00
mycroft 2bc736661a Implement poll(2). 1996-09-07 12:40:22 +00:00
mycroft 67417a473a Use bus.h. 1996-09-07 12:12:18 +00:00
thorpej e0775c12c8 Don't `config-dependent' machdep.c; we already depend on the Makefile,
which accomplishes the same thing.
1996-09-07 06:52:21 +00:00
mycroft 261a7626ca Oops. Copy out the right number of command bytes. 1996-09-07 04:59:06 +00:00
mrg e27343e07d fix a couple of minor nits after discussions with jason. 1996-09-07 04:55:16 +00:00
mhitch b7ef581afb The MAXINE serial console is on scc0 (the only SCC on the MAXINE) instead
of scc1.  Fix the check of which scc to initialize the console serial line
so that the MAXINE serial console will work.
1996-09-07 01:25:37 +00:00
mhitch 3686def7f7 Add parenthesis to correct a check for current SII state, so that a forced
disconnect will be done (it would never have been done with the old code).
1996-09-07 01:19:45 +00:00
thorpej f6a91a9c52 Regen. 1996-09-06 18:01:37 +00:00
thorpej ea052e2547 Add the ETI NE3300 Ethernet card to the list of known EISA devices.
From Andrew Gillham <gillhaa@ghost.whirlpool.com>.
1996-09-06 18:01:07 +00:00
jonathan ac5bac38be * This driver initialized mfb devices to black-on-black. If being used
as a console, initalize as white-on-black so console messages are legible.
  (Sean Davidson reports that rcons still messes up the display, perhaps
   due to using the wrong pixel depth).
1996-09-06 07:01:06 +00:00
mrg ae47956db0 add packet filter interface code. see pfil(9) for more details. you
need the PACKET_FILTER option to enable this code.  currently, ipfilter
version 3.1.1-beta has been converted to use this new interface.
1996-09-06 05:07:43 +00:00
mycroft 94bfaac456 Wrap the definitions of CONADDR and CONUNIT in #ifndef. 1996-09-06 05:06:01 +00:00
cgd e6e14683fe note that the AlphaStation 500 works (with the same caveats as the
AlphaStation 600).
1996-09-06 04:01:37 +00:00
perry 94a217e163 Commit PR 2671, which adds an "IPNOPRIVPORTS" config option that turns
off the code that normally only allows root to bind low TCP
ports. Useful on firewalls and such.
1996-09-05 18:10:03 +00:00
mycroft 82f0b829e8 compoll() -> comsoft() 1996-09-05 16:42:32 +00:00
mycroft fc3def4096 Remove duplicate declarations of LKM functions and macros. 1996-09-05 15:46:22 +00:00
mycroft 8427290044 wtpoll() -> wtsoft() 1996-09-05 15:37:18 +00:00
mycroft 110ee78a6f Remove cyselect(). 1996-09-05 15:35:09 +00:00
mycroft 59f71c45fc Clean up sys_select() slightly. 1996-09-05 15:32:52 +00:00
mycroft af113f915d Use SET(), CLR(), ISSET(). 1996-09-05 15:31:40 +00:00
thorpej fa0e4a3082 Make the SPARC kernel compile again after recent tty cdevsw changes. 1996-09-05 09:32:47 +00:00
thorpej 2c02b8ec56 Remove some unused variables. 1996-09-05 09:26:14 +00:00
thorpej d1384a9b2a Don't include the FDDI drivers in the install kernels. It's highly
unlikely that these will be needed in an install situation, and
we need the space.
1996-09-04 07:35:07 +00:00
thorpej f60341a382 Store the SCSI version in the scsi_link, and set the LUN in the CDB
if the version is <= SCSI-2.  This should help some older SCSI
devices that previously needed the "NOLUNS" quirk.  While this is
not strictly necessary on SCSI-2 devices, the spec allows it,
so we set it for SCSI-2 devices "just in case".  See section 7.2.2 of
Draft X3T9.2 Rev 10L for details.
1996-09-03 18:20:31 +00:00
mycroft e9e01a4d00 Regen. 1996-09-03 03:19:46 +00:00
mycroft 5de9f548a2 Give every emulation its own Makefile for the syscall table. 1996-09-03 03:18:04 +00:00
mycroft a8fd25767d Define execv() and execve() consistently across emulations.
Do path name translation.
1996-09-03 03:12:17 +00:00
mycroft 65605b0484 Fix bogus offset calculation in ibcs2_sys_read(), per PR 1804. 1996-09-03 02:44:14 +00:00