Commit Graph

18240 Commits

Author SHA1 Message Date
leo b61a48cef7 Include 'locators.h' 1997-07-30 15:32:37 +00:00
pk c589871dc6 Arrange to turn off future sync-mode negotiation after experiencing a
timeout while in a data phase.

Replace XS_STUFFUP with XS_TIMEOUT, so we get a second chance after
recovering.
1997-07-30 12:01:53 +00:00
pk 09109c38a1 Maintain a copy of the configuration flags in our `softc'. 1997-07-30 11:48:32 +00:00
veego ccd583103e Fix the doublescan mode which was broken in the last commit. 1997-07-30 11:05:55 +00:00
christos 7eaff8a411 Remove bogus `locking by process 0' diagnostic; from Charles. 1997-07-30 03:47:12 +00:00
pk 2c3cf06107 If state is NCR_CLEANING, do not schedule commands until reset is complete. 1997-07-29 22:26:01 +00:00
pk 7250d56f4a Some more cleanup and synchronization with ISA version.
Also make a start at using bus_* macros (just bus_barrier() for now).
1997-07-29 20:24:46 +00:00
phil 5bc246cdb1 Add cd9660 fs and msdos fs. 1997-07-29 18:36:19 +00:00
fair fc96112975 fix editing boo-boo 1997-07-29 17:55:38 +00:00
veego 777749b558 - Remove grfvideo_mode->hblank_stop and grfvideo_mode->vblank_stop.
- Add grfvideo_mode->disp_flags to select interlace, doublescan,
  sync-on-green and horizontal/vertical sync polarity.
- Add some constants for grfvideo_mode->disp_flags.
1997-07-29 17:54:11 +00:00
veego 1d8c390628 - Change the check in r[ht]_getvmode for md->DEP == 4 to md->DEP != 4.
This fixes a wrong output from grfconfig /dev/grf[23]
- changes for the grfconfig interface:
  - Remove gv->hblank_stop and gv->vblank_stop.
  - Only print doublescan and interlace flags. Horizontal/vertical sync
    polarities are not yet supported and sync-on-green will never be
    supported.
1997-07-29 17:52:05 +00:00
veego eb3d5738b5 - changes for the grfconfig interface (provided by Ignatios Souvatzis):
- Remove gv->{hblank_stop,vblank_stop} and use the other grfvideo_mode
    values to set ba->data.
  - Add gv->disp_flags to select interlace.
  - Not yet supported are: doublescan, sync-on-green and the horizontal/vertical
    sync polarity.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:50:01 +00:00
veego f46269ea78 - increase the number of possible grfmodes from 8 to 24
- changes for the grfconfig interface:
  - Remove gv->{hblank_stop,vblank_stop} and calculate HBE and VBE from
    gv->{htotal,vtotal}.
  - Add support for gv->disp_flags to select interlace, doublescan and
    horizontal/vertical sync polarity.
  - Return EINVAL for gv->disp_flags and sync-on-green.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:46:24 +00:00
veego ce2e3d407b - s/inline/__inline/
- Use interrrupt #6 instead of #2. #6 is the default interrupt and there
  seems to be a problem with Cyberstorm 060 and #2.
- Set the interrupt register before enabling the interrupt.
- GC M2INS
- minor cleanup
- Switch from +hsync/+vsync to -hsync/-vsync.
- changes for the grfconfig interface:
  - Remove gv->{hblank_stop,vblank_stop} and calculate HBE and VBE from
    gv->{htotal,vtotal}.
  - Add support for gv->disp_flags to select interlace, doublescan and
    horizontal/vertical sync polarity.
  - Return EINVAL for gv->disp_flags and sync-on-green.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:44:20 +00:00
veego 8b5fbedb3c s/inline/__inline/ 1997-07-29 17:42:03 +00:00
christos 832c3f464d If we have xms print the xms memory size, and indicate that this is xms
memory in the banner. It is confusing to show 0 memory...
1997-07-29 16:01:45 +00:00
fair d074ca9f6e %x -> 0x%x 1997-07-29 10:09:51 +00:00
fair b4750d5084 missed %lx -> 0x%lx 1997-07-29 10:04:44 +00:00
fair 4c351f243e %x -> 0x%x 1997-07-29 09:58:04 +00:00
fair 53adf300b3 %x -> 0x%x 1997-07-29 09:41:53 +00:00
is 240cc2913e Include file in place of the old netinet/if_ether.h, including stuff from
where it is now, and adding the specialized for Ethernet version of the ARP
structure, for the benefit of programs which are externally (to us) maintained
and not (yet) ported.
XXX This should NOT be used inside the kernel.
1997-07-29 09:10:51 +00:00
fair 7a06252f07 %x -> 0x%x, fixes for PR#3757 1997-07-29 06:43:51 +00:00
fair bb5815cc39 fix compiler warnings; %x -> 0x%x; add arg to panic in change_pte appropriate to format string; see PR#3757 1997-07-29 06:41:35 +00:00
mark 74bac48941 In wdcprobe() fail if the iobase defaulted rather than being specified in
the locators.
In wdcprobe_internal() set the WDCF_32BIT flag if the data32 io handle
is set.
All transfers to and from the data register now check for softc flags
to see if 32 bit transfers are enabled i.e. reading drive parameters
and doing a dump will use 32 bit transfers as well.
1997-07-29 01:59:20 +00:00
mhitch b4af013102 Resident count in pmap is now valid. I can now see RSS in ps. 1997-07-29 01:43:26 +00:00
mhitch fd5f2fd062 Get rid of the MIPS3 mess I left in pmap_enter_pv(). The cache inhibit
of cache-index incompatible virtual mappings for a physical page may be
required for hardware without secondary (level 2) cache to detect and
correct virtual coherency problems.  I'm not sure this is really needed
anymore, since pmap_prefer() took care of of the cache-index
incompatible mappings that I have seen.  Count the times a page is
cache inhibited in enter_stats if DEBUG.

