Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26637
b: refs/heads/master
c: d94c77b
h: refs/heads/master
i:
  26635: 4bf414e
v: v3
  • Loading branch information
David Brownell authored and David S. Miller committed May 9, 2006
1 parent 2e3f25f commit 3f91ca7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11766199a0bb9a7ba57510119e7340140e7c3e24
refs/heads/master: d94c77b9b55f2c868ffd63cbd1f9749755c4b3d0
14 changes: 13 additions & 1 deletion trunk/drivers/net/irda/smsc-ircc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#include <linux/rtnetlink.h>
#include <linux/serial_reg.h>
#include <linux/dma-mapping.h>
#include <linux/pnp.h>
#include <linux/platform_device.h>

#include <asm/io.h>
Expand Down Expand Up @@ -358,6 +359,16 @@ static inline void register_bank(int iobase, int bank)
iobase + IRCC_MASTER);
}

#ifdef CONFIG_PNP
/* PNP hotplug support */
static const struct pnp_device_id smsc_ircc_pnp_table[] = {
{ .id = "SMCf010", .driver_data = 0 },
/* and presumably others */
{ }
};
MODULE_DEVICE_TABLE(pnp, smsc_ircc_pnp_table);
#endif


/*******************************************************************************
*
Expand Down Expand Up @@ -2072,7 +2083,8 @@ static void smsc_ircc_sir_wait_hw_transmitter_finish(struct smsc_ircc_cb *self)

/* PROBING
*
*
* REVISIT we can be told about the device by PNP, and should use that info
* instead of probing hardware and creating a platform_device ...
*/

static int __init smsc_ircc_look_for_chips(void)
Expand Down

0 comments on commit 3f91ca7

Please sign in to comment.