Commit Graph

27855 Commits

Author SHA1 Message Date
mycroft
9be96dda95 Fix an inconsistency: PPS was turned off on first open, but the mode may have
still claimed it was enabled.
1999-02-03 23:22:11 +00:00
mycroft
535f59cc81 Slight redux in PPS code. 1999-02-03 23:20:33 +00:00
dbj
3e0d6eb0b4 overhalt of scsi driver.
it still probes the disks ok, but is having trouble with 0xdeadbeef
in buffers read from the disk.  Suspected problems with DMA alignment
and toggling the secret ninja dma control register
1999-02-03 20:44:43 +00:00
mycroft
be1af660c0 Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mycroft
b3a56d0097 Catch up with a change to the stint interface. 1999-02-03 20:22:28 +00:00
mycroft
54f0a0ae81 Clone changes from the version in dev/ic. (These should be merged!)
Note: NOT tested on this port yet.
1999-02-03 20:19:08 +00:00
mycroft
b63b0fd80b Redo the N previous changes, plus a couple of other things:
* Move the printf() delay to just after the printf(), where it actually makes
  sense.
* Use zstty_stint() and zstty_softint() from zsparam(), to force an immediate
  update of the carrier and flow control status.  Abuse this in the attach and
  open functions to defer all of that work.  This insures that we don't lose
  any status updates.
