/dev/net/wd/command: Difference between revisions
Jump to navigation
Jump to search
ugh |
Added info about WD_Scan input. This is my first attempt to help, and my first attempt to reverse-engineer something... I hope I didn't get it wrong. |
||
Line 11: | Line 11: | ||
{{ Table/Row | 0x1008 | 2 | 0 | ? }} | {{ Table/Row | 0x1008 | 2 | 0 | ? }} | ||
{{ Table/Row | 0x1009 | ? | ? | send frame? }} | {{ Table/Row | 0x1009 | ? | ? | send frame? }} | ||
{{ Table/Row | 0x100A | 1 | 1 | WD_Scan }} | {{ Table/Row | 0x100A | 1 (0x60 bytes, see below) | 1 | WD_Scan }} | ||
{{ Table/Row | 0x100C | ? | ? | switch to raw mode? }} | {{ Table/Row | 0x100C | ? | ? | switch to raw mode? }} | ||
{{ Table/Row | 0x100E | 0 | 1 (0x90 bytes) | GetInfo ?}} | {{ Table/Row | 0x100E | 0 | 1 (0x90 bytes) | GetInfo ?}} | ||
Line 19: | Line 19: | ||
{{ Table/Row | 0x8001 | 0 | 1 | ? }} | {{ Table/Row | 0x8001 | 0 | 1 | ? }} | ||
|} | |} | ||
WD_Scan input format (0x60 bytes): | |||
<source lang="c"> | |||
struct wd_scan_input | |||
{ | |||
void *pointer_to_10_bytes_farther; // pointer to param_buffer. | |||
int output_buffer_size; | |||
void *output_buffer; | |||
char params_buffer[0x4E]; // haven't figured out what is in. | |||
}; | |||
</source> |
Revision as of 01:05, 30 July 2008
This device in the wd driver is repsonsible for managing configuration of the driver, probably mostly to handle communications with the Nintendo DS (e.g. downloading demos).
Template:Table
Template:Table/Header
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
Template:Table/Row
|}
WD_Scan input format (0x60 bytes):
struct wd_scan_input
{
void *pointer_to_10_bytes_farther; // pointer to param_buffer.
int output_buffer_size;
void *output_buffer;
char params_buffer[0x4E]; // haven't figured out what is in.
};