Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64894
b: refs/heads/master
c: 2cc7345
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Sep 12, 2007
1 parent 43cae8a commit 62b7ee1
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 19 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: 532df780a2012ad75b3f078647f229c4dabd99d1
refs/heads/master: 2cc7345ff71b27b5ac99e49ad7de39360042f601
13 changes: 12 additions & 1 deletion trunk/arch/sparc64/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,22 +744,33 @@ static void __devinit pci_of_scan_bus(struct pci_pbm_info *pbm,
{
struct device_node *child;
const u32 *reg;
int reglen, devfn;
int reglen, devfn, prev_devfn;
struct pci_dev *dev;

if (ofpci_verbose)
printk("PCI: scan_bus[%s] bus no %d\n",
node->full_name, bus->number);

child = NULL;
prev_devfn = -1;
while ((child = of_get_next_child(node, child)) != NULL) {
if (ofpci_verbose)
printk(" * %s\n", child->full_name);
reg = of_get_property(child, "reg", &reglen);
if (reg == NULL || reglen < 20)
continue;

devfn = (reg[0] >> 8) & 0xff;

/* This is a workaround for some device trees
* which list PCI devices twice. On the V100
* for example, device number 3 is listed twice.
* Once as "pm" and once again as "lomp".
*/
if (devfn == prev_devfn)
continue;
prev_devfn = devfn;

/* create a new pci_dev for this device */
dev = of_create_pci_dev(pbm, child, bus, devfn, 0);
if (!dev)
Expand Down
10 changes: 0 additions & 10 deletions trunk/drivers/input/serio/i8042-x86ia64io.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,16 +210,6 @@ static struct dmi_system_id __initdata i8042_dmi_nomux_table[] = {
DMI_MATCH(DMI_PRODUCT_VERSION, "HP Pavilion Notebook ZT1000"),
},
},
{
/*
* Like DV4017EA does not raise AUXERR for errors on MUX ports.
*/
.ident = "HP Pavilion DV4270ca",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
DMI_MATCH(DMI_PRODUCT_NAME, "Pavilion dv4000 (EH476UA#ABL)"),
},
},
{
.ident = "Toshiba P10",
.matches = {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/serio/i8042.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ static void __devinit i8042_register_ports(void)
}
}

static void __devexit i8042_unregister_ports(void)
static void __devinit i8042_unregister_ports(void)
{
int i;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/touchscreen/usbtouchscreen.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ static int usbtouch_probe(struct usb_interface *intf,
le16_to_cpu(udev->descriptor.idProduct));

usb_make_path(udev, usbtouch->phys, sizeof(usbtouch->phys));
strlcat(usbtouch->phys, "/input0", sizeof(usbtouch->phys));
strlcpy(usbtouch->phys, "/input0", sizeof(usbtouch->phys));

input_dev->name = usbtouch->name;
input_dev->phys = usbtouch->phys;
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,6 @@ struct input_absinfo {
#define KEY_BRL_DOT6 0x1f6
#define KEY_BRL_DOT7 0x1f7
#define KEY_BRL_DOT8 0x1f8
#define KEY_BRL_DOT9 0x1f9
#define KEY_BRL_DOT10 0x1fa

/* We avoid low common keys in module aliases so they don't get huge. */
#define KEY_MIN_INTERESTING KEY_MUTE
Expand Down
4 changes: 1 addition & 3 deletions trunk/include/linux/keyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,8 @@ extern unsigned short plain_map[NR_KEYS];
#define K_BRL_DOT6 K(KT_BRL, 6)
#define K_BRL_DOT7 K(KT_BRL, 7)
#define K_BRL_DOT8 K(KT_BRL, 8)
#define K_BRL_DOT9 K(KT_BRL, 9)
#define K_BRL_DOT10 K(KT_BRL, 10)

#define NR_BRL 11
#define NR_BRL 9

#define MAX_DIACR 256
#endif

0 comments on commit 62b7ee1

Please sign in to comment.