Commit Graph

9627 Commits

Author SHA1 Message Date
jonathan e229c8d175 Resolve pmax and alpha IOCTL asic driver differences, pass 1:
Rename the ioctl asic register and slot macros from ASIC_<xxx> to
IOASIC_<xxx>, to be compatible with the machine-indpendent names in
sys/dev/tc/ioasicvar.h.  The pmax code still uses
sys/arch/pmax/pmax/asic.h, as some of the registers and offsets
defined there are not yet defined in sys/dev/tc/ioasicvar.h.

Rename the ioctl asic base-address pointer from `asic_base' to `ioasic_base'.
1996-01-31 08:46:42 +00:00
mycroft 0a47ede0fe Ignore FIN if not yet connected. 1996-01-31 05:56:56 +00:00
mycroft ac01b2f206 Add a comment describing the previous. 1996-01-31 05:42:37 +00:00
mycroft a4e1bceb84 If we close from FIN_WAIT_2 state, make sure we don't leave the socket
around forever if we don't get a final FIN.  From Arne Juul, PR 1659.
1996-01-31 05:37:29 +00:00
mycroft 59d1cce3ae Don't specify a uid or gid in create operations; let the server fill it in. 1996-01-31 05:13:33 +00:00
mycroft 85f2006f7a Correct some uses of -1 and VNOVAL. 1996-01-31 04:24:35 +00:00
mycroft 67e78477db Build a hash table of PCBs. Hash function needs tweaking. 1996-01-31 03:49:23 +00:00
mycroft b050cf3d61 Allocate the GDT area in a different way. 1996-01-31 03:13:07 +00:00
mycroft fbb022ab48 Trivial change for consistency. 1996-01-31 03:11:16 +00:00
jonathan 219b1ef218 Re-write Decstation turbochannel autoconfiguration code to use the machine-
independent TC support in sys/dev/tc/tc.c and sys/dev/tc/tcvar.h:
  * Change the tc autoconfiguration tables to use a struct tc_attach_args
    instead of the ad-hoc structure.
  * Change all pmax device drivers to use a `struct confargs' that's
    assignment-compatible with  sys/dev/tc/tcvar.h `struct tcdev_attach_args'.
    Devices that can be present on a TC or as ioctl asic/mainbus builtins
    use  the same `struct confargs'.
  * Eliminate the `BUS_CVTADDR()' macros which the pmax port inherited from
    an old, now-obsolete sys/arch/alpha snapshot.

  * Update the comments and debugging code in interrupt handlers to
    be consistent with the machine-independent TC support.

Other commits that overlap the same source files include: re-enabling
clock-tick interrupts earlier, and counting hardclock ticks for vmstat -i.
1996-01-31 02:53:39 +00:00
thorpej 134b410457 Use the common sigreturn routine. 1996-01-31 02:26:05 +00:00
thorpej a11ff465eb Factor out the common (to all m68k ports) sigreturn routine. 1996-01-31 02:22:15 +00:00
cgd 40628fb3e8 update for new version of 'pcidevs' 1996-01-31 00:45:25 +00:00
cgd 8a3babe178 update/clean entries for Adaptec PCI scsi chips/boards. 1996-01-31 00:43:02 +00:00
scottr 25879b675b Resolve return type conflict for microtime(); closes PR #1835. 1996-01-30 23:15:01 +00:00
gwr f2e57c6dc8 Eliminate remaining direct references to the z8530 chip
to allow the MD access functions to do delays, etc.
1996-01-30 22:34:52 +00:00
mycroft 99686e0059 Add a vnode** argument to getvnode(), prototype it, and make it return
EBADF if the file descriptor has been revoked.
1996-01-30 20:05:33 +00:00
thorpej 90a0b784de Build memcpy.c 1996-01-30 19:47:32 +00:00
thorpej 43349cd7ef Add a memcpy() function, just a cheezy wrapper around bcopy(). Yes,
it's really true...we didn't have one before, even though the Makefile
thought we did.  (Yes, I checked the Attic...)
1996-01-30 19:45:34 +00:00
thorpej abe8231c4f Catch up with changes to libsa. 1996-01-30 19:09:09 +00:00
thorpej b97cbfb606 Implement DIOCLOCK. It's a no-op in this driver. 1996-01-30 18:31:05 +00:00
thorpej 919f6728ab Accept DIOCEJECT as a synonym for CDIOCEJECT. Implement DIOCLOCK
separately from CDIOCALLOW and CDIOCPREVENT, even though they perform
basically the same function (with a different interface XXX).
1996-01-30 18:28:02 +00:00
thorpej c7a20f0ee3 Implement DIOCLOCK and DIOCEJECT. DIOCEJECT is limited to removable
media.  Fixes PR #1975.
1996-01-30 18:24:47 +00:00
thorpej 489044a625 Move disk-specific ioctls out of <sys/disklabel.h> and into <sys/dkio.h>.
<sys/dkio.h> is in turn included by <sys/ioctl.h>, much like how
<sys/filio.h> and <sys/sockio.h> are handled.  This minimizes changes to
existing sources which use the disk ioctls.

