summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2003-10-26Add line for wi@usb, currently commented out, for development and testing only.Dale Rahn
2003-10-26Driver for PRISM 2.5/3 based (wifi) USB adapters. This is a work in progress,Dale Rahn
it does not yet handle bulk data copies or hostap mode. Only one model currently supported, however driver may support other PRISM based adapters. ok millert@ fgsch@
2003-10-26More ansi/knf missed the first time around.Dale Rahn
2003-10-26Oops, I'm on drugs. Revert and blame gremlins for the state of my tree.Miod Vallat
2003-10-26Unbrek after recent wdc changes.Miod Vallat
2003-10-25Support the TI1410 Cardbus bridge found in some apple laptops. ok brad@Dale Rahn
2003-10-24If cons_backlight_available is not set, cons_brightness will not be valid,Dale Rahn
return -1 to indicate so. same as WSDISPLAYIO_PARAM_BACKLIGHT.
2003-10-24IPKDB has never been supported in OpenBSD/powerpc/macppc delete thisDale Rahn
old unused code. Remove very old 'where' debugging references. ANSI a previously missed function.
2003-10-22Search for the '/backlight' node to determine if backlight control isDale Rahn
available instead of looking for the backlight-control attribute. Fixes backlight control on some apple laptops.
2003-10-21Fix copy bounds, however did this work??? Well it didn't.Dale Rahn
Confirmed by nate@ and tedu@
2003-10-21spacing cleanup.Dale Rahn
2003-10-21Missed ANSI.Dale Rahn
2003-10-21This was changed from a magic number to a define in the header file,Dale Rahn
but this one was missed.
2003-10-20Instead of using xor to clear a register , use li <REG>,0 (load immediate)Dale Rahn
Easier to read and suppose to be slightly faster on some ppc processors. A bit of comment cleanup while here.
2003-10-19Use defines instead of magic constants for more IPL_ stuff, also sortDale Rahn
the IPL_ values by priority, not somewhat random values. No unmodified code relied on the order of these defines.
2003-10-18ANSI/KNF now that conflict has been resolved.Dale Rahn
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-16more whiteTheo de Raadt
2003-10-16There is no end to the ANSI/KNF journey.Dale Rahn
2003-10-16spacesTheo de Raadt
2003-10-16more ANSI/KNF.Dale Rahn
2003-10-15Further down the ANSI/KNF road, only binary difference is __LINE__.Dale Rahn
2003-10-15asm readability register names are %r0 instead of 0. No binary change.Dale Rahn
2003-10-15The ANSI/KNF trail continues. No binary differences.Dale Rahn
2003-10-08Fix endian bug in macppc bus_space_set_region_N(). ok miod@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-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-09-22Off-by-ones, from aaron@Miod Vallat
2003-09-06Fix boot -a, add protected cnpollc(). ok deraadt@Dale Rahn
2003-08-27Enable 'Snag' boot on newer Apple machines.Dale Rahn
2003-08-21These files were intended for X11 support, but serve no purpose nowadays,Miod Vallat
as sparc* do not use Xsun-compatible event interface anymore, and alpha only used this for Xtga which we do not ship anymore. Discussed long ago with matthieu@
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-14GENERIC is now safe(4)Jason Wright
2003-08-11move to 3.4-betaTheo de Raadt
2003-08-07Allow nested interrupts in the openpic interrupt controller, tested byDale Rahn
brad@ and miod@
2003-07-29Remove a diagnostic print which was left in the code to determine howDale Rahn
bad integer division is for calculation of the tick timer. Turns out that the typical error on most machines is < .005% just a few seconds per week. Not enough to bother with at this time.
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
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-14'dual' clock support for macppc, this allows the stat clock to runDale Rahn
at a rate independant of the HZ clock. when profiling is enabled stat clock now runs at 1000/s instead of the normal 100/s. Other improvements to the ppc clock handling and KNF/ansi.
2003-07-08The best read code of mice and men, ... (reviewed by /dev/null)Dale Rahn
2003-07-08Improved timebase register handling. use all 64 bits, instead of theDale Rahn
lower 32 bits.
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-07-02make ppc_intr_(enable|disable)() inlined functions.Dale Rahn
2003-06-27kqueue support for various usb devices including: usb, uhid, ugen,Nathan Binkert
and uscanner From NetBSD
2003-06-23bus_space_*_raw*_1() do not exist; drahn@ okMichael Shalayeff
2003-06-23Fix NAP/DOZE sleeping on powerpc. also on newer 745x machines use NAP notDale Rahn
DOZE, DOZE is not valid on these processors. Improves battery life on 12" PBG4 from 3 hours to 4 hours. tested by tdeval@
2003-06-16Use a slightly better way to intuit the memory/mmio PCI regions,Dale Rahn
now properly detects these for nvidia based LCDs. On some machines accellerated X using nv now works.