summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
AgeCommit message (Collapse)Author
2006-10-27If the lid is closed during boot, blank screen immediately.Miod Vallat
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
2006-09-24Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They wereKenneth R Westerback
not being used in the tree for anything obviously useful. Get it done early so we can find if there are non-obvious uses out there. ok deraadt@ beck@
2006-09-17No need to check for both cd_devs != NULL && cd_ndevs != 0, since the latterMiod Vallat
implies the former; no functional change.
2006-08-17(128 << fd->sc_type->secsize) instead of (128 * (1 << fd->sc_type->secsize)).Kenneth R Westerback
Makes all FD_BSIZE() defines the same. No object code change.
2006-08-14Fix 640x480 mode operation (needs a font change, and stride is larger thanMiod Vallat
width in this mode).
2006-08-14Now that DEV_BSIZE is universally defined as 1 << DEV_BSHIFT, use it toKenneth R Westerback
set d_secsize instead of 1 << DEV_BSHIFT. Just for textual consistency in setting d_secsize. No functional change.
2006-08-12Setting d_secsize to DEV_BSIZE (or 1 << DEV_BSHIFT, or 512) and thenKenneth R Westerback
setting RAW_PART's p_size to d_secperunit * (d_secsize / DEV_BSIZE) is a waste of a few ops. And p_size should be in sectors anyway. Just set RAW_PART's p_size to d_secperunit to make usage consistant across the tree. Should be a no-op.
2006-08-11An old dvorak typo was lurking here.Miod Vallat
2006-08-01make this more like a real cylon mode (no pauses at the end!)Theo de Raadt
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.