User Manual
Network Appliance FWS-7600
Appendix C Standard Firewall Platform Setting C-6
C.3 LAN Bypass Mode Sample Code
LAN BYPASS MODE Sample code
[Disable Function]
mov dx,48dh ;( IO_PORT = 48dh)
in al,dx
or al,01000000b ;set bit 7-->high
out dx,al
mov dx,48Fh ;( IO_PORT = 48Fh)
in al,dx
and al,11111011b ;set bit 2-->low
out dx,al
[Force Mode]
mov dx,48dh ;( IO_PORT = 48dh)
in al,dx
and al,10111111b ;set bit 7-->low
out dx,al
mov dx,48Fh ;( IO_PORT = 48Fh)
in al,dx
and al,11111011b ;set bit 2-->low
out dx,al