linux/drivers/parisc
Eric W. Biederman 881d966b48 [NET]: Make the device list and device lookups per namespace.
This patch makes most of the generic device layer network
namespace safe.  This patch makes dev_base_head a
network namespace variable, and then it picks up
a few associated variables.  The functions:
dev_getbyhwaddr
dev_getfirsthwbytype
dev_get_by_flags
dev_get_by_name
__dev_get_by_name
dev_get_by_index
__dev_get_by_index
dev_ioctl
dev_ethtool
dev_load
wireless_process_ioctl

were modified to take a network namespace argument, and
deal with it.

vlan_ioctl_set and brioctl_set were modified so their
hooks will receive a network namespace argument.

So basically anthing in the core of the network stack that was
affected to by the change of dev_base was modified to handle
multiple network namespaces.  The rest of the network stack was
simply modified to explicitly use &init_net the initial network
namespace.  This can be fixed when those components of the network
stack are modified to handle multiple network namespaces.

For now the ifindex generator is left global.

Fundametally ifindex numbers are per namespace, or else
we will have corner case problems with migration when
we get that far.

At the same time there are assumptions in the network stack
that the ifindex of a network device won't change.  Making
the ifindex number global seems a good compromise until
the network stack can cope with ifindex changes when
you change namespaces, and the like.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:49:10 -07:00
..
asp.c [PARISC] Convert parisc_device to use struct resource for hpa 2005-10-21 22:36:40 -04:00
ccio-dma.c [PARISC] fix section mismatch in ccio-dma 2007-05-27 12:35:59 -04:00
ccio-rm-dma.c [PARISC] Convert parisc_device to use struct resource for hpa 2005-10-21 22:36:40 -04:00
dino.c Build fixes for struct pt_regs removal 2006-10-06 20:47:23 -06:00
eisa_eeprom.c [PATCH] mark struct file_operations const 5 2007-02-12 09:48:45 -08:00
eisa_enumerator.c
eisa.c [PARISC] fix section mismatch in parisc eisa driver 2007-05-27 15:01:14 -04:00
gsc.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
gsc.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hppb.c hppb: Add missing dma-mapping.h include 2007-07-17 13:53:29 -07:00
iommu-helpers.h [PARISC] ROUNDUP macro cleanup in drivers/parisc 2007-05-22 23:56:18 -04:00
iosapic_private.h [PARISC] sparse fixes 2006-12-08 00:34:33 -05:00
iosapic.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
Kconfig [PARISC] PDC_CHASSIS is implemented on all machines 2006-06-27 23:28:37 +00:00
lasi.c [PARISC] Add chassis_power_off routine 2006-01-22 20:26:50 -05:00
lba_pci.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
led.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
Makefile
pdc_stable.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
power.c [PARISC] Build fixes for power.c 2007-05-25 19:19:35 -04:00
README.dino
sba_iommu.c [PARISC] ROUNDUP macro cleanup in drivers/parisc 2007-05-22 23:56:18 -04:00
superio.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
wax.c [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00

/*
** HP VISUALIZE Workstation PCI Bus Defect
**
** "HP has discovered a potential system defect that can affect
** the behavior of five models of HP VISUALIZE workstations when
** equipped with third-party or customer-installed PCI I/O expansion
** cards. The defect is limited to the HP C180, C160, C160L, B160L,
** and B132L VISUALIZE workstations, and will only be encountered
** when data is transmitted through PCI I/O expansion cards on the
** PCI bus. HP-supplied graphics cards that utilize the PCI bus are
** not affected."
**
** REVISIT: "go/pci_defect" link below is stale.
**	HP Internal can use <http://hpfcdma.fc.hp.com:80/Dino/>
**
**	Product		First Good Serial Number
**  C200/C240 (US)	US67350000
**B132L+/B180 (US)	US67390000
**   C200 (Europe)	3713G01000
**  B180L (Europe)	3720G01000
**
** Note that many boards were fixed/replaced under a free replacement
** program. Assume a machine is only "suspect" until proven otherwise.
**
** "The pci_check program will also be available as application
**  patch PHSS_12295"
*/