~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to drivers/misc/hpilo.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-08-05 23:00:52 UTC
  • Revision ID: james.westby@ubuntu.com-20090805230052-7xedvqcyk9dnnxb2
Tags: 2.6.31-1.1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
        /* give iLO some time to process stop request */
210
210
        for (retries = MAX_WAIT; retries > 0; retries--) {
211
211
                doorbell_set(driver_ccb);
212
 
                udelay(1);
 
212
                udelay(WAIT_TIME);
213
213
                if (!(ioread32(&device_ccb->send_ctrl) & (1 << CTRL_BITPOS_A))
214
214
                    &&
215
215
                    !(ioread32(&device_ccb->recv_ctrl) & (1 << CTRL_BITPOS_A)))
312
312
        for (i = MAX_WAIT; i > 0; i--) {
313
313
                if (ilo_pkt_dequeue(hw, driver_ccb, SENDQ, &pkt_id, NULL, NULL))
314
314
                        break;
315
 
                udelay(1);
 
315
                udelay(WAIT_TIME);
316
316
        }
317
317
 
318
318
        if (i) {
759
759
        class_destroy(ilo_class);
760
760
}
761
761
 
762
 
MODULE_VERSION("1.0");
 
762
MODULE_VERSION("1.1");
763
763
MODULE_ALIAS(ILO_NAME);
764
764
MODULE_DESCRIPTION(ILO_NAME);
765
765
MODULE_AUTHOR("David Altobelli <david.altobelli@hp.com>");