Commit Graph

502 Commits

Author SHA1 Message Date
is
9ad0171cce Use the right parameter to decide whether it's early configuration. (I wonder
why this worked with some configurations... it shouldn't have).

While we're here, correct the 2.4% error in the delay divisor message.
1997-01-02 20:59:42 +00:00
is
5859191f82 First part of making hardware cursor actually work.
For some reason it wouldn't get positioned right when mapped in through the
blitter memory mapped location, so switched to the register mapping, which
works.
XXX colormap handling for the cursor is still broken.
1996-12-31 17:54:28 +00:00
is
cb235d56eb Add names for some more Phase5 boards. 1996-12-31 17:44:04 +00:00
veego
94b6312429 Get rid of __BROKEN_INDIRECT_CONFIG. 1996-12-23 09:09:49 +00:00
veego
c815213b05 Disable CD debug output. 1996-12-20 19:21:11 +00:00
is
b71e65949f Make clock an early configuration device, configured before early console
configuration. This way, the delay loop is calibrated before graphics and
serial hardware is touched.

This change should smooth pr 2890 by Thorsten Frueauf (also privately
reported by Laurent Badoukh). While the real problem with those is the
paranoically high delay() calls in the grf_cl initialization, it was made
even more visible by the miscalibrated (to the save side) new style delay
loop.
1996-12-17 11:43:10 +00:00
is
af2691cdb5 The original docs for the Phase 5 Development SCSI boards had a edito,
making me think that the Blizzard-IV and the Blizzard-2060 scsi
options have nearly identical DMA engines (just with a different
address offset). Alas, this isn't true.

Herewith I replace the "bznsc" (all-new-Blizzard-models) driver with the
"bztzsc" (Blizzard Two Zero).
1996-12-16 16:17:27 +00:00
thorpej
d502e68402 Fill in sc_link.max_target 1996-12-10 21:27:16 +00:00
is
d524505ef7 It turned out that my orginal docs were wrong wrt. Blizzard IV
scsi... it is NOT nearly identical to the Blizzard 2060 scsi option.
Make the name reflect this. Driver cleanup will follow.
1996-12-09 18:17:40 +00:00
is
f95e0398cc New version by Jukka Marin <jmarin@pyy.jmp.fi>, with rewritten (to fix
problems) carrier detect code. Slightly cleaned up by Bernd Ernesti
<veego@netbsd.org>
1996-12-09 17:24:55 +00:00
is
86b68e0c38 The DraCo MF-II to Amiga translation table is const-ant. 1996-11-30 01:30:37 +00:00
is
ca9770feb9 Make sure autoconfiguration is searching for _us_. There is more than
one DraCo specific device on the DraCo mainbus.
1996-11-30 01:27:04 +00:00
is
19acf65808 com.c variant for the 16550 core on the DraCo superio chip.
drisavar.h pretends to provide a few bus.h macros, hardwired to
that chip.

This should eventually be replaced by attachment code for the normal
com.c driver, once that one is split up into chip core driver and
attachment code, and once we have busxxx macros in NetBSD/Amiga.
1996-11-30 00:43:02 +00:00
is
6f98abee6a Change the token loss report algorithm:
Earlier, we re-complained about excessive token losses about once a minute.
However, on small ARCnet networks, the token will also be lost if only one
station (us) is active (ifconfig'd down interfaces don't take place in the
token exchange), and our syslog would be filled with repeated messages about
this condition.

Our new code only complains once, starts a timeout() each time a token
regeneration is reported by the chip, and generates a log message about
the regenerated token if it was stable for 15 seconds.
1996-11-18 09:08:29 +00:00
is
b39e54485e Fix a bug in the "spurious rx interupt" detection: don't copy the spurious
buffer out of the hardware (it is invalid!).
This fixes hangups due to spurious rx interupts.
XXX Maybe I should completely reset the hardware in this case?
1996-11-18 08:49:30 +00:00
is
fc0d547f62 oops; converted twice from hex to decimal earlier 1996-11-11 15:33:57 +00:00
veego
cf6307b2e7 Fix GRFTOGGLE.
The old version only toggles to the amiga signal and do not go back to
the CyberVision signal.
1996-10-22 16:59:56 +00:00
veego
0d00de6c6e Fix console problem on fast machines. pr#2777 1996-10-21 09:31:53 +00:00
is
e10e9e8455 Clean up the attach messages a bit. 1996-10-19 16:54:14 +00:00
is
7e1b190155 Change Blizzard IV/1260/2060 to the name used by the driver.
While we're here, clean up a few other entries.
1996-10-17 15:49:39 +00:00
is
8f5996c976 Add driver bznsc (for BliZzard, New version: -IV, -1260, -2060).
Still untested on -1260/-1230, and hangs when enforcing SFAS_NO_DMA on 2060;
but works with DMA on the latter.

