Commit Graph

52 Commits

Author SHA1 Message Date
Markus Fröschle
7161ed3b55 fix shifting compare value 2016-12-06 16:49:42 +00:00
Markus Fröschle
b591e59583 fix match_classcode() 2016-12-06 16:35:44 +00:00
Markus Fröschle
2a7ed03019 fix match_classcode() 2016-12-06 16:15:58 +00:00
Markus Fröschle
0cdad1241c refactoring pci_find_classcode() 2016-12-05 21:26:54 +00:00
Markus Fröschle
812da0c9ae rewrite pci_find_classcode() using stored PCI info 2016-12-05 12:13:27 +00:00
Markus Fröschle
21401b69a3 start rewrite of pci_find_classcode
was scanning PCI config space of all valid slot/bus combination when all needed information is already available from the initial scan.
2016-12-05 07:03:16 +00:00
Markus Fröschle
a2b2c79dec (temporary) remove debug output 2016-11-17 17:54:37 +00:00
Markus Fröschle
711d347cb8 radeonfb tests (debug output activated) 2016-10-28 05:21:24 +00:00
Markus Fröschle
cb31dffa64 disable most of the debug output 2016-10-17 04:05:50 +00:00
Markus Fröschle
42729fa2ea PCI memory access working 2016-10-15 21:26:49 +00:00
Markus Fröschle
369cc9dc0a fix PCI base/translation address register values 2016-10-13 13:47:13 +00:00
Markus Fröschle
fb7df8024c remove separate debug printout macros 2016-10-04 20:44:59 +00:00
Markus Fröschle
9653fa601e disabled debug output. This is version 0.88, "official" release 2016-08-14 08:16:20 +00:00
Markus Fröschle
bc4a45aba4 did some beautifying on the code 2016-07-31 19:13:16 +00:00
Markus Fröschle
bac9e62074 cleanup vmem_test 2016-06-06 05:19:25 +00:00
Markus Fröschle
f06bf5fe8e add missing include of pci_errata.h
enable -O2 optimization
2016-04-04 19:04:15 +00:00
Markus Fröschle
a409f40593 fix failed alignment of pci_errata_xxx() functions which caused the code
to hang when compiled with m68k-atari-mint-gcc
2016-04-04 09:31:25 +00:00
Markus Fröschle
7d59124531 avoid FireTOS hang on boot 2016-01-30 16:00:02 +00:00
Markus Fröschle
54cd5c8151 add PCI driver interface enumeration routine 2015-11-20 19:25:57 +00:00
Markus Fröschle
ff7af9b57b initialize handles array 2015-11-20 12:35:15 +00:00
Markus Fröschle
cbee753127 add diagnostics messages to find cause of hang 2015-11-20 07:08:09 +00:00
Markus Fröschle
dd5fb8ab2e fix consistency #if and #if defined() 2015-11-19 20:27:49 +00:00
Markus Fröschle
b13413e60e temporary disabled PCI interrupts 2015-10-03 08:31:58 +00:00
Markus Fröschle
0de57bc247 repaired jtagwait magic type conflict
added "native PCI" driver interface
2015-04-03 14:28:41 +00:00
Markus Fröschle
f9d48faf9a removed doubly defined typedef 2015-02-28 15:35:02 +00:00
Markus Fröschle
73e0703a13 modified PCI configuration, RADEON card does not configure correctly
(MMIO space not accessible)
2015-02-22 19:46:16 +00:00
Markus Fröschle
cb5bd09713 This version is working again, except network. For some reason, the DMA
interrupts don't seem to be triggered.
2015-01-09 20:12:03 +00:00
Markus Fröschle
b20525ca24 fixed parameters of pci_hook_interrupt() 2014-10-09 17:50:14 +00:00
Markus Fröschle
ab7371532f implemented hook_interrupt() in PCI code
enabled PCI interrupts
ohci seems to damage something in PCI config -> PCI device enumeration 
does not top with latest device
networking in EmuTOS lost (probably a result of PCI interrupt
implementation)
2014-10-05 17:50:15 +00:00
Markus Fröschle
2ee1ddf58d working on USB device scan 2014-10-03 09:58:45 +00:00
Markus Fröschle
69941141f7 tried to fix PCI - sometimes all three USB controllers are detected, sometimes not, sometimes there is even a PCI bus hang 2014-10-03 07:29:42 +00:00
Markus Fröschle
4990704e99 called PCI errata for all pci_write_...() functions 2014-10-02 14:21:43 +00:00
Markus Fröschle
16b2e35a2b implemented pci_hook_interrupt()
formatted USB sources
2014-10-01 15:39:16 +00:00
Markus Fröschle
c0d21a104f consistantly use bas_types.h instead of standard headers 2014-09-25 06:24:55 +00:00
Markus Fröschle
3cac91e754 fixed some compiler warnings 2014-09-01 14:23:33 +00:00
Markus Fröschle
f170349879 (re)enabled USB bus scan. It takes an eternity to finish, but finally
returns. Hub found, but no mouse yet.
2014-09-01 06:19:45 +00:00
David Gálvez
8b8206cf97 Add format specifier to fix debug messages format 2014-07-13 15:18:23 +00:00
David Gálvez
8d62eb705f Merge pci_BaS_gcc branch to trunk 2014-07-10 15:45:45 +00:00
Markus Fröschle
68aac6bf71 fixed formatting 2014-06-23 18:23:44 +00:00
David Gálvez
73f75895bc Add driver interface for PCI 2014-05-21 08:40:50 +00:00
Markus Fröschle
e5c9d63059 cleaned up. X86emu does not work with debug trace on currently. 2014-01-03 21:03:35 +00:00
Markus Fröschle
3034ede3a6 implemented PHY, but still only occasionly transmitted packets. Obviously, there's a bug somewhere ;) 2014-01-02 21:33:27 +00:00
Markus Fröschle
3bf8683bc4 removed unused code 2014-01-02 13:16:50 +00:00
Markus Fröschle
dcf0797f11 added interface structure to make the MCD DMA available to MiNT (DMAC cookie). MinT's FEC driver works somewhat, but not reliable yet. 2014-01-01 21:28:17 +00:00
Markus Fröschle
6293dfb48f disabled debug output 2013-12-31 15:45:30 +00:00
Markus Fröschle
ebf745a916 fixed bug in I/O PCIBAR detection 2013-12-31 15:22:29 +00:00
Markus Fröschle
3f071add1d RADEON card works mainly, the IO-space does not get properly detected yet, however 2013-12-31 13:13:25 +00:00
Markus Fröschle
3e884359dc added missing memory barrier to asm statements - BaS crashed with compiler optimizations 2013-12-30 23:59:07 +00:00
Markus Fröschle
a6543b6b0a RADEON card detected and initialized. ROM mapping seems to have a problem. PCI PCIERBAR setting fixed 2013-12-30 23:01:35 +00:00
Markus Fröschle
cf3b937e8f implemented pci_find_classcode() 2013-12-30 09:58:14 +00:00