aboutsummaryrefslogtreecommitdiffstats
path: root/package/udev
Commit message (Expand)AuthorAgeFilesLines
* udev: install development libraries in staging dir (#8370)Florian Fainelli2011-01-291-0/+11
* udev: mark /etc/udev/udev.conf as conffile (rules left out for now)Jo-Philipp Wich2010-10-051-0/+4
* remove obsolete kernel dependencies and version checksFelix Fietkau2010-06-261-1/+0
* package/udev: move configuration in submenu, rename udev-config.in to Config....Nicolas Thill2010-04-162-5/+4
* udev depends on 2.6, cleanup MakefileFlorian Fainelli2009-09-031-5/+6
* udev: Update udev package from udev-106 to udev-142Geoff Levand2009-08-247-206/+181
* udevtrigger: Breakout udevtrigger packageGeoff Levand2009-08-241-13/+0
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
* add missing udevextras package option - edd_idYuji Mano2008-05-052-8/+14
* move hotplug2 & udevtrigger to base sectionNicolas Thill2008-04-211-0/+2
* remove udevextras dependency on udev (thx, fish)Felix Fietkau2008-04-151-1/+0
* udevtrigger shouldn't depend on udev, we use it standalone for hotplug2Imre Kaloz2008-04-141-1/+0
* fix udevextras build when no extras were actually selectedNicolas Thill2008-04-131-3/+5
* Replace udev-vol-id pacakge with configurable udevextrasJeremy Kerr2008-04-122-9/+73
* Group input devices under /dev/inputJeremy Kerr2008-04-122-0/+11
* add a package for the udev vol_id utility (thx, fish)Felix Fietkau2008-04-011-0/+13
* Use $(CP) instead of $(INSTALL_BIN) for binaries.Felix Fietkau2007-12-091-6/+6
* Add udev initilisationFelix Fietkau2007-10-231-0/+1
* move package description to a separate definition, remove it when DESCRIPTION...Nicolas Thill2007-09-071-5/+7
* add a '@KERNEL' download facility, tweak scriptNicolas Thill2007-08-261-6/+1
* refresh all package patches in the buildroot using quiltFelix Fietkau2007-06-043-8/+12
* fixes for a few build errors on osx without finkFelix Fietkau2007-04-291-0/+50
* add file type autodetection for the unpack command and nuke PKG_CAT:= in lots...Felix Fietkau2007-03-161-1/+0
* add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DI...Felix Fietkau2007-03-161-3/+0
* trunk.. same deal as changeset:6526Tim Yardley2007-03-052-0/+0
* nuke mdev and replace it with hotplug2 :)Felix Fietkau2007-03-041-0/+10
* upgrade udev to latest version and add separate package for udevtrigger (will...Felix Fietkau2007-03-041-2/+13
* upgrade udev to v103, add kexec-toolsImre Kaloz2006-11-242-15/+12
* finally move buildroot-ng to trunkFelix Fietkau2016-03-202-0/+90
span class="n">data->drkaiser_bar + (addr & DRKAISER_MEMMAP_MASK)); } static uint8_t drkaiser_chip_readb(const struct flashctx *flash, const chipaddr addr) { struct drkaiser_data *data = flash->mst->par.data; return pci_mmio_readb(data->drkaiser_bar + (addr & DRKAISER_MEMMAP_MASK)); } static int drkaiser_shutdown(void *par_data) { free(par_data); return 0; } static const struct par_master par_master_drkaiser = { .chip_readb = drkaiser_chip_readb, .chip_readw = fallback_chip_readw, .chip_readl = fallback_chip_readl, .chip_readn = fallback_chip_readn, .chip_writeb = drkaiser_chip_writeb, .chip_writew = fallback_chip_writew, .chip_writel = fallback_chip_writel, .chip_writen = fallback_chip_writen, .shutdown = drkaiser_shutdown, }; static int drkaiser_init(void) { struct pci_dev *dev = NULL; uint32_t addr; uint8_t *bar; dev = pcidev_init(drkaiser_pcidev, PCI_BASE_ADDRESS_2); if (!dev) return 1; addr = pcidev_readbar(dev, PCI_BASE_ADDRESS_2); if (!addr) return 1; /* Write magic register to enable flash write. */ rpci_write_word(dev, PCI_MAGIC_DRKAISER_ADDR, PCI_MAGIC_DRKAISER_VALUE); /* Map 128kB flash memory window. */ bar = rphysmap("Dr. Kaiser PC-Waechter flash memory", addr, DRKAISER_MEMMAP_SIZE); if (bar == ERROR_PTR) return 1; struct drkaiser_data *data = calloc(1, sizeof(*data)); if (!data) { msg_perr("Unable to allocate space for PAR master data\n"); return 1; } data->drkaiser_bar = bar; max_rom_decode.parallel = 128 * 1024; return register_par_master(&par_master_drkaiser, BUS_PARALLEL, data); } const struct programmer_entry programmer_drkaiser = { .name = "drkaiser", .type = PCI, .devs.dev = drkaiser_pcidev, .init = drkaiser_init, .map_flash_region = fallback_map, .unmap_flash_region = fallback_unmap, .delay = internal_delay, };