summaryrefslogtreecommitdiff
path: root/sys/arch/vax
AgeCommit message (Collapse)Author
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@
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
ok kettenis@ cloder@ tom@ henning@
2007-02-06Add machine/atomic.h to all architectures and define two operationsArtur Grabowski
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok
2007-02-05Oops, forgot to commit these files when adding md mutex code; spotted by nick@Miod Vallat
2007-02-03Simple single-processor mutex implementation, simpler than the MI code byMiod Vallat
use of MD spl code bowels. No functional change.
2007-01-14ragge@netbsd fixed the copyright, thanks. ok miod@Otto Moerbeek
2006-12-24Define PROC_PC. Then, since profiling information is being reported inMiod Vallat
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify.
2006-12-24Check for want_resched when processing AST and nowhere else. But then, whenMiod Vallat
doing so, do not check for signals - userret() will do this.
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-12-13Remove unused parts of vsbus_attach_args structure.Miod Vallat
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-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
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-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid Gwynne
confusing when trying to attach scsibus to a hba, since it is really meant for attaching scsi devices to scsibus. ok deraadt@ marco@
2006-11-27Portuguese LK-201 layout.Miod Vallat
2006-11-06Oops, bootblocks need this.Miod Vallat
2006-11-06Let CISCoholic memset() do not behave as bzero for a length over 64KB.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-11-01German LK-[24]01 keyboard layout;Miod Vallat
contributed by Sigi Rudzio (sigirudzio ; gmail . com)
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-10-21Some KNF cleanup.Kenneth R Westerback
De-register. Move declaration to top of function for DOS MBR processing. Indent nit in macppc. No functional change.
2006-10-04More tidying up after bad144. Remove references in comments andKenneth R Westerback
don't include dkbad.h when nothing in it is used. Missed arm/include/disklabel.h first time around.
2006-08-31Make sure we do mbuf operations at splnet(), for some models have zeMiod Vallat
interrupting at spl4 (i.e. below splnet) and this can cause pool corruption; ok deraadt@
2006-08-30Horrible code to work around stupid VXT2000 rom getchar() behaviour, butMiod Vallat
at least this allows our boot blocks to work with glass console on these machines now. Caution: reading this code will hurt your eyes. ok deraadt@
2006-08-30Enable VXT2000 bits now that they are worth using; ok deraadt@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-30Better diagnostic messages.Miod Vallat
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-27Extract the device-independent parts of dzms, to let lkms@non-dz exist.Miod Vallat
Don't forget to rerun config(8)!
2006-08-27Move cfdriver structs to better places, in preparation for new attachments.Miod Vallat
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-24Add a few printfs to slow down SGEC initialization - somehow this appearsMiod Vallat
to be necessary on VXT2000. While large SDELAY are not enough. Someone will probably find my lack of faith in the SGEC code disturbing.
2006-08-24Check for a selftest failure after reset in the correct register.Miod Vallat
2006-08-24Enable the appropriate serial transmitters in VXT2000 serial routines, thisMiod Vallat
makes output work when the VXT2000 is not configured for serial console.
2006-08-22More register defines.Miod Vallat
2006-08-22Wrap dmesgMiod Vallat
2006-08-17Check d_secpercyl in all readdisklable() functions, and have all ofKenneth R Westerback
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@
2006-08-15Some VS4k/90 have the uVAX bit set in confdata, do not report them as uVAXens.Miod Vallat
2006-08-15A more reliable LCSPX probe, based on information from Blaz Antonic, testedMiod Vallat
by aanriot@
2006-08-11Use d_secperunit rather than 0x1fffffff as the default value forKenneth R Westerback
RAW_PART's p_size. Since d_secperunit is initialized to 0x1fffffff if not specified there should be no need to use the magic number again. And if d_secperunit was specified then that value should be used instead of the magic number. This was already being done for hp300, luna88k, mac68k, mvme68k, mvme88k. Should be a no-op.
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-05Ugly hack to avoid sending the ``all keys up'' event to userland, replacingMiod Vallat
it with as many key release events as necessary. Necessary for X until it knows how to handle this event properly.
2006-08-05Colormap ioctls, at last.Miod Vallat