Commit a968ee1f authored by Richard Henderson's avatar Richard Henderson

[ALPHA] Collection of warning fixes.

parent 86e72865
...@@ -268,7 +268,7 @@ sable_map_irq(struct pci_dev *dev, u8 slot, u8 pin) ...@@ -268,7 +268,7 @@ sable_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{ 32+3, 32+3, 32+3, 32+3, 32+3}, /* IdSel 7, slot 1 */ { 32+3, 32+3, 32+3, 32+3, 32+3}, /* IdSel 7, slot 1 */
{ 32+4, 32+4, 32+4, 32+4, 32+4}, /* IdSel 8, slot 2 */ { 32+4, 32+4, 32+4, 32+4, 32+4}, /* IdSel 8, slot 2 */
}; };
const long min_idsel = 0, max_idsel = 8, irqs_per_slot = 5; long min_idsel = 0, max_idsel = 8, irqs_per_slot = 5;
return COMMON_TABLE_LOOKUP; return COMMON_TABLE_LOOKUP;
} }
......
...@@ -314,7 +314,7 @@ wildfire_map_irq(struct pci_dev *dev, u8 slot, u8 pin) ...@@ -314,7 +314,7 @@ wildfire_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{ 56, 56, 56+1, 56+2, 56+3}, /* IdSel 6 PCI 1 slot 6 */ { 56, 56, 56+1, 56+2, 56+3}, /* IdSel 6 PCI 1 slot 6 */
{ 60, 60, 60+1, 60+2, 60+3}, /* IdSel 7 PCI 1 slot 7 */ { 60, 60, 60+1, 60+2, 60+3}, /* IdSel 7 PCI 1 slot 7 */
}; };
const long min_idsel = 0, max_idsel = 7, irqs_per_slot = 5; long min_idsel = 0, max_idsel = 7, irqs_per_slot = 5;
struct pci_controller *hose = dev->sysdata; struct pci_controller *hose = dev->sysdata;
int irq = COMMON_TABLE_LOOKUP; int irq = COMMON_TABLE_LOOKUP;
......
...@@ -34,7 +34,7 @@ struct alpha_machine_vector ...@@ -34,7 +34,7 @@ struct alpha_machine_vector
int nr_irqs; int nr_irqs;
int rtc_port; int rtc_port;
int max_asn; unsigned int max_asn;
unsigned long max_isa_dma_address; unsigned long max_isa_dma_address;
unsigned long irq_probe_mask; unsigned long irq_probe_mask;
unsigned long iack_sc; unsigned long iack_sc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment