commit | 91d1ed1a6d225e3cf4bd8ede6235b1be65f7651a | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Wed Jul 12 21:04:21 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Thu Jul 13 01:50:11 2006 -0700 |
tree | 38df1d1daebf331969348ac280f5b9add80b2adb | |
parent | a23c3a86e9952a8badb49a6bb1de455c1f5bad6d [diff] |
[SERIAL] sunsu: Handle keyboard and mouse ports directly. The sunsu_ports[] array exists merely to be able to easily use an integer index to get at the proper serial console port struct. We size this only for real ports, not for the keyboard and mouse, and thus keyboard and mouse port registration would fail. Fix this by dynamically allocating the port struct for the keyboard and mouse, instead of using the sunsu_ports[] array. Signed-off-by: David S. Miller <davem@davemloft.net>