Commit Graph

108 Commits

Author SHA1 Message Date
nisimura 4371d91433 Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
2000-06-05 07:59:50 +00:00
matt 2f85fe7adb Adjust to new evcnt stuff. 2000-06-05 00:09:17 +00:00
matt 0bd304e528 More event counter stuff. Plus a little cruft cleanup while doing it. 2000-06-04 06:16:53 +00:00
matt 7c24069048 Add extra argument to scb_vecalloc (a struct evcnt *)
Move ivec_dsp from trap.h to scb.h
Add interrupt counting to asc, le, ze, ncr, dz interrupts.
add common support for counting interrupts to cnm_idisp so
it can be done very efficiently.
2000-06-04 02:19:24 +00:00
ragge aacf5a4bc1 Growel out the SCSI BUS ID from NVRAM instead of hard-code it. 2000-05-27 10:12:45 +00:00
ragge 4eea61af11 If we panic before the vsbus is found, don't panic again. 2000-05-26 21:05:01 +00:00
matt 83ae868133 Add some debug stuff. Disable SCSI on KA49 for now until I can figure out
why it doesn't work.
2000-05-23 23:47:28 +00:00
matt 2d153651e5 Preliminary support for the VS4000/90 SGMAP. Needed for SCSI. Does not
quite work right yet.
2000-05-17 21:22:18 +00:00
matt 1fe20bbb39 be a bit more defensive in the probe routines. only allow one attachment. 2000-04-24 21:59:22 +00:00
matt c10673838a Extend asc driver to include support for the VS400/9x.
Add VS4000/9x support vsbus_dma.c
2000-04-23 16:38:52 +00:00
matt 79a5b2164e Remove autconf stuff. not needed and wrong. 2000-04-18 21:25:31 +00:00
ragge a1413dca83 Fetch the SCSI ID out of NVRAM instead, if possible. 2000-04-17 20:36:23 +00:00
ragge d37dfad561 DEC have the internal SCSI controller as ID6, and CDROM as ID7. 2000-04-17 16:30:40 +00:00
matt 9434b7b19e Add fix for VS4000 SCSI hangs on disk writes. Add a VAX_BUS_DMA_SPILLPAGE
and use it in the asc_vsbus driver.
2000-04-10 03:49:56 +00:00
ragge fe43e9f08f Fix spelling error. 2000-03-31 18:40:58 +00:00
tsutsui 9100212ef0 Add a "sc_rev" member to ncr5380_softc and handle CXD1180 quirk
in MI ncr5380sbc.
2000-03-25 15:27:54 +00:00
thorpej 7b918b4088 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:40:33 +00:00
mycroft 0af581a1a1 Add a ncr5380_attach() routine which does part of the initialization, attaches
the scsibus, and does the addref/delref dance.
2000-03-18 16:13:22 +00:00
matt 57032be837 disable scsi for ka49 until sgmap is adapted to it. 2000-03-09 02:02:12 +00:00
matt 082a04f053 don't enable sgmap on ka49 yet. 2000-03-08 23:50:51 +00:00
matt ebbd936b2c Chnage chip freq to 25MHZ. panic if dmaaddr is not in the kernel's
address space.  fix some printfs.  (reads now work!)
2000-03-07 00:08:42 +00:00
matt 10f359a6b5 clear the sgmap that was allocated 2000-03-07 00:07:16 +00:00
matt 4ab785a0e1 it is pretty close to working. the scsibus probes now. 2000-03-05 23:20:25 +00:00
matt 2b3b8b5d50 it's closer to working now. 2000-03-04 18:20:53 +00:00
matt e0df4ffcae expunge vm_offset_t and vm_size_t.
add bus_dma support for the vs4000 dma translation map (sgmap).
enhance the vsbus for the lance to work with it.
remove the sgmap init code from ka46/48/49.c
2000-03-04 07:27:47 +00:00
matt 7258e6c6b7 First pass at NCR53c9x attachment for VS4000. It doesn't work yet.
But I want to save the work.
2000-03-04 00:24:06 +00:00
matt 1bce76807d it's a bit cleaner now. it also gets rid of the iomap init in
ka4[689].c
2000-03-04 00:22:37 +00:00
matt 2150f75fb0 First pass. need to add hw sgmap allocation via bus_dmamem 2000-03-03 22:57:49 +00:00
matt 7b17d59536 Revamp the VAX interrupt handling code. Make it compatible with all the
other ports.  Clean up some things.
2000-01-24 02:40:28 +00:00
ragge ffbd2c2f5e CL* discarding. 1999-12-12 14:39:18 +00:00
drochner 0893832078 update for changed struct wsdisplay_accessops:show_screen signature.
no functional changes
1999-12-06 19:25:56 +00:00
ragge 2334c8a315 Allocate memory for printouts directly instead of (trying to) use the
yes uninitialized VM system.
1999-10-27 16:40:47 +00:00
ragge db3857cbb6 DMA support for the NCR 5380-equipped vs3100's. 1999-10-22 21:12:20 +00:00
ragge 4021578d6e Add routines to copy to/from a user process from/to the vsbus DMA area. 1999-10-22 21:10:12 +00:00
ragge 7c80a2ddec Nuke unnused file. 1999-09-21 18:08:37 +00:00
ragge 3455a353f9 Fix minphys() on vax. While here, convert to bus.h. 1999-09-21 18:07:54 +00:00
ragge 1e07ecc873 Aupport these on 4000/90. 1999-08-27 17:50:42 +00:00
ragge 4fa4cc8160 Don't try to search for these devices on 4000/90. badaddr() should
be fixed for this arch also.
1999-08-27 17:49:41 +00:00
ragge 73dc3cea57 Rearrange the interrupt detection code to work on the (slightly
different) VAXstation 4000/90.
1999-08-27 17:45:57 +00:00
ragge bc163ccc30 Clean up all bus handling stuff, it has become a mess the latest years.
Add a new bus; "ibus" that is the internal MicroVAX bus.
1999-08-07 10:36:43 +00:00
ragge a7361f3acf Moved to dz_ibus.c,v 1999-08-06 18:58:28 +00:00
ragge c7d47daa04 Moved from dz_vsbus.c,v 1999-08-06 18:58:27 +00:00
ragge 656c580511 Don't try to disconnect SCSI disks. From Michael Kukat.
Now DEC disks also works in VAXstations :-)
1999-06-19 15:46:05 +00:00
ragge 3bb07459cd Qbus moved in hierarchy. 1999-06-06 19:10:49 +00:00
ragge b337d4d3c7 Don't detect glass tty if the machine is a workstation.
Hint from Thomas Seidmann.
1999-05-20 23:00:58 +00:00
thorpej f98d358a1f Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
ragge cec112a434 Make LK201 arrow keys work again. 1999-04-29 16:58:58 +00:00
ragge 797a7428d6 First towards use of bus.h routines on vax. Allocate DMA memory for
LANCE chip on vaxstations.
1999-04-14 23:14:45 +00:00
ragge d30ddfde0f Change console detection a little bit. 1999-03-27 15:33:46 +00:00
ragge dbc385934b Buggfixes for VS 4000/VLC. Basic support for VS4000/90 and MV4000/300.
From Michael Kukat.
1999-03-26 22:04:07 +00:00