summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa
AgeCommit message (Collapse)Author
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.
2006-08-03A more reliable way to find out that the card is not there.Miod Vallat
2006-08-03Enable all planes, so that color has a real chance to work; still untested.Miod Vallat
2006-08-03Since we will only attempt to configure a keyboard on line 0 on machinesMiod Vallat
where line 0 is a keyboard connector, which is never used for serial console, remove an always-true test.
2006-08-03No need to force a 8-bit font anymore, welcome to the 12x22 font.Miod Vallat
2006-08-02Provide the usual 8x16 font, instead of the qvss 8x15 font, for low-res vaxMiod Vallat
frame buffers (and smg until it can use non-8bit wide fonts), as the latter has too many symbols in the 8-bit range stubbed out.
2006-08-01Avoid a few NULL dereferences, and boot -c works on vax with glass console.Miod Vallat
2006-08-01Support for font widths from 9 to 16 bits, and use the 12x22 font byMiod Vallat
default (since it fits).
2006-08-01If there is VRAM at the lcg address, but we can't make sense of theMiod Vallat
configuration register, match anyway and bail out during attach, printing the configuration register value, so that this gets noticed and the code can be made aware of this particular model.
2006-07-31Underline support.Miod Vallat