summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
AgeCommit message (Collapse)Author
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-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
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-26Go back to spl0, previous change broke Cuda adb; reported by CarlMiod Vallat
Bloomsburg.
2006-09-24Bring hp300, mac68k and mvme68k disklabel initialization code intoKenneth R Westerback
line with all other archs by initializing partitions up to RAWPART the same way. Should be no functional change. ok martin@ miod@
2006-09-22Get rid of (unused) MACH_CLASSP580 and flatten MACH_CLASSxxx values.Miod Vallat
2006-09-17Crank VM_PHYSSEG_MAX to 8; while we do not expect more than 2 ranges in theMiod Vallat
worst case, the Booter will happily feed us up to 8 ranges, so we have to get prepared.
2006-09-17Shorten the area where interrupts are enabled to calibrate delay(), and runMiod Vallat
this at splclock() instead of spl0(), so that potential spurious network or scsi interrupts on machines running in A/UX interrupt mode do not hang there.
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-08-17Check d_secpercyl in all readdisklable() functions, and have all ofKenneth R Westerback
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@
2006-07-27Compile all kernels with -Wstack-usage-larger-than-2047, now that allMiod Vallat
offending code has been taken out and shot. 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-07-11Remove duplicate prototypes already in <sys/systm.h>Miod Vallat
2006-07-06Insert an empty page at the beginning of the kernel, so that we can map itMiod Vallat
invalid and have NULL pointer dereferences in the kernel fault now.
2006-07-06Adapt rtclock_intr() to the current interrupt scheme; from NetBSDMiod Vallat
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-30Shrink internal iomap to 256KB, it's enough for all the mappings we'll needMiod Vallat
in it.
2006-06-30On OSS systems (IIfx), compute addresses relative to VIA2 rather than VIA1,Miod Vallat
it's simpler.
2006-06-24Use pmap_enter_cache() instead of physacc() in bus_mem_add_mapping(), and letMiod Vallat
physacc() die. As a bonus, kvtop() dies too.
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-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
2006-06-11Clean the various cache and TLB invalidation function, arch by arch:Miod Vallat
- [DI]C{FL,PL,PP} and DCFA are only called on 680[46]0 systems and are identical on these platforms, so don't bother checking for the MMU type. - TBIAS is on 68060 codepath only. - DCIAS, PCIA and TBIA are specific to some platforms and do not need to be implemented everywhere.
2006-06-11Remove traces of cut'n'pasted 68060 support, since there aren't any 68060-basedMiod Vallat
macintoshes.
2006-06-11Move common prototypes to <m68k/{cpu,param}.h> instead of incompleteMiod Vallat
declarations in <machine/{cpu,param}.h> and elsewhere.
2006-06-11Factorize spl handling functions and software interrupt routines betweenMiod Vallat
m68k-based platforms.
2006-05-19Get rid of ``maxmem'' and fix the descriptive comment for ``physmem''.Miod Vallat
Either maxmem is not used (mac68k), or the position of the physical memory is set in stone so we don't need to know the top of the memory (MAXADDR on hp300, physmem on mvme68k) it was pointing to. Plus this gets rid of unused lowram on mvme68k - all the m68k world is not an hp300, after all.
2006-04-16Remove assert definitions which are provided by libkern.Miod Vallat
2006-04-16Remove bus_space_{read,write}_stream and bus_space_copy_region methods, whichMiod Vallat
are not used in OpenBSD.
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-19mountroot for disk devices shall be dk_mountroot(), not ffs_mountroot().Miod Vallat
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-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