atimach64 driver part I
"Vasilis Kaoutsis" <[email protected]> Tue, 10 Apr 2007 02:21:25 +0300
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi to all,
Trying the atimach64 driver to work with my
3D Rage II+ 215GTB [Mach64 GTB] with no success yet.
I attach the changes that i made to the source,
for src/add-ons/kernel/drivers/graphics/atimach64
in the attached file atimach64-driver.diff
for src/add-ons/accelerants/atimach64
in the attached file atimach64-accelerants.diff
and finally the serial debug kernel messages
ati-kernel-messages3.txt.
Visually i get three thin horizontal lines in front
of the haiku logo boot screen.
(the file ati-kernel-messages3.txt will come
with PART II, because of the 40 kb limitation
per message body.)
any ideas?
Bye,
Vasilis
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Open-beos-kernel-devel mailing list
Open-beos-kernel-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/open-beos-kernel-devel
atimach64-driver.diff
(application/octet-stream, 1.5 KB)
Index: m64info.c
===================================================================
--- m64info.c (revision 20624)
+++ m64info.c (working copy)
@@ -36,10 +36,10 @@
memcpy(bios_signature, rommem(0x30), 10);
- if (strncmp( signature, bios_signature, 10 )) {
- ddprintf(("Mach64 probe failed on BIOS signature\n"));
- return B_ERROR;
- }
+// if (strncmp( signature, bios_signature, 10 )) {
+ ddprintf(("Mach64 probe failed on BIOS signature: %s\n", bios_signature));
+// return B_ERROR;
+// }
si->board_identifier[0] = bios_data[ 0x40 ];
si->board_identifier[1] = bios_data[ 0x41 ];
Index: Jamfile
===================================================================
--- Jamfile (revision 20624)
+++ Jamfile (working copy)
@@ -1,5 +1,5 @@
SubDir HAIKU_TOP src add-ons kernel drivers graphics atimach64 ;
-SubDirCcFlags -DSEMAPHORE=1 ;
+SubDirCcFlags -DSEMAPHORE=1 -DDEBUG=1 ;
UsePrivateHeaders graphics ;
UsePrivateHeaders [ FDirName graphics atimach64 ] ;
Index: driver.c
===================================================================
--- driver.c (revision 20624)
+++ driver.c (working copy)
@@ -138,6 +138,7 @@
static uint16 ati_device_list[] = {
PCI_MACH64_VT_ID, /* Mach64 VT device */
+ PCI_MACH64_GU_ID, /* 3D Rage II+ 215GTB [Mach64 GTB] */
0
};
@@ -924,7 +925,7 @@
/* the only PUBLIC ioctl */
case B_GET_ACCELERANT_SIGNATURE: {
char *sig = (char *)buf;
- strcpy(sig, "atimach64vt.accelerant");
+ strcpy(sig, "atimach64.accelerant");
result = B_OK;
} break;
atimach64-accelerants.diff
(application/octet-stream, 644 B)
Index: InitAccelerant.c =================================================================== --- InitAccelerant.c (revision 20624) +++ InitAccelerant.c (working copy) @@ -2,6 +2,7 @@ #include "generic.h" #include "Mach64.h" +#include "errno.h" #include "string.h" #include "unistd.h" #include "sys/types.h" Index: Jamfile =================================================================== --- Jamfile (revision 20624) +++ Jamfile (working copy) @@ -15,7 +15,8 @@ Mach64fifo.c ProposeDisplayMode.c SetDisplayMode.c + : be ; -Depends atimach64.accelerant : atimach64.driver ; +#Depends atimach64.accelerant : atimach64.driver ;