summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2002-04-29Print out cache sizes on newer G4 processors. Partially from NetBSD.Dale Rahn
2002-04-26a little grammarMichael Shalayeff
2002-04-26properly allocate dmable memory for buffers (no malloc); drahn@ ok and testingMichael Shalayeff
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-04-22Fix a couple of typos.Miod Vallat
2002-04-20- the set-colors OF call takes a packed array of colors value,Matthieu Herrb
remove the extra padding byte in the vgafb_color struct. - store the initial colormap in vc->vc_cmap_{red,green,blue} so that it can be fetched by a WSDISPLAYIO_GETCMAP ioctl - fix the definition of the magenta color in the initial colormap. Ok, drahn@
2002-04-10Handle all pending adb interrupts when searching for devices.Dale Rahn
Adjust delays in the probe code. ok miod, matthieu, lebel, brad.
2002-04-08wi* at pci* works with PLX pci adapters.Dale Rahn
Note: true pcmcia bridges are not currently supported.
2002-04-05fxp does not work on powerpc.Dale Rahn
2002-04-05add wsmux to the macppc ramdisk, to allow all keyboards to attach.Dale Rahn
2002-04-05Use the OF set-colors operation instead of the color! operation, thisDale Rahn
interface seems to work on more machines, also is more efficient when XF4/wsfb is setting the palette. ok deraadt@
2002-04-02uncomment lxtphy(4) and enable eephy(4) in the RAMDISK kernel;lebel
asked by miod@, OK'ed by drahn@
2002-04-02new PowerBook G4 has a Marvell 88E1000 Gigabit PHY, model 6,lebel
so activate the eephy(4) device for it
2002-04-01s/3.0/3.1/ so that the CD will boot properly.Dale Rahn
2002-03-31enable wsmux on macppc, note that this will REQUIRE changes to XF86Config.Dale Rahn
2002-03-30Add support for WSCONS_COMPAT_RAWKBD to macppc, see warning sent to ppc@Dale Rahn
This is in preparation for wsmux support.
2002-03-30Use the extended keycodes to get real delete/pgup/pgdn/home/end.Dale Rahn
2002-03-29add numlock, pgup, pgdn, home, end.Dale Rahn
2002-03-29Change lower enter key to be 'Mode_Switch' like it was before.Dale Rahn
Add note for power button (not currently translated). Meta_L vs Super_L is still an issue (CMD/Win key) o CMD/Win key is Super_L not Meta_L, usb has this too. Changing to RAW will change swap Meta and Alt (to what is printed on key, not PC layout).
2002-03-28Add WSDISPLAY_COMPAT_RAWKBD (commented), add missing mux pieces.Dale Rahn
It is now possible to test wsmux with (recent) X. XF86Config changes are necessary in InputDevice Section: Protocol -> standard, remove Device.
2002-03-28All US keys beside KPEQ and Mode_switch? (enter key on laptops) fixed.Dale Rahn
2002-03-28Remove debugging that was forgotten.Dale Rahn
2002-03-28Replace magic values with appropriate constants.Miod Vallat
2002-03-28Doh, I'm on drugs.Miod Vallat
2002-03-28Better fix.Miod Vallat
2002-03-28be more careful about breaking the RAMDISK guysTheo de Raadt
2002-03-27Indicate which keys translations are missing.Dale Rahn
2002-03-27add WSDISPLAY_COMPAT_RAWKBD support for macppc, not complete yet, Fx keysDale Rahn
are missing in translation table. Not enabled yet.
2002-03-27tsk tsk tsk, compile it first.Dale Rahn
2002-03-27Don't use magic constants to the loop over the BAR, also, include theJason Wright
politically correct check for whether this is an io or mem mapping space.
2002-03-27knf (case labels align with switch)Jason Wright
2002-03-26Only allow valid device PAs to be mmapped.Dale Rahn
2002-03-26On the wdc_obio controller if one device is UDMA capable and one is not,Dale Rahn
downgrade the UDMA device to DMA. Works around a problem with old combo drives on some Apple machines.
2002-03-25dhartmei@ and I have been both running uaudio devices on macppc successfullylebel
for the past few weeks. drahn@ agrees.
2002-03-23typo repair; openbsd@davidkrause.comTheo de Raadt
2002-03-23Add variables for config(8) -e time tweak of systemV shared memoryMarc Espie
parameters. Ok millert@, miod@, maja@
2002-03-22add some phys for dc.Dale Rahn
2002-03-22add dc and hme to ramdisk kernel.Dale Rahn
2002-03-21dont forget the break.Dale Rahn
2002-03-21Recognize 7455 processor, distinguish between 7450/7451.Dale Rahn
2002-03-21Map up to 1G 1-1 using dbats, this disables dynamically swapped bats for now,Dale Rahn
until the issue with SR invalidation/loading is corrected.
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
the ANSI way.
2002-03-14Improved altivec support for powerpc/macppc.Dale Rahn
Fix bug where altivec context was not freed on process exit. Fix bug where vscr was not correctly saved/restored. replace asm statement was macros which expand to the same asm code or to .long XXX which evaluates to the same instruction since in-tree gas does not support altivec. Enable ALTIVEC support by default on macppc, still conditional for other powerpc ports.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-13Complete rewrite of the powerpc pmap handling, Instead of keepingDale Rahn
the spill list for each PTEG, the V->P translations are stored in trees for each pmap. All valid kernel mappings are preallocated in 1-1 memory so that tlb spill/loads for kernel accesses can be looked up while physical, user mappings are not guaranteed to be 1-1 mapped, thus the kernel must go virtual to look up user mappings. While this is more expensive, the tree search is much lower cost than the long linked list search. Also on each pmap_remove() it was necessary to search the linked lists for each possible mapping, now it just looks up the entry in the tree. This change gives a 25-36% speedup in 'make build' time. What was around 2:50 is now around 1:55 on a 733MHz G4. This change causes a likely existing bug to appear quite often, it deals with the segment register invalidation in kernel mode. Because of that problem, currently this change limits the physical memory used to 256MB. This limitation will be fixed soon, it is not an error in the pmap code. * Effort sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F30602-01-2-0537.
2002-03-12sync with KAMEKenjiro Cho
ALTQify more drivers. ok millert@
2002-03-11If the clock has lost over 1000 days, use the filesystem time insteadDale Rahn
of the hardware clock. Prevent clock screwage due to lost battery on laptops where the hardware clock goes back to 0. From NetBSD.
2002-03-09Completely rewritten keyboard detection mechanism. Instead of using theDale Rahn
openfirmware commands (which apple seems to have removed), walk the device tree attempting to detect what type of keyboard(s) are present. Give preference to USB if USB and ADB both found. If none found hope for USB. This does have a problem on RevC iMacs booting without USB keyboard, it seems apple left the adb device tree information which indicates an ADB kebyoard is present. This fixes newer ibook and PBG4 keyboard detection.
2002-03-08Remove the code which reenables interrupts in these interrupt controllers,Dale Rahn
they do not appear to be capable of handling all possible nested interrupts.