From: Nishanth Aravamudan Date: Fri, 23 Jul 2004 17:45:49 +0000 Subject: [Kernel-janitors] [PATCH] eicon/platform: replace Message-Id: <20040723174549.GK1911@us.ibm.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============54100623171457007==" List-Id: To: kernel-janitors@vger.kernel.org --===============54100623171457007== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I would appreciate any comments from the janitors list. Thanks, Nish Depends-on: Patches to eicon/capifunc, io, mntfunc, os_4bri, os_bri, os_pri, which replace invocations of diva_os_sleep() and diva_os_wait() with msleep() and mdelay() respectively. Will not compile without those patches. Applys-to: 2.6.7 Description: Replace diva_os_sleep() with msleep() and diva_os_wait() with mdelay() in all instances. Signed-off-by: Nishanth Aravamudan --- linux-vanilla/drivers/isdn/hardware/eicon/platform.h 2004-06-16 05:19:43.000000000 +0000 +++ linux-dev/drivers/isdn/hardware/eicon/platform.h 2004-07-02 18:09:08.000000000 +0000 @@ -210,21 +210,6 @@ void diva_os_free_message_buffer(diva_os #define DIVA_MESSAGE_BUFFER_DATA(x) x->data /* -** mSeconds waiting -*/ -static __inline__ void diva_os_sleep(dword mSec) -{ - unsigned long timeout = HZ * mSec / 1000 + 1; - - set_current_state(TASK_UNINTERRUPTIBLE); - schedule_timeout(timeout); -} -static __inline__ void diva_os_wait(dword mSec) -{ - mdelay(mSec); -} - -/* ** PCI Configuration space access */ void PCIwrite (byte bus, byte func, int offset, void* data, int length, void* pci_dev_handle); --===============54100623171457007== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============54100623171457007==--