summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/pci
AgeCommit message (Collapse)Author
2004-03-17Better backlight detection on macppc, ok miod@ krw@ (a bit ago)Dale Rahn
2004-01-27viritual -> virtualMiod Vallat
2003-12-20Pass -WformatMiod Vallat
2003-11-12Be sure to cast the wsdisplay accessops cookie into the adequate structure;Miod Vallat
prevents wsconscfg from panic'ing the system. Reported by ``kluxis''.
2003-11-03spelling fixes (in the comments)David Krause
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-21spacing cleanup.Dale Rahn
2003-10-15Further down the ANSI/KNF road, only binary difference is __LINE__.Dale Rahn
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-09more 3/4 cleanup for pefoTheo de Raadt
2003-06-09pefo 3/4 licence cleanupsTheo de Raadt
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-05-12Enable Intrepid's mac-io match.Thierry Deval
Ok drahn@
2003-05-07string cleaningTheo de Raadt
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-02-26Remove an unnecessary structure copy from useage of setfault(), callDale Rahn
by reference, not by value, ok matthieu#, miod@
2003-02-18intial -> initial;Jason McIntyre
the great intial witch hunt, as prompted by tdeval@ os-aix-dso.c: ok henning@ ab.C: ok drahn@
2002-11-09Instead of relying on uvm_useracc(), get a false sense of security, andMiod Vallat
do not check copyin() result, take care and properly handle copyin() failure. This was not harmful, but a bit more correctness never harms.
2002-10-17Correct io space config after last patch. allows fxp to workDale Rahn
(with pending fxp BE diffs)
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-10-07Improved workaround for cardbus support on macppc. This allows mappings toDale Rahn
be put in the cardbus register which really work instead of crashing the machine. if_dc @cardbus now works, xl@cardbus will configure, but does not work properly (endian?) wdc should work fine, but has not been tested recently.
2002-09-23Print pci_addr_fixup info when debugging is enabled, not disabled, ok deraadt@Dale Rahn
2002-09-17Until vgafb on macppc properly support non-console operation, doDale Rahn
not allow it to execute code which could panic the otherwise booting system.
2002-09-15backout prematureTheo de Raadt
2002-09-15KNFTheo de Raadt
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-06KNF.Dale Rahn
2002-09-06wscons display should have a console priority of INTERNAL, not REMOTE.Dale Rahn
ok miod@
2002-08-02Do correct bounds checking in get/set/put cmap routines. A few ofTodd C. Miller
these check were already OK but have been modified for consistency. Problem found by Silvio Cesare.
2002-07-29Recognize additional host bridges, pretty printing only, no function diff.Dale Rahn
2002-07-23Cardbus/pcmcia support for macppc. parts borrowed from NetBSD, and otherDale Rahn
portions of the tree.
2002-07-21cleanup, mostly 'if 0'ed code removal.Dale Rahn
2002-06-27Do not muck with the color palette unless the console depth is 8 bit.Dale Rahn
32 bit depth console and wsfb now work (If firmware is forced to that depth).
2002-05-22- in the OpenFirmware console initialisation, check if the console deviceMiod Vallat
has support for backlight control (laptops do, and probably machines with a built-in monitor do as well). - provide a function to set the screen brightness as well. - use both changes above to add a screen blanker to the vgafb driver - let the screen brightness and backlight be controlled via wsconsctl - clean dust, KNF, and more symbolic names in the vgafb driver to make it better readable Initial code by myself, with some hacks from drahn@ later.
2002-05-18Workaround for color restoration on return from X. vgafb will notDale Rahn
reset the color palette to it's default colors when going back to text mode. Would be better to fix this in the X server. ok matthieu@
2002-04-29Better colors from rasops cmap, and enable all rasops features.Dale Rahn
ok miod, mattheiu
2002-04-29Change macppc vgafb from rcons to rasops, a faster color supporting virtualDale Rahn
terminal emulator for gfx console. tested by mattheiu, miod.
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-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-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-26Only allow valid device PAs to be mmapped.Dale Rahn
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-02cleanup.Dale Rahn
Code reorganization to support pci-pci bridges on the interrupt fixup code. Interrupts on devices behind pci-pci bridges should not be configured properly.
2002-02-23remove unused file.Dale Rahn
2002-01-26Kludge, protect against bus faults during pci probes. allows OpenBSDDale Rahn
to boot on a B&W G3.