search for: device_map

Displaying 9 results from an estimated 9 matches for "device_map".

2010 Jun 30
3
[PATCH 1/2] Add new augeas directory with grub device.map lens
Add a directory to contain required augeas lenses which aren't yet upstream. Include a new lens for grub's device.map. --- augeas/README.txt | 4 ++++ augeas/device_map.aug | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 augeas/README.txt create mode 100644 augeas/device_map.aug diff --git a/augeas/README.txt b/augeas/README.txt new file mode 100644 index 0000000..709be7c --- /dev/null +++ b/augeas/READM...
2011 Nov 14
2
[PATCHv2 RFC] virtio-pci: flexible configuration layout
...; + + /* Various IO mappings: used for resource tracking only. */ + + /* Legacy BAR0: typically PIO. */ + void __iomem *legacy_map; + + /* Mappings specified by device capabilities: typically in MMIO */ + void __iomem *isr_map; + void __iomem *notify_map; + void __iomem *common_map; + void __iomem *device_map; }; +/* + * With PIO, device-specific config moves as MSI-X is enabled/disabled. + * Use this accessor to keep pointer to that config in sync. + */ +static void virtio_pci_set_msix_enabled(struct virtio_pci_device *vp_dev, int enabled) +{ + vp_dev->msix_enabled = enabled; + if (vp_dev->dev...
2011 Nov 14
2
[PATCHv2 RFC] virtio-pci: flexible configuration layout
...; + + /* Various IO mappings: used for resource tracking only. */ + + /* Legacy BAR0: typically PIO. */ + void __iomem *legacy_map; + + /* Mappings specified by device capabilities: typically in MMIO */ + void __iomem *isr_map; + void __iomem *notify_map; + void __iomem *common_map; + void __iomem *device_map; }; +/* + * With PIO, device-specific config moves as MSI-X is enabled/disabled. + * Use this accessor to keep pointer to that config in sync. + */ +static void virtio_pci_set_msix_enabled(struct virtio_pci_device *vp_dev, int enabled) +{ + vp_dev->msix_enabled = enabled; + if (vp_dev->dev...
2011 Nov 22
2
[PATCHv3 RFC] virtio-pci: flexible configuration layout
...source tracking only. */ + +#ifdef CONFIG_VIRTIO_PCI_LEGACY + /* Legacy BAR0: typically PIO. */ + void __iomem *legacy_map; +#endif + + /* Mappings specified by device capabilities: typically in MMIO */ + void __iomem *isr_map; + void __iomem *notify_map; + void __iomem *common_map; + void __iomem *device_map; }; +#ifdef CONFIG_VIRTIO_PCI_LEGACY +static void __iomem *virtio_pci_set_legacy_map(struct virtio_pci_device *vp_dev) +{ + return vp_dev->legacy_map = pci_iomap(vp_dev->pci_dev, 0, 256); +} + +static void __iomem *virtio_pci_legacy_map(struct virtio_pci_device *vp_dev) +{ + return vp_dev-...
2011 Nov 22
2
[PATCHv3 RFC] virtio-pci: flexible configuration layout
...source tracking only. */ + +#ifdef CONFIG_VIRTIO_PCI_LEGACY + /* Legacy BAR0: typically PIO. */ + void __iomem *legacy_map; +#endif + + /* Mappings specified by device capabilities: typically in MMIO */ + void __iomem *isr_map; + void __iomem *notify_map; + void __iomem *common_map; + void __iomem *device_map; }; +#ifdef CONFIG_VIRTIO_PCI_LEGACY +static void __iomem *virtio_pci_set_legacy_map(struct virtio_pci_device *vp_dev) +{ + return vp_dev->legacy_map = pci_iomap(vp_dev->pci_dev, 0, 256); +} + +static void __iomem *virtio_pci_legacy_map(struct virtio_pci_device *vp_dev) +{ + return vp_dev-...
2012 Sep 09
8
bsnmpd always died on HDD detach
I am running bsnmpd with basic snmpd.config (only community and location changed). When there is a problem with HDD and disk disapeared from ATA channel (eg.: disc physically removed) the bsnmpd always dumps core: kernel: pid 1188 (bsnmpd), uid 0: exited on signal 11 (core dumped) I see this for a long rime on all releases of 7.x and 8.x branches (i386 and amd64). I did not tested 9.x. Is
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...*tmds_setting); void viafb_dvi_set_mode(const struct fb_var_screeninfo *var, u16 cxres, u16 cyres, int iga); diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index 898590d..80233da 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c @@ -465,9 +465,9 @@ static struct via_device_mapping device_mapping[] = { static struct via_clock clock; static void load_fix_bit_crtc_reg(void); -static void __devinit init_gfx_chip_info(int chip_type); -static void __devinit init_tmds_chip_info(void); -static void __devinit init_lvds_chip_info(void); +static void init_gfx_chip_info(int chip...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...*tmds_setting); void viafb_dvi_set_mode(const struct fb_var_screeninfo *var, u16 cxres, u16 cyres, int iga); diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index 898590d..80233da 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c @@ -465,9 +465,9 @@ static struct via_device_mapping device_mapping[] = { static struct via_clock clock; static void load_fix_bit_crtc_reg(void); -static void __devinit init_gfx_chip_info(int chip_type); -static void __devinit init_tmds_chip_info(void); -static void __devinit init_lvds_chip_info(void); +static void init_gfx_chip_info(int chip...
2012 Nov 19
2
[PATCH 158/493] video: remove use of __devinit
...*tmds_setting); void viafb_dvi_set_mode(const struct fb_var_screeninfo *var, u16 cxres, u16 cyres, int iga); diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index 898590d..80233da 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c @@ -465,9 +465,9 @@ static struct via_device_mapping device_mapping[] = { static struct via_clock clock; static void load_fix_bit_crtc_reg(void); -static void __devinit init_gfx_chip_info(int chip_type); -static void __devinit init_tmds_chip_info(void); -static void __devinit init_lvds_chip_info(void); +static void init_gfx_chip_info(int chip...