summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev
AgeCommit message (Collapse)Author
2007-10-14'expresion' -> 'expression'. Reported by Jung on tech@.Kenneth R Westerback
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-09-10Pass a real ipl level to add_nubus_intr(), and make sure the interruptMiod Vallat
handler is invoked with spl raised to the given level, otherwise all nubus interrupts are processed at level 2.
2007-09-04Reset the chip after internal memory exhaustion, makes the driver more solidMiod Vallat
with heavy NFS usage.
2007-07-29It turns out that VIA2 always interrupts at level 2, and IPL_BIO is always 2Miod Vallat
too, so we can make these constants.
2007-04-24It's never too late to write "too late" correctly.Miod Vallat
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-03-17Indentation repairs, no code change.Miod Vallat
2007-03-13Drop the second and third arguments to adb_op_sync, for they are not used;Miod Vallat
while there, remove explicit global variable initializations to zero, and appease the gods by removing the most ludicrous spurious casts. No functional change (except for code shrinkage).
2007-03-04Limit knowledge of splfoo() return values, and use mac68k_machine.via1_iplMiod Vallat
instead of hardcoded 1; this gets us rid of unnecessary polls on machines running with A/UX interrupts.
2007-01-22use the MI DP8390 driver instead of rolling our own functionsMartin Reindl
from NetBSD
2007-01-14zsprintf() is gone, fixes ZSMACDEBUG caseMartin Reindl
2007-01-12fix altq for mc(4); make mbuf functions return NULL instead of 0 whileMartin Reindl
there from Brad, tested by me on all three adapters
2007-01-12support a few more video cards, untested:Martin Reindl
Formac Baers/ProNitron 80.IVb Apple Mac II Monochrome Video Card VillageTronic Mac Picasso 340 Relax 19" Model 200 prodded by miod@ from NetBSD
2007-01-03shorten dmesg a bitMartin Reindl
2006-12-13Remove the dma_eop callback in the ncr5380 driver md attachment, it was alwaysMiod Vallat
doing nothing and the mi code does not use it anymore anyway. No functional change.
2006-12-06fix some multi-line comments and printfsMartin Reindl
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-09-16Do not use bus_space_write_multi and happily write to NULL and die, whenMiod Vallat
bus_space_set_region was intended. ok deraadt@
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