Commit ffdbfd52 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://bk.arm.linux.org.uk/linux-2.6-serial

into home.osdl.org:/home/torvalds/v2.5/linux
parents 8793a6c5 4d584500
......@@ -38,8 +38,11 @@ static acpi_status acpi_serial_mmio(struct serial_struct *req,
static acpi_status acpi_serial_port(struct serial_struct *req,
struct acpi_resource_io *io)
{
req->port = io->min_base_address;
req->io_type = SERIAL_IO_PORT;
if (io->range_length) {
req->port = io->min_base_address;
req->io_type = SERIAL_IO_PORT;
} else
printk(KERN_ERR "%s: zero-length IO port range?\n", __FUNCTION__);
return AE_OK;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment