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:
roy_lee
2018-03-27 09:12:35 +08:00
parent 128514d78d
commit 23333f6692
2 changed files with 4 additions and 4 deletions

View File

@@ -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"

View File

@@ -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: ~