Wait for memory instead of panic() on failure to allocate a page for the
segtab or segmap [from OpenBSD arc port].  Also check for malloc()
failure on allocation of a new pv entry and panic().

Increment resident_count when adding a new page to a pmap [also from
OpenBSD].  Process resident size is now valid.
1997-07-29 01:41:46 +00:00
mark 27646ce7d4 Keep note on when we are in postmortem() in order to avoid being
recursively called.
1997-07-29 01:37:30 +00:00
mark 02c17d67e3 Remove some redundant .global directives as ENTRY() macro includes
this anyway.
1997-07-29 01:20:34 +00:00
mark 0e187069c2 The cpu_cahce_*_rng() functions take a start address and a length rather
than a start address and end address so reflect this in the macros and
prototypes.
1997-07-29 01:18:29 +00:00
mhitch dfca3a7721 Add disk and tape devices for a second ASC SCSI option card. 1997-07-29 00:54:22 +00:00
perry 6473705cc6 disable the wt device for now -- it nukes ed devices too easily 1997-07-29 00:42:38 +00:00
christos 9c227f4705 Add msdosfs_mountroot; we still have a problem with locking by proc 0,
but it does not seem to affect things.
1997-07-28 23:41:04 +00:00
christos 83773e0db2 Add prototypes for the SYSCALL_DEBUG functions 1997-07-28 23:25:06 +00:00
perry 6d47f9593e comment out mcd for now -- it causes people too much trouble during installs 1997-07-28 22:58:21 +00:00
jonathan f8687036c9 Reorder device declarations of bha and aha so th BusLogic driver probes
before before the Adaptec 1542/1642 driver. As commented,

  Probing AHA first configures bhas as aha, via their AHA
  hardware-compatibility mode.
1997-07-28 22:48:59 +00:00
pk 8c535d8cfe No need to send two copies to the bpf tap when sending. 1997-07-28 22:35:49 +00:00
thorpej 4cef61d36b Generate dependencies for the TCP_SENDSPACE and TCP_RECVSPACE options. 1997-07-28 22:31:08 +00:00
pk a07a88cdcb Bring over assorted changes applied to the ISA ie driver over time.
Fix some inaccuracies in the ring-scan code.
1997-07-28 22:26:12 +00:00
thorpej db103f4414 Make the following tunable via sysctl, inspired by BSD/OS:
- udp_sendspace
- udp_recvspace
1997-07-28 22:19:53 +00:00
thorpej 758a104426 Make the following tunable via sysctl, inspired by BSD/OS:
- tcp_sendspace
- tcp_recvspace
- tcp_mssdflt
- tcp_syn_cache_limit
- tcp_syn_bucket_limit
- tcp_syn_cache_timer
1997-07-28 22:18:48 +00:00
thorpej 402ae96361 Garbage-collect some "extern"s. 1997-07-28 22:07:38 +00:00
ragge 23e157b82b Handle XFC instruction faults. 1997-07-28 21:48:33 +00:00
mhitch cd0f6f6375 Add the PMAZ SCSI option. 1997-07-28 21:37:38 +00:00
augustss a63034762b Audio: Remove the machine dependant code I put in audio.c by mistake.
This adds another method to audio_hw_if.  Also remove a field from
audio_hw_if that was not read-only.
1997-07-28 20:56:05 +00:00
jonathan 98d9a419f8 Add comments to pmap_copy_page() and pmap_zero_page() describing the
cache flush operations required on a virtually-indexed, physically-tagged
mips3 with no L2 cache to provide cache-coherence exceptions.

(Similar to what's needed with a virtually-indexed, virtually-tagged cache.)
1997-07-28 20:41:58 +00:00
mhitch b3724cd5cd Add disk and tape devices for a second ASC controller. 1997-07-28 19:56:36 +00:00
mhitch 32060ee91a If the IOASIC ASC SCSI driver is not doing buffered DMA, don't allocate
the buffer memory (recovers 112K of memory!).
1997-07-28 19:40:44 +00:00
mhitch 0ae3de1a27 Use direct DMA with the IOASIC ASC SCSI interface. DMA buffering can be
re-enabled with ASC_IOASIC_BOUNCE.
All DMA buffered processing is now done in the bus-specific DMA routines
in asc_ioasic.c and asc_tc.c.
Disable several informational messages dealing with non-empty FIFO conditions,
but allow enabling with ASC_DIAGNOSTIC for troubleshooting.
1997-07-28 19:39:22 +00:00
is d8e09ca5ea Align some comments, so that I'll be able to track changes better. 1997-07-28 19:01:13 +00:00
mjacob 002c218565 Kudos and thanks to Mark Brinicombe (mark@causality.com): bug in waiting for
RISC_INT to be set after stuffing a mailbox.
1997-07-28 18:56:36 +00:00