Still untested in a NetBSD-12A environment. (Sorry, don't have the hardware
myself.)

Thanks to Laurent Baroukh for being the guinea pig, and to Jerome Lovy
for forwarding the hardware information Phase V gave him, and to Phase
V for providing it.
1996-10-17 15:42:36 +00:00
is
8c0a8c37fe KNF patrol. 1996-10-14 18:40:15 +00:00
christos
ca36ac9ef4 backout previous kprintf change 1996-10-13 03:05:43 +00:00
mhitch
3831c5a790 KDASSERT is now in lib/libkern/libkern.h, so we don't need
amiga/amiga/kdassert.h.
1996-10-12 17:27:28 +00:00
mhitch
574994daaf Fix compile errors when not configured for the Draco. 1996-10-11 21:32:56 +00:00
mhitch
c21fad0c51 Changes for poll(2). 1996-10-11 21:12:43 +00:00
christos
946833855f printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:51:21 +00:00
thorpej
d498950fe3 Merge netbsd-1-2 branch back into mainline. 1996-10-08 22:56:04 +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
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
is
569aabbde8 "Never type in what you can equally well cut'n'paste." - (myself) 1996-09-08 07:15:56 +00:00
is
905db38340 Add IP multicast support as per RFC 1122 section 3.3.7 to ARCnet.
"The mapping of IP Class D addresses to local addresses is
         currently specified for the following types of networks:
	 [...]
         o    Any network that supports broadcast but not multicast,
              addressing: all IP Class D addresses map to the local
              broadcast address."
