summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev
AgeCommit message (Collapse)Author
2006-07-11the scsi_link structure contained a copy of the inquiry flags and the wholeDavid Gwynne
inquiry. this removes the flags member and makes all its users refer to the whole inquiry now. ok miod@ krw@
2006-06-30When allocating the default rasops attribute, it is not necessary to useMiod Vallat
non-zero parameters on a color display as long as we want white on black; this was inherited from sparc but this is not necessary on these platforms.
2006-06-24Allocate ethernet buffers as uvm pages, and map them with pmap_enter_cache(),Miod Vallat
instead of crossing fingers and expecting malloc() to return aligned and contiguous memory.
2006-04-16Remove assert definitions which are provided by libkern.Miod Vallat
2006-04-14rm trailing whitespaceMartin Reindl
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-23- Remove variable names from function prototypes.Brad Smith
- Use ether_input_mbuf() and bpf_mtap(). From NetBSD ok martin@
2006-03-23Use PAGE_SIZE instead of NBPG.Brad Smith
2006-03-23ANSI and KNF.Brad Smith
2006-03-23ANSIfyBrad Smith
2006-03-15Entries in cd_devs[] may be NULL, so be sure to check for them in yourMiod Vallat
device open() function.
2006-03-13Put wsscreen_list array inside the softc instead of on the stack; similar fixMiod Vallat
as happened on hp300 and sparc* yesterday.
2006-03-13Although we can not currently run the glass console with colors if in anMiod Vallat
indexed mode, remember the colormap information (if any) when the real driver attaches, and use it to allow for X11 to control the colormap. This allows glass console and 8bpp X11 on DAFB (previously, this would only be possible if the console was on cereal).
2006-03-13remove splimp.Brad Smith
ok miod@
2006-03-04Set up a ``different shades of gray'' palette at 2bpp, this gives usMiod Vallat
highlighting.
2006-02-26skip common macfb attachment on unknown cardsMartin Reindl
ok miod@ deraadt@
2006-02-25initialize rv to zero avoiding match on whatever is just next on the busMartin Reindl
2006-02-12Remove packets from the queue before calling their completion routine, asMiod Vallat
done on macppc.
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-30Do not disable frame buffer interrupts in the match() function, but ratherMiod Vallat
in attach().
2006-01-30swap B and R in 24bpp and 32bpp modes too; tested martin@Miod Vallat
2006-01-30pretty printf, for 32bit modeMartin Reindl
ok miod@
2006-01-29SMC91CXX NuBus hooksMartin Reindl
from NetBSD
2006-01-23Be more careful when mapping DAFB color registers, so that we don't preventMiod Vallat
esp to map the turbo registers on Q700/900/950.
2006-01-23Be sure to clear color capabilities from rasops at 8bpp if we do not haveMiod Vallat
a setcolor routine.
2006-01-22Colormap support for DAFB frame buffers (using information from Linux).Miod Vallat
However, color can not be enabled in emulation mode if the display is the console at this point, but 8bpp X11 works.
2006-01-22Add bus_space_vaddr() and use it instead of accessing private bus_spaceMiod Vallat
fields. No functional change.
2006-01-22Print adb subsystem name early in attachment, and pass the proper deviceMiod Vallat
name to interrupt counter registration, rather than "adb".
2006-01-20Remove unused stuff.Miod Vallat
2006-01-20Make sure we can only match once for internal video.Miod Vallat
2006-01-18Factorize akbd and ams drivers between mac68k and macppc; while there, startMiod Vallat
moving out common adb code as well, and merge adb_direct.c into adb.c to simplify external header files. No functional change; more cleanups to come.
2006-01-16Do not register adb and pm interrupts until the related devices initialize.Miod Vallat
2006-01-16Let the intrhand structs be softc fields, rather than static global variables.Miod Vallat
2006-01-13Remove the Mac Rom Glue code completely. With the ADB ``direct'' code beingMiod Vallat
used by default, and since all PRAM accesses are either directly fiddling with VIA registers or through ADB commands, the MRG code has no reason to stay. This means the kernel is now not running unknown PROM code anymore.
2006-01-10Simplify external macfb interfaces, kill an intermediate attachment structure.Miod Vallat
2006-01-09Introduce a wsdisplay type for mac68k frame buffers; we might need to becomeMiod Vallat
less generic in the future, though.
2006-01-09Remove completely obsolete comment from the pre-wscons sparc days inMiod Vallat
zs_getc().
2006-01-09Ditch the grf frame buffer abstraction, and directly attach macfb toMiod Vallat
either obio or nubus. No functional change, shaves a few more KB...
2006-01-09Remove duplicate defines with if_ether.hMiod Vallat
2006-01-09Restore console bell functionnality lost in the wscons merge.Miod Vallat
2006-01-08Remove unused grf_softc members; do not keep temporary data in grf_softcMiod Vallat
either, instead keep it on the stack or directly in attachment structures. No functional change.
2006-01-08Drop native MacOS support from the adb direct code, and skip callbackMiod Vallat
wrappers used to convert between MacOS pascal calling convention and the C calling convention, unless option MRG_ADB. No functional change.
2006-01-08Display unhandled adb devices as "whatever at adb0 addr X" like all buses do;Miod Vallat
while there, make the detailed descriptions dependent on ADBVERBOSE (enabled in GENERIC) instead of DIAGNOSTIC.
2006-01-08Advertize color on non-indexed modes, and swap blue and red at 16bpp (might beMiod Vallat
necessary at 24 and 32bpp as well).
2006-01-08Use Nubus-related constants from <machine/cpu.h> instead of hardcoded values.Miod Vallat
2006-01-08Switch macfb from an rcons backend to a rasops backend; supposedly restoresMiod Vallat
all pixel depth operation, but there are still font display problems at 4bpp and 16bpp at the moment; also make sure the display is white on black, whichever colour depth we are in.
2006-01-08Oops, don't forget to initialize the raw repeat timeout; lost while cleaning.Miod Vallat
2006-01-07Do not set ZS_HWFLAG_CONSOLE if we are only using the serial line forMiod Vallat
``serial boot echo''.
2006-01-05More dead constants.Miod Vallat
2006-01-05A match() function should never, never, ever return UNSUPP for unsupportedMiod Vallat
hardware - if only because UNSUPP is 2, not 0. So you'll match, and later have to do ``oops, twas not my fault, honest'' in attach.