summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev
AgeCommit message (Collapse)Author
2005-09-12- Add byte-swap and stride options to bus_space.Martin Reindl
- Add bus_space_*_stream_N functions - Replace PGOFSET with m68k_trunc_page() or m68k_page_offset() from NetBSD, testing help by otto@
2005-08-09Save a variable in espmatch(), vm_offset_t->vaddr_t, print DEBUG addressMartin Reindl
after everything else, fix transfer sizes on quick/non-quick and attach sub devices after interrupts are configured. from NetBSD
2005-08-06overhaul the grf driver:Martin Reindl
- Simplify grfmv_phys() to work like grfiv_phys(), and eliminate the second argument to both, as we don't use it anyway. - Handle fbbase and fboff consistently throughout. - Eliminate grfaddr() by pulling it into grfmmap(), which is the only place it was used, previously. - grfmap() now gets the physical address of the framebuffer from the appropriate driver, rather than try to compute it by itself. Be careful with aligning the base to a page address and increase the length of the mapped region appropriately. - Store the PA of the framebuffer in the softc. This eliminates the need for the sc_phys callback; we can just store the PA in the grfbus attach args, rather than a function pointer, which simplifies the code nicely. - Disable Valkyrie interrupts on the Quadra 630 - New and improved console framebuffer initialization and autoconfig. This resolves a great many issues, including Performa 58x interrupt handling and offset displays on some models. - Remove unused grf ioctls - Some KNF and other minor things help and ok miod@ from NetBSD
2005-08-05- missing m_free()Martin Reindl
- drop unused define from NetBSD
2005-08-01unmap correct size, oopsMartin Reindl
2005-08-01- disable video interrupts on AV machinesMartin Reindl
- unmap unused DAFB registers on all other Quadras after attachment from NetBSD
2005-07-23- no need to include sys/dkstat.hMartin Reindl
- some formatting fixes and KNF
2005-07-23vm_offset_t -> {vaddr_t, bus_addr_t}Martin Reindl
2005-07-23tabbingMartin Reindl
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-06-12handle SuperMac Thunder/24 interruptsMartin Reindl
2005-06-08remove netns crud.Henning Brauer
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
2005-06-07CCITT about to bite the dust, remove special casing in archs and driversHenning Brauer
2005-05-26Sync with uvm_mmap() api change.Miod Vallat
2005-05-22remove "0x" in front of %p in printfs.Artur Grabowski
eyeballed by krw@
2005-05-01- Sync nubus IDs with NetBSD and add some moreMartin Reindl
- add support for reading sMemory resources from nubus cards (currently unused) - support a bunch more nubus video cards. The Miro PRISMA GX seems to handle interrupts like the Radius DirectColor/GX, so just treat it the same. ok miod@
2005-04-26new NuBus slot space mapping/probing code utilizing bus_space(9)Martin Reindl
ok miod@ from NetBSD
2005-04-24- switch Scott Reynold's copyright to 3-clause BSDMartin Reindl
- do not attach on the MacTV, fix base address on the IIfx (untested) - no need to count sc->sc_ringing up, just set to 1 if ringing; timeout fix ok miod@ from NetBSD
2005-03-04match a bunch more Nubus cards from NetBSD;Martin Reindl
makes my DaynaPORT E/II-3 work
2005-02-11for reference purposes it makes more sense to have NetBSD RCSID here;Martin Reindl
also fix a typo in comment
2005-01-15make sure interface is in RUNNING state before touching the multicast filtersBrad Smith
From NetBSD NetBSD PR 27678 for details ok mcbride@
2005-01-04- make sure int is in running state before touching the multicast filterBrad Smith
- remove song and dance with IFF_UP, based on NetBSD commit to mc(4) ok martin@
2005-01-04ifdef MCDEBUG printf on FIFO overflows as discussed with NickMartin Reindl
2005-01-04martin' last commit made mc(4) reset the multicast filter twice.Brad Smith
2004-12-26TyposMiod Vallat
2004-12-15sync with NetBSD but replace hand crafted crc logic with ether_crc32_le()Martin Reindl
ok miod@
2004-12-13Store the local ethernet address in struct arpcom and suddenly mc(4) startsClaudio Jeker
working. OK miod@
2004-12-13Dead meat.Miod Vallat
2004-12-10pseudo-DMA for non-AV Quadras, inspired by NetBSDMartin Reindl
with lots of help from miod@ additional testing by nick@ and otto@ ok miod@
2004-12-09add missing line in history section that didn't make it through the firstMartin Reindl
syncing round pointed out by Dries Schellekens <gwyllion at ulyssis dot org>
2004-12-08Register serial interrupts on the right sources on AV machines, was brokenMiod Vallat
after the interrupt code change; from NetBSD.
2004-12-08Tweak interrupt handling code to allow shared interrupts for VIA2 sources.Miod Vallat
This will be necessary shortly.
2004-12-08Only map the DAFB video registers in attach, so that other code can mapMiod Vallat
the non-video parts. Will be necessary shortly.
2004-12-03Always attach intvid even if the monitor sense code seems wrong; this isMiod Vallat
the case with non-Apple monitors connected with video adaptors.
2004-12-02Oops, repair *SBC kernels.Miod Vallat
2004-12-01Let kernels with option DEBUG link again.Miod Vallat
2004-11-28Correct pmap_enter() flags usage.Miod Vallat
2004-11-26More interrupt system cleaning and homogenization:Miod Vallat
- switch all interrupt functions to an int (*)(void *) prototype. - do not register dummy functions for all unhandled interrupts, instead let the dispatchers cope with NULL. - add evcount interrupt counters.
2004-11-25Move towards a more flexible and generic interrupt system, as well as betterMiod Vallat
zs behaviour. From NetBSD; integration work by Martin Reindl
2004-08-03the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@Todd T. Fries
2004-04-16probe correct amount of RAM on cards that have 64KB memoryXavier Santolaria
>From: NetBSD tested by Martin Reindl and nick@. ok nick@.
2004-04-02set correct MAC address for Farallon eth' cards.Xavier Santolaria
Tested by Martin Reindl <mreindl at catai.org> ok miod@.
2004-03-09typo; from Martin Reindl <mreindl at catai.org>Xavier Santolaria
ok jmc@.
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
necessary. No functional change.
2004-01-13Then, kill %: printf format...Miod Vallat
2004-01-10Sorry miod, this file is needed. Look at the bottomBob Beck
of mac68k5380.c
2004-01-09typos from Jared Yanovich;Jason McIntyre
2003-12-21Unused.Miod Vallat
2003-11-03spelling fixes (in the comments)David Krause
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...