1996-09-02 17:28: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
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
veego
66bb4a489f Disable the Hardwarecursor on the RetinaZ3 to solve the problems with
wrong mouse jumps under X11.
Remove the not working options KGDB from DRACO and GENERIC and added
an option to enable the HWC for the RetinaZ3
1996-08-11 09:48:17 +00:00
is
0f2514d2a0 Add manu/prod id for the DMI resolver board here. (No, no driver yet) 1996-08-09 18:18:05 +00:00
is
480910aa2e Program around the Fastlane's DMA hardware shortcomings.
Fix by Matthias Scheler (PR #2672), based on information provided by Ralph
Schmidt/Reinhard Grams (Phase 5), forwarded by Jerome Lovy. Thanks to all.
1996-08-04 11:25:36 +00:00
is
8918d3a437 Note Blizzard IV and Blizzard 2060 (scsi?) options. While we're here,
correct a typo in a comment.
1996-07-22 11:14:52 +00:00
is
a9c73c9405 Being bored, decided to scan the existing drivers for further additions
to the "not configured" list:
Added some devices, replaced an obvious placeholder.
1996-07-17 14:35:01 +00:00
is
397d9b2133 Add two manufacturer/product id combinations which I stumbled over analyzing
an unrelated bug report. This will make kernel startups a bit more readable
in the presence of unsupported hardware.
Information contributed by Andreas Bussjaeger.
1996-07-17 13:33:28 +00:00
is
7c66bb9bef Cleaned up copyright notice, fixed a typo, and sync the comment in the
GSP assembler file with reality.
1996-07-08 13:28:41 +00:00
is
6e4842626b There are Blizzard boards without SCSI options - we need to probe for the
existence of the SCSI hardware in the boards adress region.
Thanks to Oster Nerhus for the detailed bug report and to Ralph Schmidt for
the recommended probing method.
1996-07-01 08:00:02 +00:00
is
0569d3582c Use the right microsecond delay address. To achieve this, also map that
piece of hardware into kernel virtual memory (was only a guess 'til now).
XXX Unfortunately, the hardware vendor reserves the right to change this in
future DraCo revisions. We must rethink delay() and DELAY(), at least for the
DraCo, soon.
1996-06-20 09:31:58 +00:00
is
40cd9f0062 During the data type cleanup, a bug crept in in the code handling mbufs with
odd length. This would lead to corrupt data sent.
1996-06-18 20:50:00 +00:00
is
59bbde87bc Don't use the inline assembler 64bit integer division if our kernel might
run on 68060. Some graphics boards need delay() in early initialization (that
is, before initcpu() was called.
1996-06-18 11:41:48 +00:00
is
5af73f7ab0 Activate M68040 cache flushing code also in 68060 only kernels. 1996-06-10 16:11:20 +00:00
veego
15088ebf44 Make this really work on the Domino. Patch from Klaus Burkert 1996-06-09 13:21:10 +00:00
mhitch
c16e87c7b7 Add tty_attach() calls for pstat -t. Closes PR #2519 1996-06-06 04:47:31 +00:00
is
7aaddee417 #define GRFIOCBLANK_LIVE and GRFIOCBLANK_DARK in grfioctl.h to make absolutely
clear which switches the video signal on and which off.
Make all grf_??.c (which supported it) use the same polarity of the test.
While being here, use a > test instead of implicit != to make it extensible
to darker than dark values for power managment systems.
1996-06-03 18:55:08 +00:00
is
1530e15480 Don't get fooled by the CyberSCSI MK I, which uses the same man/prod id
as the Fastlane Z3, but is different enough to let the kernel crash.
Closes PR #2492 by Matthias Scheler. [thanks also to Ralph Schmidt for
confirmation of the patch]
1996-06-03 17:07:20 +00:00
mhitch
601c0013e0 Fix the third LBA extraction from a 6 byte SCSI command that I missed. 1996-05-30 03:15:07 +00:00
mhitch
ab7b439a98 The logical block address in a 6 byte command is 21 bits, not 20.
Also a transfer length of 0 indicates 256 blocks.
1996-05-27 05:49:49 +00:00
is
25b2ef1b72 Yet another unused variable cleanup; noticed in a kernel without bpfilter. 1996-05-25 16:30:16 +00:00
is
4d0559ac27 Fix stupid pasto. 1996-05-25 15:23:52 +00:00
is
452b12520a Delete some occurences of kernel startup debug code, move others inside
#ifdef DEBUG_KERNEL_START.
1996-05-24 19:59:33 +00:00
is
c978bf3f9f Make the GRFIOCBLANK ioctl set the right timing divisor when switching the
screen back on.
1996-05-24 19:26:12 +00:00
veego
7212a830ea - grf_cl.c, grf_clreg.h: added support for Piccolo SD64
- grf_cv.c, grf_cvreg.h, ite_cv.c: some cleanups
- grf_rh.c, grf_rhreg.h, grf_rt.c: new blank ioctl and some KNF
- grf_et.c, grf_etreg.h, ite_et.c: new graphics driver for et4000 based board
                                   (oMniBus, Domino and Merlin)
- grfabs_cc: fix PR#2034
- grfvar.h: new grfunit for GRF_ET4000_UNIT
- scsidefs.h: no longer useful
- zbus.c: new entries for: Piccolo SD64, oMniBus, Domino and Merlin
1996-05-19 21:05:20 +00:00
is
83f62ea033 Screenblank support:
- new fbio.h in arch/amiga/include, defining only FBIOSVIDEO
- add an IOCTL translation to arch/amiga/dev/grf.c
- add screenblank to the list of specials to build on amiga.
1996-05-19 20:06:02 +00:00
is
1a41d54c27 Yet some more cleanup for missing prototypes, if DRACO is supported. 1996-05-19 19:03:01 +00:00
is
16465b6509 merge. 1996-05-16 20:18:01 +00:00
is
ee807dac4c Correct a -Wall correction. 1996-05-16 17:50:25 +00:00
mhitch
caf4c8f158 Remove old-style disk instrumentation now that iostat, systat, and
vmstat are fixed.
1996-05-12 02:26:03 +00:00
is
d6ea9eae71 Cleanup the mess I left when committing yestereve's changes; in this case,
an unused variable.
1996-05-10 15:36:05 +00:00
is
e138ae4f38 Clean up the mess I left over from my yestereve's commit: partially unused
variables left over from color background debugging, partially wrong #ifdefs
making some variables unused in non-M68060 kernels.
1996-05-10 14:30:53 +00:00
is
93b32419b8 Back out last change, which was caused by a wrong way merge at home.
Sorry for the inconvenience.
1996-05-10 13:02:33 +00:00
is
f6ab1073c8 First part of M68060 and DraCo support.
* for the M68060 part: store buffer and branch target cache aren't
  enabled yet (this needs cleanup of lots of locore.s code which is a
  maze of little passages, all a little different) (and it wasn't yet
  tested in an accellerated Amiga, only in the DraCo).

  I've included a workaround for 2 of the CPU bugs in chips with Masks
  1F43G and earlier, but didn't bother to deal with the can of worms
  in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more
  reported at kernel startup time, or at least mention it (or the mask
  revision, if available) when reporting problems.

* for the DraCo: only machines with a CIA timer.

  I assigned machine id 32000+nn (0x7Dnn), where n is the machine
  readable Quicklogic custom chip revision (also printed at boot
  time).  "Guaranteed to work" up to rev. 3, newer DraCo's aren't
  guaranteed to have any CIA (we don't have a driver for the new timer
  yet).

  Supported are:

  - MF-II keyboards on the native interface and A3000 keyboards via
    the CIA.
  - builtin SCSI interface (yet another instance of siop)
  - CIA timer.
  - Zorro II devices which don't do DMA (don't get mapped to Zorro II
    address space in the DraCo)
  - "local bus" devices which are autoconfigured by the boot rom
    (should be all); only an Altais driver is there (looks like a Retina Z3)

  Not yet supported are:

  - native timer of newer machines.
  - Real Time Clock.
  - serial, parallel + floppy on the SuperIO chip (that is also: no mouse)

  XXX You need an enhanced boot loader, which will committed in a few days.

  XXX std.draco should and will go away.
1996-05-09 20:30:30 +00:00
thorpej
748810b06d 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 00:46:37 +00:00
thorpej
17033bca9c Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

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 00:35:07 +00:00
mhitch
c871eb1ec2 Floppy driver now supports MSDOS track format. Minor device 1 (/dev/fd?b)
uses MSDOS MFM track encoding.  From Ezra Story (ezy@panix.com) with
a couple of changes by me.
1996-05-04 04:54:00 +00:00
mhitch
bcb9d27216 More cleanup for -Wall with DEBUG. 1996-05-01 16:58:41 +00:00
mhitch
b1d1cbe84b Define BSR_MASK and use BSR_MASK to get the current bank select register.
Clean up the debugging code a bit and the warnings from -Wall.
Don't define ESDEBUG - it can now be set from the config file.

If the Ethernet chip gets reset during the copy of the transmit buffer,
requeue the current packet and reinitialize the controller.  This recovers
from an apparent hardware bug when running on my A2000/Zeus system.
1996-05-01 15:55:28 +00:00
mhitch
bb91ff2547 Define BSR_MASK and use BSR_MASK to get the current bank select register. 1996-05-01 15:51:08 +00:00
veego
b03bb4a6e5 Cleanup for -Wall if CV64CONSOLE, ULOWELLCONSOLE or RETINACONSOLE is not
defined.
1996-05-01 09:59:24 +00:00
mhitch
bcd490a50d Remove include of sys/cpu.h. 1996-04-30 06:09:51 +00:00
mhitch
74de027054 Add floppy index interrupt routine for future MSDOS floppy support.
Don't seek to track 0 before checking for diskchange:  if drive steps,
the diskchange flag is cleared.  Just select the drive, then test for
a diskchange.
Clean up for -Wall with FDDEBUG defined, and fix a message typo.
1996-04-29 06:23:47 +00:00
mhitch
c3fa50adb7 Fix warning from word transfer pseudo-dma function. 1996-04-28 06:49:35 +00:00
mhitch
d48db213fa Prototype the pseudo-dma function declarations. 1996-04-28 06:41:01 +00:00
mhitch
f7679aaef1 Fix warning from -Wall. 1996-04-28 06:36:16 +00:00
mhitch
2b6ece67ba Fix warnings from -Wall. 1996-04-28 06:33:58 +00:00
mhitch
5b9b315985 Cleanup for -Wall if CL5426CONSOLE is not defined. 1996-04-28 06:31:47 +00:00
mhitch
0fa2771b31 Correct check for NULL pointer references in siop_scsidone().
Only call Debugger() if DDB is defined.
If the wait for reselect is interrupted and sc_nexus was NULL, only
print the debug message if DEBUG is defined.
1996-04-28 06:28:24 +00:00
veego
c12ef8ae8f Make the compiler happy if you make a kernel with -Wall 1996-04-27 20:53:31 +00:00
is
09916f81d3 Make the Amiga mainboard mice, which used to be pseudo-devices, real devices.
(We want to support Amigoids without this interface in the near future.)
1996-04-24 11:41:16 +00:00
veego
112379ef29 Added some ifdef's for RETINA_SPEED_HACK
Argh, why is a fuction from the RetinaZ2 console driver in the console
driver for the RetinaZ3 ? Fixed.
Fixed some warnings from -Wall if you don't use -DDEBUG
1996-04-23 22:53:05 +00:00
is
0536f1591a Protect two critical lines of ser.c with splser(). Without this, a
race condition exists which makes the internal serial drop incoming
characters under heavy load.
1996-04-23 17:03:04 +00:00
is
5b809af42a Changed the speed calculations of the Amiga-builtin-serial driver to
allow any baudrate the hardware allows, and to forbid two baudrates
(50 and 75) which the hardware does NOT support but which the old
speed conversion table pretended to support.
1996-04-23 16:38:32 +00:00
christos
78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +00:00
veego
974e9f6e22 - Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
        - has now a real console mode
        - another bugfix for boards with the new S3 chip
- Ariadne:
        - fixed crashes with aeput (mbuf failure)
1996-04-21 21:10:48 +00:00
cgd
d7d306aeb7 change LANCE copy & zero functions' names to start with amd7990_, and
remove their 'integrate' (usually defined to be 'static') keywords.
when lance drivers are split up by attachment, more than one file will
reference the copy/zero functions (i.e. not just the file that pulls in
am7990.c... and eventually inclusion of am7990.c should go away entirely).
1996-04-18 00:25:11 +00:00
is
1ac76dc9c2 Typo in the new new config conversion fixed. 1996-04-05 15:53:41 +00:00
mhitch
3ce4de5491 Pass reserved blocks in label so adosfs computes root block
correctly (close PR 2232).
1996-04-05 05:08:07 +00:00
is
a0d45384b6 The interrupt routine of the ivsc (and the empsc, which seems to have copied
it) looks truncated. At least the return(1) is missing, which I now add as
a first stopgap. Somebody needs to find out if anything else is missing for
these boards.
1996-03-28 19:23:32 +00:00
is
8435085f72 Adapt to new attach scheme. Fix operator precedence error. Normalize
function name prefixes.
1996-03-28 18:56:08 +00:00
is
fa2b7f8f47 Emplant SCSI driver backend by Sean Riddle and Bo Najdrovsky. 1996-03-28 18:41:45 +00:00
mhitch
e1d4601b24 Fix for SCSI mode sense disk_pages structure change, and use the _lto3b()
conversion function.
1996-03-24 04:12:27 +00:00
is
a6a8779b4e It looks like the sense_data structure lost the extended_ prefix in the
name of some of its members. Adapt sbic.c to this. (Fixes PR 2245)
1996-03-23 15:09:54 +00:00
is
2ecf0a7b85 Interupts must be disabled and cleared before the PROM is read, as the int
line is shared with one of the PROMs address lines.
From PR #1478 by Jukka Marin.
1996-03-21 21:00:21 +00:00
is
ab622e51f5 - Zeroth version of M68060 support (dont want to cause emulation traps for
the "Fast Assembler Version of the copy loop)
- Yet another sanity check included: initialize unused receive buffers to
  zero sender id; and test for sender hardware id of zero in the receiver.
  Gives us better error messages in case flaky hardware causes spurious
  receive interupts.
1996-03-20 13:28:50 +00:00
mhitch
d2ac60afc0 A couple more misses from the device attachment changes:
afcd_cd --> afsc_cd
atzsccd --> atzsc_cd
1996-03-18 04:58:36 +00:00
mhitch
b00a2c1e30 Clean up typos and other errors from new device attachment changes. 1996-03-17 05:53:57 +00:00
thorpej
5c67e5fad9 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
mhitch
a5c0ced572 Removed Debugger() declaration - the prototype is in sys/systm.h. 1996-03-16 08:19:43 +00:00
mhitch
48118d719d Correct 53c710 initialization for the A4000T. Remove the A4000T probe
debugging output.
1996-03-15 22:11:09 +00:00
is
ce4541b2da Altais graphics board support, and some nicer formatting of preconftab.
Closes PR #1812 by myself.
1996-03-06 20:13:28 +00:00
is
006fe839fe Back out change intended for netbsd-1-1 and accidentally committed here 1996-03-06 16:40:16 +00:00
is
3020e66dd5 Fix problems with fast CPUs and Picasso boards. Patches originally by,
Klaus Burkert <crest@arkon.dontpanic.sub.org>, sent in by Ezra Story.
Closes port-amiga/2135.
k
1996-03-05 18:08:33 +00:00
is
04145bfde8 Fix for newer S3 chipsets by Matthias Scheler (from -current). 1996-03-04 20:36:56 +00:00
is
7873fac590 Grr... my fault when send-pr'ing the "CPU too fast" error patch. The chip
is called BT458, not BT478.
1996-03-04 19:49:11 +00:00
veego
39aeb2aa25 console driver for the CyberVision64 1996-03-02 14:28:51 +00:00
veego
18fd2ce9c2 Updated for the new CyberVision64 console
gen_cvtab.c is no longer needed
1996-03-02 14:02:53 +00:00
chopps
6ab6c3037d remove floating point expressions. gen_cvtab.c generates a conversion
table to replace a specific floating point expression in grf_cv.c
1996-02-24 20:13:00 +00:00
chopps
1bf748f356 use newly allocated ethernet address (fixes #2117) 1996-02-24 07:47:36 +00:00
chopps
d1d39c63d4 remove local strncmp (fixes #2115) 1996-02-24 07:44:06 +00:00
chuck
623ec41006 Ensure siop_acb alignment via malloc rather than let alignment depend
on the size of MI data structures that come before it in the softc.
Chip will not function properly if alignment is wrong.  (as per OpenBSD)
Detected and fixed by: Chuck Cranor <chuck@ccrc.wustl.edu>
                and Michael L Hitch <osymh@gemini.oscs.montana.edu>
1996-02-03 18:47:07 +00:00
mycroft
9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
chopps
d00a79e34d fix bounds check #1939 1996-01-28 20:06:15 +00:00
chopps
9819a7c27e make sure master enable is set #1920 1996-01-28 19:48:39 +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
thorpej
18960b616f Call disk_busy() a bit earlier in case an exceptional condition causes
fddone() (and thus disk_unbusy()) to be called directly from fdstart().
Pointed out by Ezra Story <ezy@panix.com>.
1996-01-15 21:53:50 +00:00
thorpej
cca25e85ec Fixed typo (that I probably introduced with the disk changes). From
Thorsten Frueauf <frueauf@ira.uka.de>, PR #1924.
1996-01-14 00:23:56 +00:00
thorpej
5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
chopps
5a1be463d3 explicitly mask the address value 1995-12-31 01:22:03 +00:00
chopps
4bf7b86bd1 rename grf_ul.gsp 1995-12-27 16:54:37 +00:00
chopps
7286a43eb4 cleanup for -Wall (pr#1559) from Ignatios Souvatzis 1995-12-27 08:09:51 +00:00
chopps
fd9084650c make changed from pr#1824 from Ignatios Souvatzis 1995-12-27 07:51:40 +00:00
chopps
38d473982a fixup the table (pr#980) from Ignatios Souvatzis 1995-12-27 07:31:58 +00:00
chopps
7ecc586ed0 add support for GRFIOCBLANK (pr#1810) from Ignatios Souvatzis 1995-12-27 07:24:27 +00:00
chopps
05ab6375cc fix initializtion (pr#1853) from Ignatios Souvatzis 1995-12-27 07:21:07 +00:00
chopps
dafae56a80 fix for newer boards (pr#1829) from Matthias Scheler 1995-12-27 07:15:53 +00:00
chopps
f7ea355074 remove uneeded routines (pr#1837) from Bernd Ernesti 1995-12-27 07:09:37 +00:00
mycroft
3da4b2a160 The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
jtc
0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
chopps
b2d4fa2dd3 cleanup warnings (fixes pr#1642) 1995-10-20 10:08:24 +00:00
chopps
29dcca9ffe fix use of uninit vars from Bernd Ernesti <bernd@arresum.inka.de> 1995-10-09 19:26:15 +00:00
chopps
11c134fb80 fix typo 1995-10-09 15:53:39 +00:00
chopps
78bd894529 add prototypes for isr stuff fixes pr# 1284 and 1569 1995-10-09 15:19:58 +00:00
chopps
3973aeb080 fix hang bug from Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de> 1995-10-09 14:05:24 +00:00
chopps
dea30dfde9 make work with newer grfconfig now in /usr/sbin. from
Bernd Ernesti <bernd@arresum.inka.de>
1995-10-09 14:02:32 +00:00
chopps
268dfe691c update from Ezra Story <ezy@panix.com> 1995-10-09 03:47:44 +00:00
chopps
2c9db0e19e update from Ignatios Souvatzis <is@beverly.rhein.de> 1995-10-09 02:14:46 +00:00
chopps
602e68be9d new cybervision 64 grf from Bernd Ernesti <bernd@arresum.inka.de> and others
update config files (adding missing scsibus entry for aftsc0)
1995-10-09 02:08:35 +00:00
chopps
60e159d20e file is now generated at compile time 1995-10-09 02:06:19 +00:00
chopps
cc6ab4e68d new cybervision 64 from Bernd Ernesti <bernd@arresum.inka.de> (and others) 1995-10-09 01:44:09 +00:00
chopps
16ca402101 update from Ignatios Souvatzis <is@beverly.rhein.de> 1995-10-07 19:54:58 +00:00
chopps
79bc0aa5ef transpose osc values from Ignatios Souvatzis <is@beverly.rhein.de> 1995-10-07 19:48:08 +00:00
chopps
86fb4819e2 change break val from rhealey@kas.helios.mn.org (Rob Healey) 1995-10-07 18:22:14 +00:00
chopps
cf0e52a427 update to 2232 from Jukka Marin <jmarin@teeri.jmp.fi> and
rhealey@kas.helios.mn.org (Rob Healey)
1995-10-07 18:18:26 +00:00
chopps
dc3b9221a6 update to ariadne ethernet device from Bernd Ernesti <bernd@arresum.inka.de> 1995-10-07 18:12:42 +00:00
chopps
c68476241f new quicknet ethernet driver from Kortelainen Mika <k125374@cs.tut.fi> 1995-10-07 18:04:27 +00:00
chopps
a9c89668da fixes for fastlane from Daniel Widenfalk <t94dwi@student.tdb.uu.se> 1995-10-07 17:33:01 +00:00
chopps
5dcc668ebd first attempt at A4000T support, remove GRF_AGA's dependence on GRF_ECS.
page 0 is now invalid, other minor cleanup.
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-10-05 12:40:48 +00:00
chopps
58f950c48a Only enable timeouts (debugging) when actually transfering data.
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-10-05 12:36:07 +00:00
chopps
01d63931a5 only use one xmit buffer for ASDG 1995-10-01 19:30:22 +00:00
chopps
678433e279 no longer needed by lance driver (now uses /dev/ic...) 1995-09-30 17:20:29 +00:00
chopps
f144360393 oops, forgot to cvs add this 1995-09-30 17:18:22 +00:00
chopps
d6ede49c3d fix typo (pr#1224) 1995-09-30 08:39:38 +00:00
chopps
46b055b6dc some style cleanup 1995-09-30 02:08:47 +00:00
chopps
1683d8a23e new 2232 multiport serial device from:
Rob Healey <rhealey@kas.helios.mn.org>, Jukka Marin <jmarin@teeri.jmp.fi>,
Timo Rossi <trossi@jyu.fi> and Zik
1995-09-30 01:50:50 +00:00
chopps
319c531354 move 040 to hp300 style, use new MI lance ethernet driver
a few minor fixes WRT prototypes.
if_le from Charles rest from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-29 13:51:30 +00:00
chopps
eab73b27b1 fix wrong arg to strncpy 1995-09-29 13:11:21 +00:00
chopps
34373365cb Add minimal dumpfile support.
Fix a bug in pt_enter_ptpage which caused MMU faults on low-mem conditions.
Change siop drivers to better handle sync.
Remove diag. done for ide -- its redundant as the ROM does similar.
fixed ite_filter to not panic if typing before the device is fully setup
All thanks to osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-16 16:11:03 +00:00
chopps
c392350cba sbic and board changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-09-04 13:04:40 +00:00
chopps
f73f65da20 couple fixes from Eduardo E. Horvath eeh@btr.com 1995-08-24 15:46:19 +00:00
chopps
1e4fbda19c fix protos (#1390) from Bernd Ernesti <bernd@arresum.inka.de> 1995-08-20 15:22:46 +00:00
chopps
b720d4fd09 rename RZ3_64BIT_SPRITE to RH_64BIT_SPRITE 1995-08-20 15:09:25 +00:00
chopps
391bbae93c make defaults more accessable. 1995-08-20 03:07:25 +00:00
chopps
5e60f02d97 fix grf_rh problem with sprite and allow mode changing.
from mw@eunet.ch (Markus Wild)
1995-08-20 02:54:34 +00:00
chopps
c24824f7d7 fix bogus length check (#1299) 1995-08-20 02:52:48 +00:00
chopps
d821c2be28 resolve conflict with grf_rt over monitor_defs symbol 1995-08-18 16:46:57 +00:00
chopps
394b87b8f3 change for a2410 from is@Beverly.Rhein.DE (Ignatios Souvatzis) 1995-08-18 16:21:33 +00:00
chopps
fccf65d4c7 new a2410 driver from is@Beverly.Rhein.DE (Ignatios Souvatzis) 1995-08-18 16:15:43 +00:00
chopps
01e68b365a new Ariadne ether from Bernd Ernesti <bernd@arresum.inka.de> 1995-08-18 15:58:30 +00:00
chopps
55b1c5d71b add rcs ids 1995-08-18 15:53:30 +00:00
chopps
0fe921e96f ariadne ethernet driver from Bernd Ernesti <bernd@arresum.inka.de> 1995-08-18 15:51:19 +00:00
chopps
2208782633 SCSI disconnects: siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
and sbic from "Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com>

Other cleanup (remove cpu040) and enabling IVS A500 support
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-08-18 15:27:29 +00:00
mycroft
80d7b0695a minphys() functions really should return void. 1995-08-12 20:30:45 +00:00
chopps
bbd70b413b fix minphys routine to match others 1995-07-26 14:30:53 +00:00
chopps
3878753b32 fix typo 1995-07-26 14:22:43 +00:00
cgd
27435d744c update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:28:18 +00:00
cgd
4f9fb2ab3e bound xfer properly in minphys, panic if can't. 1995-07-24 07:25:46 +00:00
chopps
07d9670a6c remove indirect use of strategy which brok with recent changes 1995-07-05 02:12:38 +00:00
chopps
f1e1796cf4 misc cleanup, better tty alloc for mfc. from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-07-04 18:06:40 +00:00
mycroft
f4b5f723e0 Remove references to if_addrlist. 1995-07-02 00:16:00 +00:00
cgd
2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
chopps
5ad7f31079 udpate to match ifnets new use of sys/queue.h 1995-06-27 13:13:32 +00:00
chopps
4230801c92 be sure of product from Ezra Story <ezy@panix.com> 1995-06-26 01:49:05 +00:00
chopps
2937872ca5 typo fix from Daniel Widenfalk <t94dwi@student.tdb.uu.se> 1995-06-26 01:42:08 +00:00
chopps
d6e4fd6e10 fix for sprite problem from Kenneth Dyke <kcd@babylon5.jumpgate.com> 1995-06-26 01:39:55 +00:00
cgd
d4f62dcb69 update from Ignatios Souvatzis 1995-06-07 00:13:52 +00:00
chopps
d25d16dd79 fix ITEIOC[GS]BELL and ITEIOCGREPT cases in iteioctl() 1995-05-14 14:26:00 +00:00
chopps
21d667c8ab scsi drivers for fastlane and blizzard controllers that use the
Emulex FAS216 chip.  from Daniel Widenfalk <t94dwi@student.tdb.uu.se>
1995-05-12 12:59:05 +00:00
chopps
b6e35ee17f fix len bug from Jason Thorpe <thorpej@nas.nasa.gov> 1995-05-11 22:55:12 +00:00
chopps
79d6c6505e fix a few thinkos 1995-05-08 02:52:21 +00:00
chopps
6a9186c322 may now work for asdg boards.. offsets obtained months ago but untestable here 1995-05-08 02:40:51 +00:00
chopps
2ca98c3cb6 enable pseudo-dma on ivsc, allow no ite/grfcc. 1995-05-07 15:37:02 +00:00
chopps
df9af2897a bring up-to-date with recent conf.c and sunos changes. 1995-04-23 18:24:21 +00:00
chopps
35bb9b1ffd new grfcl driver submitted by Ezra Story <ezy@panix.com> 1995-04-23 16:20:43 +00:00