summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/pci
AgeCommit message (Collapse)Author
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.
2000-01-22Fix pci probing for the powerpc port, it was previously only probing aDale S. Rahn
portion of the pci devices, 1,2,4,8,... instead of 1,2,3,4,5,6,7,8,... Updated to use indirect PCI configuration, so that pci-pci buses could be probed. And that devices > 11 on the pci bus could be detected.
2000-01-14UVM changes mainly. As of this checkin UVM is still not working for powerpcDale S. Rahn
it has a copyin bug after device configuration. However to get these diffs out of my tree. All of the UVM code is currently inside ifdef UVM the kernel works fine without option UVM. Config files have been left without UVM for now. Prelimiary changes for busdma, (what UVM was wanted for).
1999-11-08Changes for imac support. support for VI computers and MCG PowerstackDale S. Rahn
will need to be merged back in. Both are currently untested. mac interrupt support is currently a big hack and needs to be redesigned as part of the system, several of the mac drivers need busified also.
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-10-09PCI io space starts at 0x80000000 not 16MB added to that address, whenDale S. Rahn
referring to the offset specified in the pci base address config register.
1998-08-25PolishPer Fogelstrom
1998-08-25Add a few defines and change some.Per Fogelstrom
1998-08-23Code to maintain edge/level in the isa interrupt driver.Dale S. Rahn
Use the pci iack cycle to determine interrupt cause instead of polling the chip. Probably could use some more work.
1998-08-22Various changes to allow mixing of ofw drivers and real drivers.Dale S. Rahn
NCR driver seems to work. Major changes are isa can be child of pci or mainbus. ofroot is child of mainbus not root. ofw bus configured before pci bus Note that if a pci device configures accessing of driver will crash the system. they need to be exclusive.
1998-08-06Some small fixes for non ofw systemsPer Fogelstrom
1998-04-06type fixPer Fogelstrom
1998-04-06fix some typesPer Fogelstrom
1997-10-21Dig out the ethernet address from the board configuration. This just takesPer Fogelstrom
the first "network" with a "mac-address" for this. In the future this has to be improved (probably) to handle more than one ethernet ifc.
1997-10-20Add IPSEC to GENERIC, move if_de srom emul to pciPer Fogelstrom
1997-10-11PCI bus code for monolithic PowerPC kernels.Per Fogelstrom