summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa
AgeCommit message (Collapse)Author
2008-08-30replace TRUNC_PAGE by trunc_page and ROUND_PAGE by round_pageMartin Reindl
plus cast to vaddr_t where necassary from Miod's todo list ok miod@
2008-08-24vsbus machines also have modem control bits on line #2, no need to fake them.Miod Vallat
2008-08-24typoMiod Vallat
2008-08-22Instead of spewing error messages about link status, support link statusTheo de Raadt
like all drivers should ok miod
2008-08-18Shuffle the dz console code (both serial and keyboard) to be more independentMiod Vallat
of the console device attachment, and to be able to work on system where there are more than one dz device of the same type, one of it being the console one. This also allows a different register layout than the dz@ibus one to be used for the dz console device.
2008-08-15In dzcninit(), do not forget to enable the receiver in addition to theMiod Vallat
transmitter. On machines with glass console for which we do not have a driver yet, and fall back to serial console, the PROM might not have enabled it.
2008-08-15Remove unused and incomplete vax_bus_t enum, and unused vaxbus_dma_get_tag()Miod Vallat
macro and related function pointers.
2008-07-30Do not print adapter target id on the attachment line, now that scsibus(4)Miod Vallat
prints it. These should be the last offenders.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2007-12-29fix comments after the members of scsi_adapter were changed.David Gwynne
prompted by krw@
2007-12-28If initializing a frame buffer as glass console fails, instead of an invisibleMiod Vallat
panic (for you ichc fans out there), disable the wscons console and force a console device reselection, which ends up in picking a serial console. This should not happen, but just in case, it's a less rude behaviour.
2007-12-28Explicitely mention we are the console device, when applicable.Miod Vallat
2007-12-18Better probe routine for lcg, now that I found the magic bit on KA46.Miod Vallat
2007-12-09Attach lcspx to SPX option boards on VAXstation 3100. Tested on model 38 (KA42)Miod Vallat
only, should work on model 76 (KA43) as well.
2007-12-09Be more careful when checking for hardware, so as not to attach to SPXMiod Vallat
option boards.
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' whereKenneth R Westerback
obvious.
2007-09-01Do not include <machine/rpb.h> unless necessary.Miod Vallat
2007-08-01Figure out the host SCSI controller ID on KA48 (VLC) and KA49 (VS4k/9x) fromMiod Vallat
the nvram settings, as already done on KA46 (VS4k/6x); from Hans Rosenfeld on port-vax@netbsd.
2007-06-20These drivers were abusing b_cylinder to store device-specific informationMiod Vallat
in strategy(), and were reusing it in start(). I first considered introducing a b_rawblkno field in struct buf, as has been done in NetBSD, to stop this abuse. However, it does not cost more to simply move the device-specific ``was-b_cylinder'' computation to the start() routine. Plus we get type fixes (daddr64_t) for free, although this does not really matter for these pedro-sized devices. Thus we do not need to grow struct buf for these devices which really ought to live in your Attic (and my machineroom, of course). hp300 HP-IB tested, vax mfm not, but the logic is the same.
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
2007-06-09typoTheo de Raadt
2007-06-08all disklabels read from the kernel now always contain a total sectorTheo de Raadt
size which is the REAL DISK SIZE. always. if a driver fails to set this right, please fix it. agreed with otto and krw
2007-06-07more XXsize() functions not fixedTheo de Raadt
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values
2007-02-15Don't print the error strings returned by readdisklabel(). If youKenneth R Westerback
need the debug info uncomment the printf's you need. Crude but effective way to suppress 'no disklabel' errors that pop up at the most innconvenient times to frighten users. More elegant method, DPRINTF-like constructs or something, later. "Yay!" marco@ ok deraadt@
2006-12-13Remove the dma_eop callback in the ncr5380 driver md attachment, it was alwaysMiod Vallat
doing nothing and the mi code does not use it anymore anyway. No functional change.
2006-12-13Missing "break;" for the KA46/KA48 case, fortunately caused no harm but aMiod Vallat
waste of 128KB of kvm.
2006-11-29Add an unpack_attr function to struct wsdisplay_emulops, to match theMiod Vallat
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-11-06Oops, bootblocks need this.Miod Vallat
2006-11-06Sync the VS2000 (and some VS3100) MFM controller driver with NetBSD, andMiod Vallat
enable it in GENERIC and RAMDISK. Completely untested due to lack of hardware (both my VS3100 are dual-SCSI), but it hopefully can't hurt.
2006-11-05Do not enable hardware cursor in the Brooktree DAC on the 8bpp model as wellMiod Vallat
(it would only appear when booting after an UNJAM).
2006-11-05Wait two seconds after reset before probing devices, lets RX23 get detectedMiod Vallat
again.
2006-10-29Fix Bt458 programming; screen burner now works on 8bpp flavour.Miod Vallat
2006-10-27Hide hardware cursor on 4bpp model.Miod Vallat
2006-10-22Fix colormap programming in 4bpp mode.Miod Vallat
2006-08-30Teach the SGEC driver about the Real World:Miod Vallat
- check for error bits in descriptors, and count and report errors accordingly; make sure we do not pass up known-to-be-bad packets up the receive path. - check for various error conditions which would cause the transmit process to go to suspended state, and recover from them, before the timeout expires. - finally, on the VXT2000, the transmit process for some reason will reset its ring position to the beginning of the ring every time it completes a transmission burst, while we don't, so play with the head of ring register behind its back. This makes my VXT2000+ (net)boot multiuser. Tested on VXT2000 (ze@vxtbus), KA49 (ze@vsbus) and KA53 (ze@ibus); ok deraadt@
2006-08-27Work-in-progress VXT2000 support (commented out in GENERIC so far). GlassMiod Vallat
console works on color model, serial console works, ethernet attaches but does not work correctly yet.
2006-08-26Doh, compile before commit.Miod Vallat
2006-08-26Enable all planes in the ramdac as well, so that color really works.Miod Vallat
2006-08-22More register defines.Miod Vallat
2006-08-22Wrap dmesgMiod Vallat
2006-08-15A more reliable LCSPX probe, based on information from Blaz Antonic, testedMiod Vallat
by aanriot@
2006-08-06Replace magic numbers with adequate #defines, support vsync disabling in theMiod Vallat
burner routine, and do the colormap updates during vertical retrace, instead of using a fixed delay.
2006-08-05Colormap ioctls, at last.Miod Vallat
2006-08-05Make sure smg will not pretend being a console on smg+gpx hardware withMiod Vallat
smg forced to attach.
2006-08-05Use faster {copy,erase}cols routines for smg, with ad hoc vax assembly,Miod Vallat
adapted from X11 via hp300.