summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
AgeCommit message (Collapse)Author
2008-11-29unbreak tree breakage snuck inTheo de Raadt
2008-11-29Iain Hibbert (plunky@netbsd) removed clauses 3 and 4 from hisRay Lai
licenses as well. Thanks! "Groovy" deraadt
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
2008-11-07Add more initialisation steps (read reset register; pause; set burst sizeBrad Smith
in config register). From NetBSD
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-01Make SCSI isp(4) use the same SCSI initiator ID as the prom on sparc/sparc64.Mark Kettenis
ok marco@, krw@, deraadt@
2008-05-13Remove commented out NetBSD __KERNEL_RCSID macro usage.Brad Smith
ok dlg@
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2008-04-15It turns out the mysterious chip with the heatsink glued on, found on mgxMiod Vallat
video boards, is a known entity, so add support for 2d acceleration with the help of the X code (which makes baby Jesus cry). The blitter is fast enough to make a cgsix feel as slow as a cgthree in comparison.
2008-04-15Fix braino in mgx_loadcmap() invocation.Miod Vallat
2008-03-15Support the old-prom XVideo boards by rewriting the sbus range registers;Miod Vallat
tested by Thorsten Glaser <tg@mirbsd.de> on sparc; while there, pretty and shrink dmesg output.
2008-01-21use the right capitalization for `QLogic'Igor Sobrado
ok jsing@
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-09-11KNFGilles Chehade
prompted and "much better" by marco@, ok pyr@
2007-09-10more MALLOC/FREE -> malloc/free and M_ZERO changesGilles Chehade
ok pyr@
2007-08-06Fix another "that that".Tom Cosgrove
ok miod@ jmc@ deraadt@
2007-05-31use the right capitalization for `MBus' and `SBus'Igor Sobrado
ok jmc@
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-03-13When about to run X11 in 32 bpp mode, advertize correctly that we areMiod Vallat
really using 24 bpp pixels on 32 bit boundaries.
2007-02-28SBus parallel port driver, from NetBSD but untested (no printer or cables);Miod Vallat
this should hopefully stop people from asking me about it (-:
2007-02-18Make it more apparent these boards have (crippled version of) vga-compatibleMiod Vallat
crtc. No functional change.
2006-12-21nuke sc_enaddr here tooJason Wright
2006-12-21betetr yet, just nuke sc_enaddr all together, just fill in arpcom andJason Wright
everybody is happy
2006-12-17Remove unnecessary <dev/wscons/wscons_raster.h> inclusion.Miod Vallat
2006-12-09Do not make sun terminal emulation selected by the wsemul_sun frame bufferMiod Vallat
attribute anymore; remove it and use option WSEMUL_SUN instead, which gets added to all sparc* kernels. While there, do not compile vt100 emulation on sparc* kernels, this saves 16+ KB of text. ok deraadt@
2006-12-03Instead of invoking rasops_init with a wrong depth value to have someMiod Vallat
values computed better, prefer invoking it with the real thing and recomputing what needs to be afterwards. No functional change, but this allows fb.c to assume a few things about its callers.
2006-12-02Use ri_devcmap to get corrected color values, instead of directly usingMiod Vallat
WSCOL_xxxx values.
2006-12-02Use the unpack_attr emulops instead of doing an inline rasops_unpack_attr.Miod Vallat
2006-12-02zx needs rasops8 code for emulation modes, not rasops32.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-25initial stab at an SBus front end for gem(4). currently untested.Brad Smith
From martin@NetBSD
2006-08-14Fix 640x480 mode operation (needs a font change, and stride is larger thanMiod Vallat
width in this mode).
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-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-21Pick the sbus clock frequency from the attach args instead of peeking at theMiod Vallat
parent softc.
2006-06-21use __sparc__ and __sparc64__ instead of SUN4|SUN4C|SUN4M vs SUN4U to figureJason Wright
out which includes to use.
2006-06-21don't need #ifdef SUN4U any moreJason Wright
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-29Convert NetBSD new-style %b strings to old-style.Miod Vallat
2006-05-15Sprinkle bus_space_barrier()s after LANCE register writes, as already doneMiod Vallat
in if_le.c; ok jason@
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-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2006-03-04Do not redefine locally SET/CLR/ISSET macros from <sys/param.h>; no functionalMiod Vallat
change.
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-12Disable sync when blanking if display.vblank is set to off.Miod Vallat