*/
outb(0, dev->base_addr + MC_CONTROL_REG0); /* sanity */
madgemc_setsifsel(dev, 1);
- if (request_irq(dev->irq, madgemc_interrupt, IRQF_SHARED,
+ if (request_irq(dev->irq, madgemc_interrupt, SA_SHIRQ,
"madgemc", dev)) {
ret = -EBUSY;
goto getout3;
struct net_local *tp;
struct card_info *card;
- BUG_ON(!dev);
+ if (!dev)
+ BUG();
tp = dev->priv;
card = tp->tmspriv;