summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev
AgeCommit message (Collapse)Author
2003-10-17Merge an old fix from NetBSD:Alexander Yurchenko
- do not stop/unload current DMA operation if an IRQ was not detected by DMA engine unless the force flag was given, fixes DMA problems in shared IRQ setups; - ack interrupt before entering DMA codepath Tested by many. Work by niklas@ but he doesn't want to commit it for some reason.
2003-10-16spacesTheo de Raadt
2003-10-16more ANSI/KNF.Dale Rahn
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...
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-07Allow nested interrupts in the openpic interrupt controller, tested byDale Rahn
brad@ and miod@
2003-07-19The last parameter to _dma_init for wdc code is flags, not read,Dale Rahn
mask of just the desired bit. ok grange@
2003-07-07disable accidentially enabled 'debug' flag; ok drahnPeter Valchev
2003-07-02Use defines for the interrupt type, not magic numbers.Dale Rahn
2003-07-02Add a stub where code could be added to make use of the new key on recentDale Rahn
laptop keyboards (mirror display on F7). Documents the key, no functionality.
2003-07-02Reduce the amount of asm code in powerpc/macppc by replacing it withDale Rahn
inlined functions, helps improve readability and fix a couple of bugs. ok miod@
2003-06-16correct sense of rate check... oops.Jason Wright
2003-06-16rate setting is best effort, not precise, so figure out the closest sampleJason Wright
rate that goes with the requested rate, and return the chosen rate. ok drahn
2003-06-14add support for: ulinear_le, ulinear_be, ulinear:16 (partially based onJason Wright
NetBSD). ok drahn who let me reboot one of his laptops a LOT =)
2003-06-11Get rid of the '#if 1' nonsense.Dale Rahn
2003-06-11Previously DMA/UDMA was disabled on macppc RAMDISK kernels, I have notDale Rahn
heard of any DMA related failures on these machines. Remove the code (and the flag) which was previously used to enable DMA/UDMA modes on wdc_obio now it will default to always being on for known systems.
2003-06-06Fix a copied constant, mention why a number doesnt match linux, removeDale Rahn
duplicated line.
2003-06-05Cleanup and enable kauaiata DMA. Tables should be mostly saneDale Rahn
Please _TEST_.
2003-06-05ATA100 driver for apple's new machines, aka kauai.Dale Rahn
This is working with udma on a 12" PBG4, but dma is disabled for now, too many hardcoded values. 'wdc...flags 0x1' will enable it.
2003-06-03kill clause 3 and 4 from several of my copyrights, cleanup.Dale Rahn
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-11string cleaning; krw okTheo de Raadt
2003-02-12separate evirq into macintr and openpic versions (they just -happened- to beJason Wright
the same size). ok drahn
2003-02-09Swiss French ADB keyboard layout, tested against Powerbook keyboard markings,Miod Vallat
live from FOSDEM.
2002-12-08Remove header file which is unused since the removal of if_gm, pointed outDale Rahn
by brad@ some time back.
2002-10-18Remove some very pointless 'if 0' code, some of which prevented compilationDale Rahn
with gcc3.2, and add a ';' for a case statement as it requests.
2002-09-15backout prematureTheo de Raadt
2002-09-15KNFTheo de Raadt
2002-09-15KNFTheo de Raadt
2002-09-06Remove the gm driver, the MI gem works better at this point.Dale Rahn
2002-09-06Serial console support for macppc. Serial console will work if the modemDale Rahn
has been replaced with a serial port adapter on any machine that has a real serial port internally. This will also power on the internal modem for keylargo based machines (tested on original PBG4) when the serial port is open. ok miod@
2002-09-06use <> on include of machine/... files. also include bus.h so thatDale Rahn
types used in this file are available.
2002-09-06sizeof(pointer) is not what should be used here, should be sizeof(*pointer)Dale Rahn
pointed out by aaron.
2002-08-22Remove code, use common ether_crc32_le() routine.Dale Rahn
2002-08-22Configure the media in the initialization routine so that media/mediaoptDale Rahn
fields in hostname.bm0 will work correctly. This does not fix the 100MB receive problem, but allows media 10baseT in hostname.bm0 to set the speed to a working speed.
2002-07-09move common declarations to if_wivar.h; mickey@ and millert@ ok.Federico G. Schwindt
2002-06-28Recognize the Fn-arrow combinations (PgUp, PgDwn, Home, End) keys onMiod Vallat
Apple laptops. ok maja@
2002-06-23make CAPS_IS_CONTROL a default. pvalchev okJun-ichiro itojun Hagino
(translates weird ADB capslock keycode to more normal behavior)
2002-06-19Fix compilation error if option DEBUG is defined.Miod Vallat
Reported by Peter Philipp (pphilipp at mac dot com)
2002-06-18KNF (whitespace)Jun-ichiro itojun Hagino
2002-06-18"option CAPS_IS_CONTROL" will enable use of caps key as controlJun-ichiro itojun Hagino
(need wsconsctl keymap too)
2002-06-17Add UK keymap (tested on PBG4). Since it doesn't have a # key, do likeAnil Madhavapeddy
MacOS X and map it to Option-3. ok maja@
2002-06-09more arpcom ->sc_arpcom missing.Dale Rahn
2002-06-07Add wsconsctl recognition support for adb keyboard.Dale Rahn
2002-06-07Hand-editing diff file to remove a few chunks that you don't want toMiod Vallat
commit now sucks. Especially when you accidentally delete an important chunk. Put a few more pm_xxx() prototypes there to unbreak compilation, 10x maja@
2002-06-07Vacuum cleaning of the adb code, step 1: random KNF, remove mac68kMiod Vallat
leftovers, unused variables and functions, fix some comments, etc.
2002-06-07KNFMiod Vallat
2002-06-07Move more function prototypes to <machine/conf.h> as cdev_decl(foo)Miod Vallat
for safety.
2002-05-30Add a german keymap for iBook. Based on "Key Caps" on Mac OS X 10.1.4.Mats O Jansson
Created by me and tested by Peter Janze <janze@digitalblue.de>. -moj
2002-05-22Allow brightness buttons to affect the console brightness whenever possible;Miod Vallat
however, the brightness settings are neither saved in nor read from the nvram.