diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-04-15 23:51:49 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-16 20:00:59 -0400 |
commit | 5faae2e5d1f53df9dce482032c8486bc3a1feffc (patch) | |
tree | d2e8dfc12d054c9cdc50b8fa7cf64707814f7e0f /drivers/i2c/i2c-dev.c | |
parent | 21cf91338fabe649ae3744429e13b61da2a17a6a (diff) |
[POWERPC] Always add preferred consoles in platforms/pseries/lpar.c
There is logic in platforms/peries/lpars.c which checks if the user has
specified a console on the command line, and refrains from adding a
preferred console entry for the hvc/hvsi console if they have.
This trips up if you use "netconsole=foo" on the command line, and has
the result that you get _only_ the netconsole, because the hvc device is
never added as a preferred console. Worse still if you get the netconsole
configuration wrong somehow, you end up with no console at all.
As it turns out we don't need to worry about checking the command line.
If the user has specified "console=foo", then foo will be set as the
preferred console when the command line is parsed in start_kernel(), much
later than the pseries code, and so the latter setting will take effect.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions