I am working on iopcifamily for leopard right now. Hopefully, it will fix the firewire issue and maybe agpgart issue. If the test is ok, I will update the tiger version. Be positive!
Chun-Nan
Chun-Nan, on Feb 2 2008, 11:25 AM, said:
// Probe I/O base and limit end = configRead32(bridge->space, kPCI2PCIIORange); //Slice // if (end && ((end & (0x0f0f)) == 0)) if (end && ((end & (0x0e0e)) == 0))This correction already made for Leo but not for Tiger.
//Slice // err = getDTNubAddressing( nub ); //V22 err = getNubAddressing( nub ); //V16First method for getting address better but only for system with all devices supported, i.e. Real Mac.
Slice, on Feb 4 2008, 05:37 PM, said:
IOPCIFamily.test1.zip 222.85K
20 downloads
Quote
| | | +-o NIC0@5 <class IOPCIDevice, registered, matched, active, busy 0, retain count 10>
| | | | | {
| | | | | "IODeviceMemory" = (({"address"=0xffffffffc0204000,"length"=0x2000}))
| | | | | "device-id" = <0c170000>
| | | | | "IOChildIndex" = 0x3
| | | | | "name" = "ethernet"
| | | +-o ATIM@5 <class IOPCIDevice, registered, matched, active, busy 0, retain count 12>
| | | | {
| | | | "AAPL,gray-page" = <01000000>
| | | | "IODeviceMemory" = (({"address"=0xffffffffd0000000,"length"=0x10000000}),{"offset"=0x9000,"parent"=({"address"=0x0,"length"=0x10000}),"length"=0x100},({"address"=0xffffffffc0100000,"length"=0x10000}))
| | | | "device-id" = <"5X">
| | | | "IOChildIndex" = 0x1
| | | | "name" = "display"
With the same busNum and functionNum
Slice, on Feb 6 2008, 12:15 AM, said:
| | | +-o NIC0@5 <class IOPCIDevice, registered, matched, active, busy 0, retain count 10>
| | | | | {
| | | | | "IODeviceMemory" = (({"address"=0xffffffffc0204000,"length"=0x2000}))
| | | | | "device-id" = <0c170000>
| | | | | "IOChildIndex" = 0x3
| | | | | "name" = "ethernet"
| | | +-o ATIM@5 <class IOPCIDevice, registered, matched, active, busy 0, retain count 12>
| | | | {
| | | | "AAPL,gray-page" = <01000000>
| | | | "IODeviceMemory" = (({"address"=0xffffffffd0000000,"length"=0x10000000}),{"offset"=0x9000,"parent"=({"address"=0x0,"length"=0x10000}),"length"=0x100},({"address"=0xffffffffc0100000,"length"=0x10000}))
| | | | "device-id" = <"5X">
| | | | "IOChildIndex" = 0x1
| | | | "name" = "display"
With the same busNum and functionNum
Quote
| | | +-o pci1033,35@6,1 <class IOPCIDevice, registered, matched, active, busy 0, retain count 9>
| | | | | {
| | | | | "USBBusNumber" = 0x26
| | | | | "IODeviceMemory" = (({"address"=0xffffffffc0202000,"length"=0x1000}))
With your previous revision all devices except AGP works.
Slice, on Feb 6 2008, 02:13 PM, said:
IOPCIFamily.test2.zip 223.01K
21 downloads
Slice, on Feb 6 2008, 09:07 PM, said:
Chun-Nan, on Feb 7 2008, 06:10 AM, said:
pciBridgeAllocateResource(bus 7, state 0) Allocating resources on bus 7 clipped bridge MEM range head to f0904000:fc000 for f0900000:4000 overlap 4000 MEM: sub-range outside parent range: 0xf0900000:0x4000 PCI configuration changed (BUS free=0 needed=1 added=1) MEM: 1 sub-range limited to fa700 each BUS: 1 sub-range limited to 0 each MEM: allocated block f0906000:1000 pciBridgeDistributeResource(bus 7, state 2) Distribute resources for bus 7 MEM: total size fc000, required size 6900, maximize count 0 MEM: assigned block f0904000:4000 MEM: assigned block f0908000:1000 MEM: assigned block f0909000:1000 MEM: assigned block f090a000:800 MEM: assigned block f090a800:100 BUS: total size 0, required size 1, maximize count 1 BUS: assigned block 8:1 Applying config for device 7:6:3 bar 0x10 = f090a800 Device Command = 02100006 Applying config for device 7:6:2 bar 0x10 = f0909000 Device Command = 02100006 Applying config for device 7:6:1 bar 0x10 = f090a000 bar 0x14 = f0904000 Device Command = 02100006 Applying config for bridge serving bus 8 MEM: start/size = 00000000:00000000 I/O: start/size = 00000000:00000000 BUS: start/size = 00000008:00000001 bar 0x10 = f0908000 Regs: BUS: prim/sec/sub = 07:08:08 Enabling bridge serving bus 8 Bridge Command = 02100007 PCI configuration changed (bridge=0 device=3 yenta=1) Security auditing service present BSM auditing present disabled From path: "uuid", Waiting for boot volume with UUID B682126F-86CF-38CA-95BF-F6AF0061BE18 Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict> USB caused wake event (EHCI) FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400. Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 4@4 BSD root: disk0s4, major 14, minor 4 IOPCCard info: Intel PCIC probe: TI XX12 rev 00 IOPCCard info: cs: cb_alloc(bus 8): vendor 0x1106, device 0x3038 IOPCCard info: cs: cb_alloc(bus 8): found 3 functions IOCardBusDevice: binding socket 0 function 0 to card services. IOPCCard info: cs: cb_config(bus 8) IOPCCard info: fn 0 bar 2: mem 0xa0004000-0xa00040ff IOPCCard info: fn 0 bar 5: io 0x120-0x13f IOPCCard info: fn 1 bar 2: mem 0xa0003000-0xa00030ff IOPCCard info: fn 1 bar 5: io 0x100-0x11f IOPCCard info: fn 2 bar 1: mem 0xa0002000-0xa00020ff IOPCCard info: fn 2 bar 2: mem 0xa0001000-0xa00010ff IOPCCard info: irq 18 IOCardBusDevice: binding socket 0 function 1 to card services. IOCardBusDevice: binding socket 0 function 2 to card services.
toadspit, on Feb 7 2008, 11:57 AM, said:
Chun-Nan, on Feb 7 2008, 10:00 PM, said:
IOPCCard info: Intel PCIC probe: TI XX12 rev 00 FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400. IOPCCard info: cs: cb_alloc(bus 8): vendor 0x1106, device 0x3038 IOPCCard info: cs: cb_alloc(bus 8): found 3 functions IOCardBusDevice: binding socket 0 function 0 to card services. IOPCCard info: cs: cb_config(bus 8) IOPCCard info: fn 0 bar 2: mem 0xa0004000-0xa00040ff IOPCCard info: fn 0 bar 5: io 0x120-0x13f IOPCCard info: fn 1 bar 2: mem 0xa0003000-0xa00030ff IOPCCard info: fn 1 bar 5: io 0x100-0x11f IOPCCard info: fn 2 bar 1: mem 0xa0002000-0xa00020ff IOPCCard info: fn 2 bar 2: mem 0xa0001000-0xa00010ff IOPCCard info: irq 18 IOCardBusDevice: binding socket 0 function 1 to card services. IOCardBusDevice: binding socket 0 function 2 to card services.
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400. Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 4@4 BSD root: disk0s4, major 14, minor 4 IOPCCard info: Intel PCIC probe: TI XX12 rev 00 IOPCCard info: cs: cb_alloc(bus 8): vendor 0x1106, device 0x3038 IOPCCard info: cs: cb_alloc(bus 8): found 3 functions IOCardBusDevice: binding socket 0 function 0 to card services. IOPCCard info: cs: cb_config(bus 8) IOPCCard info: fn 0 bar 2: mem 0xa0004000-0xa00040ff IOPCCard info: fn 0 bar 5: io 0x120-0x13f IOPCCard info: fn 1 bar 2: mem 0xa0003000-0xa00030ff IOPCCard info: fn 1 bar 5: io 0x100-0x11f IOPCCard info: fn 2 bar 1: mem 0xa0002000-0xa00020ff IOPCCard info: fn 2 bar 2: mem 0xa0001000-0xa00010ff IOPCCard info: irq 18 IOCardBusDevice: binding socket 0 function 1 to card services. IOCardBusDevice: binding socket 0 function 2 to card services.
0 members, 0 guests, 0 anonymous users