summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
AgeCommit message (Collapse)Author
2006-07-25Do not bother reading the existing colormap on attach, since we willMiod Vallat
override it with the rasops one.
2006-07-20fix various ways of spelling 'access' wrong in commentsMartin Reindl
2006-07-01Provide our own alloc_attr() routine for sun frame buffer, since the computationMiod Vallat
of highlighted color indexes is slightly different due to different black and white color code (and the fact that the default white is the highlighted white).
2006-06-30For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette insteadMiod Vallat
of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land.
2006-06-29No need to keep specific variables for the kernel messages colors on sunMiod Vallat
emulation, we can reuse the existing WSCOL_xxx codes, and WSCOL_BLACK and WSCOL_WHITE will point to variables anyway.
2006-06-29Map the correct size for the colormap registers (not that it really mattersMiod Vallat
since this is rounded up one page).
2006-06-25fix a typo in a comment and add the comment to the sparc hme driver.Brad Smith
2006-06-02sbus_establish() and the associated linked list in the sbus softc is now onlyMiod Vallat
used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
2006-06-02When trying to find leaf lebuffer devices, to work around broken old PROMs,Miod Vallat
walk the lebuffer_cd device list, instead of the sbus children list.
2006-05-27unknown ioctl is ENOTTY not EINVALJason Wright
2006-04-29fix build after timestamping addition; sparc pointed out by pvalchev@Christian Weisgerber
2006-04-272 lines of code in most drivers, to do the timestamping; ok miod kettenisTheo de Raadt
2006-04-16Convert the last remaining net-driver users of ether_input to ether_input_mbuf.Christopher Pascoe
sgec ok martin@ if_ie ok miod@ if_de, if_hp not in GENERIC ok brad@
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-15Entries in cd_devs[] may be NULL, so be sure to check for them in yourMiod Vallat
device open() function.
2006-03-12Previous fix was half-done, move the wsscreen_list array into the softcMiod Vallat
as well.
2006-03-12When attaching a wsdisplay, the wsscreen_list structure can not be on theMiod Vallat
stack; found the hard way by Stefano <stefano@merlinobbs.net>.
2006-03-04These devices are DV_DULL, not DV_IFNET... not that it really matters.Miod Vallat
2006-03-04Properly display underlined space characters.Miod Vallat
2006-02-25Put quotation marks around names of unconfigured devices.Mark Kettenis
ok deraadt@
2006-02-22Constify arrays and strings; plus KNF.Miod Vallat
2006-02-22Attach as scf0 as per the config(8) stanza, instead of sysconfig0.Miod Vallat
2006-02-12Disable sync when blanking if display.vblank is set to off.Miod Vallat
2006-02-12Run the tvtwo emulation mode in the 8 bit plane, and keep mapped mode 32 bit.Miod Vallat
2006-02-12Don't cause the screen border to be black; but we have to clear the wholeMiod Vallat
screen until console uses a low-depth plane; and if I could remember who to thank for the Xvideo board I got via Wim, things would be even better.
2006-01-22b_cylin -> b_cylinder; no functional change.Miod Vallat
2006-01-20b_un.b_addr -> b_data; no functional change.Miod Vallat
2006-01-20Use <dev/sun/disklabel.h> instead of similar <machine/sun_disklabel.h> onMiod Vallat
sparc and remove unused sun_dkioctl(). No functional change.
2006-01-15Sync sc_memcopy and sc_memzero signatures with bcopy and bzero.Miod Vallat
2006-01-12- add a missing htons() to the receive checksum routine to fixBrad Smith
checksumming on little endian systems. - only set the Ok flag in the checksum routine. Checksumming fix from: Pyun YongHyeon <pyunyh at gmail dot com>
2006-01-09Remove completely obsolete comment from the pre-wscons sparc days inMiod Vallat
zs_getc().
2005-12-25Return proper frame buffer type rather than generic SUN24 id, Xwsfb has knownMiod Vallat
the proper id for a long time already...
2005-11-23use proper bus_size_t for register offsets and not bus_addr_t; uwe@ miod@ ↵Michael Shalayeff
testing
2005-11-11Enable or disable keyclick on attach, based upon the PROM keyboard-click?Miod Vallat
property. Tested with type 3 and type 4 keyboards.
2005-11-11fix kgdb compilation; input and ok miod@.Federico G. Schwindt
2005-11-09splimp -> splnetBrad Smith
2005-08-14Add more flexibility to the fast trap handlers mechanism:Miod Vallat
- add the ability to deregister a fast trap handler. - when registering a fast trap, provide an optional callback which will be invoked if we try to register a regular trap handler later; the callback will be responsible to replace the fast trap handler with a regular trap handler (and is allowed to fail). Alter audioamd(4) to take advantage of this, so that it can share its interrupt with stp(4) on SPARCclassic machines. Problem found the hard way and fix tested by Jason George; discussed and ok deraadt@
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@
2005-07-19On the SPARCbooks, allow tctrl(4) to control the external video output,Miod Vallat
acting when the external display status changes, with the help of the pnozz(4) driver.
2005-07-17Oops, forgot to commit this file (Tadpole SPARCbook modem attachment code).Miod Vallat
2005-07-17If the internal battery is missing, report it as absent rather than in anMiod Vallat
unknown state.
2005-07-17Always turn off video when the lid is closed; this behaviour was lost in r1.8.Miod Vallat
2005-07-17Do not claim this driver uses a soft interrupt in dmesg since it is not true.Miod Vallat
2005-07-09Do not #include "foo.h" and keep the whole file between #if NFOO >0 ... #endif,Miod Vallat
config(8) will not bring us into play unless NFOO > 0 anyway.
2005-07-09In the interrupt handlers, clear the interrupt condition explicitely;Miod Vallat
saves us a few unnecessary colormap updates.
2005-07-08The Tadpole SPARCbook S3000XT apparently needs auxio bit frobbing, in additionMiod Vallat
to a tctrl command, to turn the screen off (or back on), so deal with it. (untested)
2005-07-08Do not report the battery status as critical but absent, when the batteryMiod Vallat
is missing.
2005-07-08Add power hooks to the zs devices on sun4m if they have a pwr-on-auxio2Miod Vallat
property (as found on sparcbooks). If so, frob the appropriate auxio2 bit to enable and disable the port as necessary.
2005-07-08Fix external video synchro constants.Miod Vallat