A patch from Marc Karasek and Kanoj (kernel serial.c maintainer)