* Don't screw with register 1 when closing the console.
* Fix bugs in TIOCM??? (stay semicolon, clearing DTR while transmitting).
* Add comments in a couple of places.
1999-02-03 20:15:51 +00:00
mrg
4553ce553c use <dev/sbus/sbusvar.h> not <sparc/dev/sbusvar.h> 1999-02-03 06:03:37 +00:00
msaitoh
1f5b9b4d63 sprintf->snprintf 1999-02-03 05:05:03 +00:00
msaitoh
de35d7228d fix compiler warning 1999-02-03 01:16:20 +00:00
pk
4bd6ed2a8b Make this pass the `strict prototype' test. 1999-02-02 22:23:44 +00:00
thorpej
e6c245c5df Implement pmap_prefer() for systems w/ an HP MMU (which has a virtually-tagged
cache).  This helps to avoid cache alias problems, and can improve performance
in the case where physical pages have multiple mappings (since the pages will
not have to be marked cache-inhibited).
1999-02-02 21:06:55 +00:00
thorpej
f108f0164e Nuke the "pmapvacflush" debugging code. 1999-02-02 20:52:21 +00:00
cjs
8befad84b1 Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
cjs
269cb58003 Remove the sccs[] hack (which has broken twice now) and just make sccs[]
and version[] separate strings. (Other alternative hacks proposed may also
break in the future.) We don't make version a pointer into the sccs string,
because that would require changing programs that kvm_read() it, and break
backward compatability.
1999-02-02 19:40:47 +00:00
ragge
13daba04a1 Another giant change: Allocate register space dynamic instead of compiled-in.
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.
1999-02-02 18:37:20 +00:00
bouyer
5888b4354e channel_map is called before setup_chip, so whe need to enable the channel
status bits in acer_channel_map().
1999-02-02 17:06:05 +00:00
tsubai
68c9ce2c96 Don't use BAT register. (not needed now.) 1999-02-02 16:48:17 +00:00
tsubai
a4de4218fd Use private (its own) segment registers in Open Firmware call,
instead of BAT register.
1999-02-02 16:47:08 +00:00
tsubai
ef69721044 findroot() now recognizes network devices. 1999-02-02 16:37:51 +00:00
tsubai
378f49eff8 Ensure lowest 256MB is mapped by BAT0. 1999-02-02 16:29:25 +00:00
bouyer
1123e3e286 Mention pciide(4). 1999-02-02 16:18:17 +00:00
bouyer
ca240ca7b5 Support for Acerlab M5229 IDE controller. Thanks to Thilo Manske for testing
the code, and to Takahiro Kambe who run several tests and finally found the
bug by himself :)
1999-02-02 16:13:59 +00:00
dbj
f41cded075 make dma flushing more efficient and avoid stray interrupts when not using polled io.
remove check for normal chaining interrupts and add check for combined chaining interrupts
only when used with a tail chain.  This allows scsi to work for short unaligned buffers
and large aligned buffers.
1999-02-02 14:04:53 +00:00
bouyer
0075c51a23 Bump CDRETRIES to 4. Now if a DMA error occurs, the driver should downgrade
to PIO mode and the command be retried properly.
1999-02-02 13:02:49 +00:00
bouyer
c0e7b6c5cb If sense_key == UNIT_ATTENTION and ASC/ASQ == "Power On, Reset, or Bus Device
Reset", retry the command instead of returning an error. XS_RESET is useless
without this, as the retryed command will die with this unit attention.
1999-02-02 13:01:36 +00:00
christos
0c8f3a4f31 Don't use obsolete sgtty crap. 1999-02-02 13:00:19 +00:00
bouyer
2bf6a99afb For IDE/ATAPI protocols botches, reset the bus and return XS_RESET
instead of XS_DRIVER_STUFFUP.
1999-02-02 12:59:31 +00:00
dbj
d97559225c Removed some already commented out test code.
added debugging printout when invoking polled dma interrupt.
1999-02-02 12:46:13 +00:00
itohy
2667a4b26f Fix typo. 1999-02-02 10:00:18 +00:00
itohy
fbfe12046d Trivial asm-level optimizations. 1999-02-02 09:16:52 +00:00
thorpej
a350d7b28b Set the tunnel destination address correctly. Should fix PR #6899. 1999-02-02 07:20:13 +00:00
marc
5f688e6632 remove gre_softc declaration; the symbol is no longer used in this
file.
1999-02-02 07:10:45 +00:00
fair
14ec3b84b7 Bracket calls to Debugger() with #ifdef DDB (won't compile otherwise;
the prototype isn't there without DDB).
1999-02-02 04:57:11 +00:00
mark
5ef478be57 Fix some egcs compiler warnings (from Patrick Welche).
Closes PR6925.
1999-02-02 04:02:26 +00:00
thorpej
05cbb33e4c Use pcidevs.h to get vendor and product IDs. 1999-02-02 00:32:21 +00:00
thorpej
b6a84f08e8 Take software-only structure definitions out of the register description
header.
1999-02-02 00:29:17 +00:00
thorpej
bb5edf7345 Remove support for FreeBSD from the driver; so many changes are going
to be required to make it properly portable to all of NetBSD's platforms,
that it just wouldn't be worth the effort.
1999-02-02 00:05:02 +00:00
thorpej
2bdfbafc37 Minimal changes to make this compile on the Alpha. Much more work is
needed to make this a truly portable driver.
1999-02-01 23:40:22 +00:00
tron
899ac42bec Fix bug exposed by new "mkdep" program:
"${SFILES}" is empty so that "cc" will fail with "No input files"
during "mkdep".
1999-02-01 23:18:56 +00:00
mrg
1ccaf05ff1 add CPU_SUN4U, to make libkvm compile. 1999-02-01 22:20:02 +00:00
marc
9231ba8603 - make sure that sc->handle[i].flags is initialized in all cases
- check PCIC_FLAG_SOCKETP before disabling the CSC_INTR.
1999-02-01 22:17:05 +00:00
matthias
437e1d2f00 sync with libc version 1999-02-01 21:35:36 +00:00
he
38e33af591 Enable DDB, but with DDB_ONPANIC=0. 1999-02-01 16:16:52 +00:00
mycroft
5e373d307f Clear mfchashtbl after it's deallocated, to kill a stray pointer. Fixes PR
5400.
1999-02-01 15:09:46 +00:00
dbj
f6955fc60b Fix return value in interrupt routine so that dma gets flushed correctly.
Turn on the esp_match since polling the scsi bus now works.
1999-02-01 12:53:48 +00:00
jonathan
9ec88780aa size_t and void*-arithmetic changes from sys/libsa/ufs.c. 1999-02-01 03:08:05 +00:00
jonathan
45f13be5cb use memcpy, not bcopy, for non-overlapping copies. 1999-02-01 02:46:59 +00:00
simonb
22cbe4abc1 Add a comment that the bcopy #define that uses the PROM's memset don't
handle overlapping copies.  From Jonathan Stone.
1999-02-01 02:18:46 +00:00
cjs
a3793dc8e8 Add a missing tab for cosmetic purposes. 1999-02-01 01:36:21 +00:00