Define DIOCLOCK which is used to lock and unlock the pack.
1996-01-30 18:21:46 +00:00
mycroft 436d930db5 Use insmntque() rather than manually frobbing the mount list. 1996-01-30 18:21:08 +00:00
mycroft 5f8d113e8a Don't include free blocks from the lower layer in statistics. 1996-01-30 16:45:10 +00:00
jonathan 4c0067c40b Remove config.old files for pmax. They should have been removed before
the NetBSD-1.1 release, as they have not worked or been supported for
some time.
1996-01-30 05:18:55 +00:00
jonathan 05ef657fb8 Some newer scsi-2 or scsi-3 drives reportedly return more data in
response to an inquiry command than was allocated here.  Add 1024
bytes extra padding, just to be safe.
1996-01-30 04:47:16 +00:00
gwr 0d44b7f3fe Include m68k/fpe/files.fpe for FPU emulation support (fixes PR 1773) 1996-01-30 00:35:28 +00:00
gwr 57664ea85c Oops, did not mean to check that one in... 1996-01-29 23:59:04 +00:00
gwr 38c7f668a2 Clean-up open/close logic of "net" device. Fixes PR 1726 1996-01-29 23:54:14 +00:00
gwr 4541c9f5c6 Work-around sensitivity to DVMA address in PROM revision 2.6 so the
netboot program will work on Sun3/50 machines.  Also fixes PR 1928.
1996-01-29 23:41:03 +00:00
jonathan 5ea2ec2357 Re-write Decstation turbochannel autoconfiguration code to use the machine-
independent TC support in sys/dev/tc/tc.c and sys/dev/tc/tcvar.h:
  * Change the tc autoconfiguration tables to use a struct tc_attach_args
    instead of the ad-hoc structure.
  * Change all pmax device drivers to use a `struct confargs' that's
    assignment-compatible with  sys/dev/tc/tcvar.h `struct tcdev_attach_args'.
    Devices that can be present on a TC or as ioctl asic/mainbus builtins
    use  the same `struct confargs'.
  * Eliminate the `BUS_CVTADDR()' macros which the pmax port inherited from
    an old, now-obsolete sys/arch/alpha snapshot.

  * Update the comments and debugging code in interrupt handlers to
    be consistent with the machine-independent TC support.

Other commits that overlap the same source files include: re-enabling
clock-tick interrupts earlier, and counting hardclock ticks for vmstat -i.
1996-01-29 22:52:15 +00:00
briggs cde62d494a Fix for delay(usec) for small usec. From Scott Reynolds <scottr@edsi.org>. 1996-01-29 04:10:00 +00:00
chopps 702c1321e2 add swedish keyboard support by Stefan Pedersen 1996-01-28 20:19:51 +00:00
chopps 79964e580d debug flag to as is uneeded and unsupported #1948 1996-01-28 20:09:08 +00:00
chopps d00a79e34d fix bounds check #1939 1996-01-28 20:06:15 +00:00
chopps 2684692a5a add check for "A4000 bonus" (small b) 1996-01-28 20:01:10 +00:00
chopps ab86728e62 aftsc uses afsc.c #1976 1996-01-28 19:57:47 +00:00
chopps 9819a7c27e make sure master enable is set #1920 1996-01-28 19:48:39 +00:00
chopps b59cfad66c use dma_cachectl instead of cachectl 1996-01-28 19:43:34 +00:00
chopps a802a2ef07 add UNION/UMAPFS accepts CR 1890 1996-01-28 19:37:42 +00:00
chopps f14299b866 fix loading of 0 to intended value of 256. closes 1871 1996-01-28 19:29:15 +00:00
chopps 225c9b3965 fix typo closes 1978 1996-01-28 19:23:24 +00:00
chopps 6bed5b0c0c applied patch from 1811 which unifies mode support across gfx boards. 1996-01-28 19:19:05 +00:00
chopps e717f326d5 remove MAXPARTITIONS, closes #1923 1996-01-28 19:12:46 +00:00
ragge 348b7f3d87 Remove PSL_ALLCC definition. Was commented out anyway. 1996-01-28 12:32:21 +00:00
ragge 1bc66055fb Add uvtopte() macro, to get user pte address easy. 1996-01-28 12:31:24 +00:00
ragge 7a489b8529 Change struct trapframe to also contain stackpointer. 1996-01-28 12:30:13 +00:00
ragge 84c675c572 Change void* to struct pcb* for page table pointers. 1996-01-28 12:27:19 +00:00