summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/pci
AgeCommit message (Collapse)Author
2001-07-09protos, includes, and terransMichael Shalayeff
2001-07-09protos and spacesMichael Shalayeff
2001-07-09proper vtophys types, spaces, protosMichael Shalayeff
2001-07-09looking at other archs vtophys lives thereMichael Shalayeff
2001-07-04$OpenBSD$Niklas Hallqvist
2001-06-29Include/header cleanup. More.Dale Rahn
2001-06-27kill old vmArtur Grabowski
2001-06-26Add pciide support for powerpc.Dale Rahn
Yes Theo, you found my bug, but the tree broke because you referenced devices that were not enabled, yet.
2001-06-26Add support for the new iBook. from netbsd. ok @drahn. -mojMats O Jansson
2001-06-26Cleanup of interrupt configuration, move prototypes to header file,Dale Rahn
not in each file.
2001-06-25closer to building with -Wno-uninitializedDale Rahn
2001-06-25add MACOBIOVERBOSE as per discussion w/ daleMichael Shalayeff
2001-06-25obio -> macobio, and cleanupsTheo de Raadt
2001-06-25Improved debug-ability printfs. now under ifdef PCI_DEBUGDale Rahn
2001-06-24Allow mmap to map the vga memory/register at the physical address,Dale Rahn
if the program has read the physical address out of the pci config space.
2001-06-24Smattering of symbol type cleanup.Dale Rahn
2001-06-17Allow for more than 5 interrupt attribute values. awacs has 6.Dale Rahn
2001-06-10Post pmap_extract() changes cleanup.Dale Rahn
bus_addr_t vs vaddr_t/paddr_t Return correct value for poalloc();
2001-06-08Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface toArtur Grabowski
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
2001-05-25Fix color table initialization for powerpc with wscons.Dale Rahn
Without this fix some systems could come up black on black.
2001-03-29Ok, forgot to clean up debug prints before checkin on that file.Dale Rahn
2001-03-29Detect pci bus base more accurately, and save it's size.Dale Rahn
2001-03-29Add support structures for bus space detection/allocation (pci_addr_fixup).Dale Rahn
2001-03-03Change how PCI bus memory base address is found for powerpc.Dale Rahn
This is probably quite a hack. however some bridges have multiple "memory" segment according to the openfirmware data. one is the pci device probe register area, and the one or two more that are real address regions. Such as base 0x80000000 sz 0x10000000, base 0x90000000 sz 0x10000000. This should really be one region but detecting the "last" region to avoid the first region causes the wrong base address to be picked. Currently this hardcodes it to 0x80000000 because it seems to work for "normal" pci currently. openfirmware puts full address in the field and the other devices seem to work on tested machines.
2001-02-28Add ability to get display width in bytes for display memory, thisDale Rahn
may be the same as visual width or larger. This is seen on iMacDV systems running at 640x480 or 800x600 with a linebytes of 1024.
2001-02-20Make drivers more quiet, no point in printing useless information.Dale Rahn
2001-02-01mmap return paddr_t not int.Dale Rahn
2001-01-15include <sys/buf.h> for B_READ that we need in the UVM caseArtur Grabowski
2000-11-21stupid Imac DV appears to misclasify the vga controller as DISPLAY_MISCTheo de Raadt
instead of DISPLAY_VGA
2000-10-19Changes to pci and if_gm to support obtaining the ethernet hardware addressDale Rahn
from the pci bus. This is in preference to adding openfirmware code to the device drivers. If there was a known way of obtaining the ethernet hardware address from a eeprom or other methods that would be used, but the only known way to get this information for the Apple machines with if_gm is via openfirmware. This modifies a previous mechanism that was used to obtain similar information from different openfirmware systems, however the old mechanism would create information such as media type. This information was hardcoded into that code. Now the code only returns the actual address which is the only informatin that openfirmware provides.
2000-10-19Clean up printfs during boot, these were unnecessary debugging prints.Dale Rahn
2000-09-19Remove annoying debugging print that was introduced with the cmap setting code.Dale S. Rahn
2000-09-19Remove secondary hack that limited mapped size. Not needed with BAT mappings.Dale S. Rahn
2000-09-19Changes to support ioctls as required for a framebuffer X server.Dale S. Rahn
routines added to set the colormap via openfirmware. Changes by both Matthieu and myself
2000-09-07Fix cursor unplot bug. pointer to cursor was not initialized, thus itDale S. Rahn
would unmap the cursor at y,y rather than the real position.
2000-09-06Add machine specific vga framebuffer code. Probably should be machineDale S. Rahn
independant, but not now.
2000-09-06If the bridge is an MPC106 (Grackle) print it's revision.Dale S. Rahn
2000-08-08pretty printTheo de Raadt
2000-07-31Correction for legacy interrupt controller attachment.Dale S. Rahn
The previous change would incorrectly allow the macintr interrupt controller to configure for the openpic interrupt controller.
2000-07-28Config changes to be closer to supporting older bandit based systems.Dale S. Rahn
Openfirmware does not have entries for the interrupt controller.
2000-07-08Process memory ranges found in the openfirmware device tree by amountDale S. Rahn
retrieved, do not walk the (uninitialized?) stack until a value is found.
2000-07-07Support config type 2 as required for proper uni-north pci config cycles.Dale S. Rahn
use the same code for read and write for easier maintance. code to walk the openfirmware device tree when a bridge is configured to copy the interrupt line information into the pci register so that the device driver can use it. Apple Openfirmware doesn't do this automatically.
2000-05-02Remove gmac_enable_hack, not needed here, doesn't work.Dale S. Rahn
2000-04-01boot noise removal.Dale S. Rahn
2000-03-31Quiet down boot on openfirmware probe of macobio bus. Does not printDale S. Rahn
devices that are not recognize by drivers, it does not seem right to imply that fd, scsi and adb devices exist on an imac, (ok, they really do but apple did not bring the pins out where they were useable.)
2000-03-31Remove unnecessary debug printf.Dale S. Rahn
2000-03-31PCi Host Bridge, dummy driver to quiet "not configured" messages,Dale S. Rahn
hopefully will be used to configure special items on bridges. (such as hacks to enable devices?)
2000-03-31Find last memory or io segment, in case multiple happen to be found,Dale S. Rahn
allows imac to configure ohci.
2000-03-24Correct config mechanism for uni-north bridge.Dale S. Rahn
2000-03-20Changes to support uninorth bridge (probably a bit of a hack for now).Dale S. Rahn
cleaned up the previous support for the macobio that was there previously. Now registers real interupt handler devices instead of the pseudo configed ones before. The G4 systems are not yet working, the onboard ide configures properly and interrupts seem to work, but the system hangs before mounting the root drive (even ramdisks). Maybe someone will point out something bogus in the code, so it is being checked in.