summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
AgeCommit message (Collapse)Author
2005-03-07Shorten dmesg on ss4.Miod Vallat
2005-03-06Shorten dmesg if no keyboard is plugged.Miod Vallat
2005-03-03Sync a few comments with reality.Miod Vallat
2005-03-03Do not attempt to read past firmware data in rfx_initialize().Miod Vallat
2005-03-02Support for SUNW,fas SCSI, currently restricted to the lower 8 targets dueMiod Vallat
to MI esp code limitations. ok deraadt@
2005-03-01Print display resolution as %dx%d, not %d x %d.Miod Vallat
2005-02-27Move wsdisplay-only prototypes declarations in the #if NWSDISPLAY > 0 blockMiod Vallat
so that kernels with no frame buffer drivers can compile; spotted by marc@
2005-02-27Use the DMA defines from dev/ic/lsi64854reg.h whenever possible; no functionalMiod Vallat
change. ok deraadt@
2005-02-22add hme(4) RX TCP/UDP checksum offloadBrad Smith
Based on a diff posted to sparc@ by Pyun YongHyeon
2005-02-22Allow SUN4 kernels to compile; spotted by marc@Miod Vallat
2005-01-27Add pcmcia_intr_string() to format the intr string for pcmcia attachTodd C. Miller
routines.
2005-01-15make sure interface is in RUNNING state before touching the multicast filtersBrad Smith
From NetBSD NetBSD PR 27678 for details ok mcbride@
2005-01-05Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - mostMiod Vallat
of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-11-29Move the struct wsscreen_descr from a per-driver global to a per-instanceMiod Vallat
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
2004-11-29Spell precede correctly.Jonathan Gray
'looks fine' millert@, krw@. ok jmc@
2004-11-02KNF, constify structures, do not wrap the contents under #if NMAGMA > 0 asMiod Vallat
if we were still running in pre-4.4BSD config(9) times.
2004-09-29Switch sparc to evcount; ok deraadt@Miod Vallat
2004-09-28- Use ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN instead of HME_MTUBrad Smith
- Use ETHER_CRC_POLY_LE instead of MC_POLY_LE from hmereg.h
2004-09-22Bring some enhancements and fixes to fdc(4) from NetBSD:Miod Vallat
- better state machine, will prevent "eject fd0" with an empty drive to spin. - will not attach fd children to fdc if no floppy drive is present (though the PROM usually finds this for us). - use biowait() in fdformat() instead of rolling our own. - drop 5"1/4 formats table. - cope with non 512 bytes per sector formats.
2004-08-08do not reset the chip (and subsequently the phy) when unnecessary; that is,Brad Smith
for address changes, multicast filter changes, or adjusting promiscuous mode. Fixes resetting the phy for things like start/stopping tcpdump. From NetBSD tested by me, miod@, otto@ and a few others. ok deraadt@
2004-07-26Remove orphaned prototypes.Miod Vallat
2004-06-20zx(4) support for sparc64, tested on an Ultra 2.Miod Vallat
2004-05-12if tctrl not there, still let this compile; miod okTheo de Raadt
2004-05-10When external power is not available, the tadpole video hardware getsMiod Vallat
stuck in a weird mode, where not all acceleration functions are available, and I could not figure out how to reset the chip strongly enough to leave this mode. Try to compensate by checking whether the external power has been removed, when we set up the accelerated rasops (this will not cope with power being removed after bootup, yet).
2004-05-09Replace the event queue with a bit mask of slots needing attention, asMiod Vallat
done in stp(4).
2004-05-04Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.Alexander Yurchenko
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt
2004-04-12removeable -> removable;Jason McIntyre
ok deraadt@ beck@
2004-04-02remove pk from copyright, seen in netbsdTheo de Raadt
2004-03-09Real, inverted, cursor.Miod Vallat
2004-03-02Rework the card insertion/removal detection logic:Miod Vallat
- instead of queueing events each time the sense information changes, only remember that the slot needs attention - when processing a slot needing attention, decide what to do depending upon its current sense information, rather than what it was when the change was detected - handle the ``only one sensor asserted'' state happening during slow insertion or removal. This makes the driver much more reactive to insertions and removals, and also removes unnecessary attach/detach calls. ok deraadt@
2004-03-01Initialize the frame buffer when the PROM did not do this on our behalf.Miod Vallat
2004-03-01More readable DAC programming.Miod Vallat
2004-03-01Define a wsdisplay type for rfx; ok deraadt@Miod Vallat
2004-02-29Enter rfx, driver for the SBus RasterFlex frame buffer family.Miod Vallat
Currently 8-bit only for now. This apparently completes the SBus frame buffer support list - yet if you stumble upon an unsupported SBus frame buffer, I'd love to hear about it...
2004-02-29More colormap games for 8-bit framebuffers to enjoy the inverted cursor too.Miod Vallat
2004-02-27TyposMiod Vallat
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
2004-02-01Trivial touches to compile with gcc 3.Miod Vallat
2004-01-12typos from Jared Yanovich;Jason McIntyre
2003-12-20Pass -Wformat.Miod Vallat
2003-11-14the the; rohee@Miod Vallat
2003-11-07adress -> address, and a few more; all from Jonathon Gray;Jason McIntyre
(mvme68k/mvme88k) vs.c and (vax) if_le.c ok miod@ isakmpd ones ok ho@
2003-11-03spelling fixes (in the comments)David Krause
2003-10-05If attaching a wsdisplay console causes a font switch, do not update the PROMMiod Vallat
view of the cursor position, so that it comes back to a correct location when the system is shut down.
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-09-29avaliable -> availableMiod Vallat
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-01The Vigra VS10-EK is recognized as a cgthree clone, but due to its utterlyMiod Vallat
ridiculous resolution, we need to plug the "clear the screen and switch font" trick here too. [Thanks to Andrey Smagin for providing a card for testing]