git-svn-id: https://spexeah.com:8443/svn/Asuro@725 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
49c16c09ce
commit
52ee378512
@ -416,29 +416,18 @@ var
|
|||||||
data : uint32;
|
data : uint32;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
//console.writestringln('E1000');
|
|
||||||
push_trace('E1000.fire');
|
push_trace('E1000.fire');
|
||||||
//console.outputln('E1000 Driver', 'FIRED.');
|
writeToLogLn('L0: E1000 Fire');
|
||||||
|
|
||||||
status:= readCommand($C0);
|
status:= readCommand($C0);
|
||||||
//console.output('E1000 Driver', 'Int Status: ');
|
|
||||||
//console.writehexln(status);
|
|
||||||
if (status AND $04) > 0 then begin
|
if (status AND $04) > 0 then begin
|
||||||
//console.outputln('E1000 Driver', 'Link Status.');
|
|
||||||
startLink();
|
startLink();
|
||||||
end else if (Status AND $10) > 0 then begin
|
end else if (Status AND $10) > 0 then begin
|
||||||
//console.outputln('E1000 Driver', 'Good Threshold.');
|
|
||||||
//Good Threshold
|
//Good Threshold
|
||||||
end else if (Status AND $80) > 0 then begin
|
end else if (Status AND $80) > 0 then begin
|
||||||
//console.outputln('E1000 Driver', 'Packet Recv.');
|
|
||||||
handleReceive();
|
handleReceive();
|
||||||
end;
|
end;
|
||||||
//Clear the INT on the Device First by using write-1
|
//Clear the INT on the Device First by using write-1
|
||||||
writeCommand(REG_IMASK, 1);
|
writeCommand(REG_IMASK, 1);
|
||||||
|
|
||||||
//Clear INT on PIC and Cascade
|
|
||||||
|
|
||||||
pop_trace;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure console_command_mac(params : PParamList);
|
procedure console_command_mac(params : PParamList);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user