summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
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.
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-16Check for the backlight control on the stdout_node (the LCD) rather thanDale Rahn
possibly the parent, which does not have the backlight-control property. Fixes brightness control on 'dual' node OFW diplays.
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-11The upgrade script depends upon that, if mount_foo is present on the ramdiskMiod Vallat
filesystem, option FOO is in the kernel. Ensure this for mount_mfs/option MFS as well, to prevent failing upgrades on some architectures. ok krw@ millert@
2003-06-09more 3/4 cleanup for pefoTheo de Raadt
2003-06-09pefo 3/4 licence cleanupsTheo de Raadt
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-05Cleanup:Alexander Yurchenko
- don't include both sys/types.h and sys/param.h - spaces vs tab - kill trailing spaces ok drahn@
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-043/4 cleanup for aaronTheo de Raadt
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-06-02add length checks on bus_dmamap_load_uio() on the total length vs. what theJason Wright
map is expecting. Also, sparc64 was missing the equivalent check in _load_mbuf() and the "make sure no valid mappings are returned" goop.
2003-06-02Relax licence by removing the 3rd clause on all files whereI was stillMiod Vallat
using a 3 clause licence.
2003-06-01Initialize minaddr to a sane value. at request of art.Dale Rahn
2003-06-01strcpy/strcat/sprintf removal in all bootblocks. various testing byTheo de Raadt
various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
2003-05-23remove old swapgeneric.c'sTed Unangst
2003-05-23move swapgeneric to truly generic code. tested on many archs by miod and ↵Ted Unangst
mickey.
2003-05-14complain about commons since they are all currently dead here.Jason Wright
2003-05-14add {b,c}devsw_lookup convenience functions.Ted Unangst
move chrtoblk and blktochr into MI code. tested on several archs and ok deraadt@
2003-05-13Add option NO_PROPOLICE, which explicitely disables the use of the propoliceMiod Vallat
stack protection when building kernels. Intended to be used on installation media, with tight space constraints - currently, only added where SMALL_KERNEL was already defined. Not thoroughly tested, but requested by deraadt.
2003-05-13remove -fno-stack-protector (enable propolice)Ted Unangst
ok deraadt@
2003-05-12Enable Intrepid's mac-io match.Thierry Deval
Ok drahn@
2003-05-11string cleaning; krw okTheo de Raadt
2003-05-07string cleaningTheo de Raadt
2003-05-02add eap and do a bit of cleaningJason Wright
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-06strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.Hakan Olsson
2003-03-21Now that ahc has the necessary endian fixes, enable it on macppc.Dale Rahn
2003-02-26Remove an unnecessary structure copy from useage of setfault(), callDale Rahn
by reference, not by value, ok matthieu#, miod@
2003-02-26Remove a poor error message which is emitted on perfectly fine MBR labeledDale Rahn
disks. If no label is found on the disk the 'correct' message is printed.
2003-02-26Volatile to prevent the optimizer from eliminating these, and fix theDale Rahn
argument order for mtspr.