git-svn-id: https://spexeah.com:8443/svn/Asuro@404 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
kieron
2018-04-08 13:55:29 +00:00
parent 2ff2b84afe
commit 2601ec1516
8 changed files with 7 additions and 1 deletions

View File

@ -393,6 +393,11 @@ begin
end;
end;
procedure console_command_mac(params : PParamList);
begin
writeMACAddress();
end;
procedure console_command_sendtest(params : PParamList);
var
TestPacket : Array[0..41] of uint8 = ( $ff, $ff, $ff, $ff, $ff, $ff, { eth dest (broadcast) }
@ -473,7 +478,8 @@ begin
load:= true;
if load then registercommand('E1000', @console_command_sendtest, 'Test sending a ARP Request');
if load then registercommand('E1000', @console_command_sendtest, 'Test sending a ARP Request.');
if load then registercommand('MAC', @console_command_mac, 'Print MAC Address.');
console.outputln('E1000 Driver', 'Load Finish.');
end;