mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-26 01:37:04 +00:00
Change console to be ttyS0.
Fix compilation error on sfpi.c. Signed-off-by: roy_lee <roy_lee@accton.com>
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include "x86_64_accton_as7326_56x_int.h"
|
||||
#include "x86_64_accton_as7326_56x_log.h"
|
||||
|
||||
#define PORT_BUS_INDEX(port) sfp_map(port)
|
||||
#define PORT_BUS_INDEX(port) sfp_map[port]
|
||||
|
||||
#define PORT_EEPROM_FORMAT "/sys/bus/i2c/devices/%d-0050/eeprom"
|
||||
#define MODULE_PRESENT_FORMAT "/sys/bus/i2c/devices/%d-00%d/module_present_%d"
|
||||
|
||||
@@ -11,7 +11,7 @@ x86-64-accton-as7326-56x-r0:
|
||||
grub:
|
||||
|
||||
serial: >-
|
||||
--port=0x2f8
|
||||
--port=0x3f8
|
||||
--speed=115200
|
||||
--word=8
|
||||
--parity=no
|
||||
@@ -22,9 +22,9 @@ x86-64-accton-as7326-56x-r0:
|
||||
|
||||
args: >-
|
||||
nopat
|
||||
console=ttyS1,115200n8
|
||||
console=ttyS0,115200n8
|
||||
|
||||
##network
|
||||
##network:
|
||||
## interfaces:
|
||||
## ma1:
|
||||
## name: ~
|
||||
|
||||
Reference in New Issue
Block a user