From c7fc24dc4420057f103afe8fc64524ebc25c5d37 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 25 Aug 1998 09:12:35 +0000 Subject: o Merge with Linux 2.1.116. o New Newport console code. o New G364 console code. --- drivers/cdrom/cm206.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/cdrom/cm206.c') diff --git a/drivers/cdrom/cm206.c b/drivers/cdrom/cm206.c index c0bcc7bf4..d1e114301 100644 --- a/drivers/cdrom/cm206.c +++ b/drivers/cdrom/cm206.c @@ -299,7 +299,7 @@ void send_command_polled(int command) { int loop=POLLOOP; while (!(inw(r_line_status) & ls_transmitter_buffer_empty) && loop>0) { - udelay(1000); /* one millisec delay */ + mdelay(1); /* one millisec delay */ --loop; } outw(command, r_uart_transmit); @@ -309,7 +309,7 @@ uch receive_echo_polled(void) { int loop=POLLOOP; while (!(inw(r_line_status) & ls_receive_buffer_full) && loop>0) { - udelay(1000); + mdelay(1); --loop; } return ((uch) inw(r_uart_receive)); @@ -1194,7 +1194,7 @@ int cm206_reset(struct cdrom_device_info * cdi) stop_read(); reset_cm260(); outw(dc_normal | dc_break | READ_AHEAD, r_data_control); - udelay(1000); /* 750 musec minimum */ + mdelay(1); /* 750 musec minimum */ outw(dc_normal | READ_AHEAD, r_data_control); cd->sector_last = -1; /* flag no data buffered */ cd->adapter_last = -1; @@ -1358,7 +1358,7 @@ __initfunc(int cm206_init(void)) /* Now, the problem here is that reset_cm260 can generate an interrupt. It seems that this can cause a kernel oops some time later. So we wait a while and `service' this interrupt. */ - udelay(1000); + mdelay(1); outw(dc_normal | READ_AHEAD, r_data_control); sti(); printk(" using IRQ %d\n", cm206_irq); -- cgit v1.2.3