commit
f0baaaa66c
@ -131,7 +131,7 @@ int baseboardIoctl(int fd, unsigned int request, void *data)
|
||||
}
|
||||
break;
|
||||
|
||||
case BASEBOARD_READY: // Not sure this is what it should be called
|
||||
case BASEBOARD_READY: // Not sure if this is what it should be called
|
||||
{
|
||||
selectReply = 0;
|
||||
return 0;
|
||||
|
@ -94,7 +94,7 @@ int eepromIoctl(int fd, unsigned int request, void *data)
|
||||
uint32_t *functions = data;
|
||||
functions[0] = 0x20000 | 0x40000 | 0x100000 | 0x400000 | 0x8000000;
|
||||
|
||||
// The following is taken from the eeprom init sequence in The House Of The Dead 4 so lets add em on!
|
||||
// The following is taken from the eeprom init sequence in The House Of The Dead 4 so let's add em on!
|
||||
functions[0] = functions[0] | 0x20000 | 0x40000 | 0x80000 | 0x100000 | 0x200000 | 0x400000 | 0x1000000 | 0x2000000;
|
||||
}
|
||||
break;
|
||||
|
@ -624,7 +624,7 @@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
|
||||
|
||||
struct sockaddr_in *in_pointer = (struct sockaddr_in *)addr;
|
||||
|
||||
// Change the IP to connect to to 127.0.0.1
|
||||
// Change the IP to connect to 127.0.0.1
|
||||
// in_pointer->sin_addr.s_addr = inet_addr("127.0.0.1");
|
||||
char *some_addr = inet_ntoa(in_pointer->sin_addr);
|
||||
if (getConfig()->showDebugMessages)
|
||||
|
@ -34,7 +34,7 @@
|
||||
#define REPORT_PARAMETER_ERROR2 0x03
|
||||
#define REPORT_BUSY 0x04 // some attached hardware was busy, causing the request to fail
|
||||
|
||||
/* All of the commands */
|
||||
/* All the commands */
|
||||
#define CMD_RESET 0xF0 // reset bus
|
||||
#define CMD_RESET_ARG 0xD9 // fixed argument to reset command
|
||||
#define CMD_ASSIGN_ADDR 0xF1 // assign address to slave
|
||||
|
Loading…
Reference in New Issue
Block a user