summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev
AgeCommit message (Collapse)Author
2004-01-04attempt to make these compile again after recent wdc changes.dbj
2004-01-03More wdc_channel structure member namespace cleanup:thorpej
- channel -> ch_channel - wdc -> ch_wdc
2004-01-03Rename "struct channel_softc" to "struct wdc_channel".thorpej
2004-01-01Rename:thorpej
- wdc_xfer to ata_xfer - channel_queue to ata_queue and move them to <dev/ata/atavar.h> so they can be used by non-wdc ATA controllers. Clean up the member names of these structures while at it.
2003-12-31Simplify allocation of the channel queue.thorpej
2003-12-27Initialize some auto vars to appaise gcc3.mjl
2003-12-27add support for the Keywest I2C and snapper audio device, as found ongrant
some iBook and PowerBook models. this driver was written by Tsubai Masanari and further hacked on by Jared D. McNeill to work on his iBook. the driver is limited (master volume control only, and I haven't tested recording) but has been functioning perfectly on my PowerBook g4 DVI (ivory) for some time. ok'd by matt.
2003-12-07Enable RSSI-based rate-adaptation for wi(4). This enables wi(4)-baseddyoung
APs to run at "full speed" where before they ran at just 1 or 2Mb/s. The AP will adapt the data rate for each client based on packet losses and the received signal strength. I have also enabled rate adaptation for STA mode and for IBSS mode, but the hardware gives us less control over the data rate in those modes.
2003-12-04netbsd.org -> NetBSD.orgkeihan
All "netbsd.org" is now gone from src/sys/arch.
2003-12-03Adapt for new wdc regiosters array. Should fix port-macppc/23604.bouyer
2003-11-16Add data-link type DLT_IEEE802_11_RADIO to wi and atw. DLT_IEEE802_11_RADIOdyoung
lets you monitor radio stats like received signal strength, which diversity antenna was used, channel/frequency, modulation, and data rate.
2003-11-13eliminate uvm_useracc() in favor of checking the return value ofchs
copyin() or copyout(). uvm_useracc() tells us whether the mapping permissions allow access to the desired part of an address space, and many callers assume that this is the same as knowing whether an attempt to access that part of the address space will succeed. however, access to user space can fail for reasons other than insufficient permission, most notably that paging in any non-resident data can fail due to i/o errors. most of the callers of uvm_useracc() make the above incorrect assumption. the rest are all misguided optimizations, which optimize for the case where an operation will fail. we'd rather optimize for operations succeeding, in which case we should just attempt the access and handle failures due to insufficient permissions the same way we handle i/o errors. since there appear to be no good uses of uvm_useracc(), we'll just remove it.
2003-11-04. ANSIfy, make compileaymeric
. get rid of kbd_intr() and low-level keyboard handling
2003-11-02Squish some recent compiler warnings.thorpej
2003-10-27Stop false uninitialized variable warning.dyoung
2003-10-26Remove optimization hack.mycroft
2003-10-20Reorganize the way powerpc port install machine specific headers.matt
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and <powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure 1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include "../../powerpc/include/Makefile" in "arch/FOO/include/Makefile". Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
2003-10-13Switch wi(4) to the new 802.11 layer.dyoung
2003-10-08Adapt for wdcattach() prototype change, and deal with atabus inbouyer
device_register().
2003-09-25Hide the use of config_interrupts() in one place.mycroft
2003-09-191) Use config_interrupts() to attach IDE and ATAPI drives. This eliminatesmycroft
most polling. 2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path (it's gratuitous) and simplify the code by calling pciide_map_compat_intr(), *_set_modes() and wdc_print_modes() from central locations. 3) Add a register writability and register ghost test to eliminate phantom drives more quickly.
2003-08-24recognize the latest version of the GMAC.chs
2003-08-17recognize the product ID used on the latest G4s.chs
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-07-28Correct comment in FORCE_FUNCTION_KEYS code; the 0x0b (eject) button isnathanw
on the f12 key, not f7 (the keycode value was correct for f12 already).
2003-07-24Add an option, enabled with the FORCE_FUNCTION_KEYS macro, that convertsnathanw
"hotkey" abtn events into the function-key akbd events for the keys that they're actually on (though the eject/f12 mapping is probably wrong for the 12" PowerBook G4).
2003-07-24Make kbd_passup() an exposed function.nathanw
2003-07-15__KERNEL_RCSID()lukem
2003-07-09After the recent changes to if_ieee80211.h, we need to includehe
if_media.h earlier.
2003-06-29Back out the lwp/ktrace changes. They contained a lot of colateral damage,fvdl
and need to be examined and discussed more.
2003-06-29'struct proc *' -> 'struct lwp *' as required to get GENERIC for macppc builtdarrenr
2003-06-19Fix wdc_obio_dma_init() confused WDC_DMA_LBA48 with WDC_DMA_READ.hamajima
This was tested by jtb@netbsd.org.
2003-06-11Support the PowerBook G4 12-inch (and maybe 17-inch).hamajima
Kauai ATA, new obio chip, and Japanese keymap for WSDISPLAY_COMPAT_RAWKBD I tested only 12-inch Japanese model.
2003-06-04In mcstop(), don't clear IFF_UP. Other drivers don't mess with IFF_UPbjh21
internally, other than to set it when they gain their first address. Every caller of mcstop() bar one was either preserving the state of IFF_UP itself or was conditional on its already being clear, so the only effect of this is to simplify the code and to change that one case, thereby curing PR port-macppc/12088 (underflows on "mc" cause it to be taken down).
2003-05-03DMA, not dma nor Dma.wiz
2003-04-09G/c the traceq; nothing uses it.thorpej
2003-04-09Use PAGE_SIZE rather than NBPG.thorpej
2003-04-02Use PAGE_SIZE rather than NBPG.thorpej
2003-03-05Forgot dummy printf.soren
2003-03-05Be more verbose about unsupported keys.soren
2003-03-04Attach on recent TiBooks.soren
XXX The mixer doesn't work yet.
2003-02-23Merged mac68k and macppc keayboards, since they are the same. The filemanu
could move to <arch/mac> if one day we create it. Fixed french keymap: option was not mapped correctly, thus making impossible to use |{}[] (tested). Added jp keymap from PR/15438, and sf, sv, de and uk keymaps from OpenBSD. (all untested).
2003-02-15Initialize the framebuffer BAT with BAT_G, too. This marks the regionbriggs
as (G)uarded, protecting it from the processor being too aggressive in reordering and prefetching. This allows OFB_ENABLE_CACHE to work on my Powerbook G4. Thanks to matt@ for suggesting this fix. "It's the right thing to do."
2003-02-15Add prototypes for ZS_TXDMA functions.tsutsui
XXX Maybe we should have DMA hooks in MI z8530tty.
2003-01-28Provide locking required by the interrupt handlers running at IPL_SERIAL.pk
2003-01-01Use aprint_normal() for cfprint routines.thorpej
2003-01-01Use aprint_normal() in cfprint routines.thorpej
2002-11-26si_ -> sel_christos
2002-10-23merge kqueue branch into -currentjdolecek
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2) based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-13Support 48kHz by using aurateconv.wiz
Based on a patch by TAMURA Kent -- thanks!