[-]
[+]
|
Changed |
dahdi-linux.spec
|
|
[-]
[+]
|
Deleted |
dahdi-2.2.0.2.patch
^
|
@@ -1,88 +0,0 @@
---- Makefile.orig 2009-05-12 23:57:44.000000000 +0200
-+++ Makefile 2009-08-11 20:34:37.000000000 +0200
-@@ -115,7 +115,7 @@
-
- install-firmware:
- ifeq ($(HOTPLUG_FIRMWARE),yes)
-- $(MAKE) -C drivers/dahdi/firmware hotplug-install DESTDIR=$(DESTDIR) HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
-+ $(MAKE) -C drivers/dahdi/firmware hotplug-install DESTDIR=$(DESTDIR) LIBDIR=$(LIBDIR) HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
- endif
-
- uninstall-firmware:
---- drivers/dahdi/firmware/Makefile.orig 2009-04-29 19:48:39.000000000 +0200
-+++ drivers/dahdi/firmware/Makefile 2009-08-11 20:43:09.000000000 +0200
-@@ -64,7 +64,7 @@
-
- # Download and extract firmware tarballs
- dahdi-fw-%.tar.gz:
-- @if ( [ "$(HOTPLUG_FIRMWARE)" = "no" ] ) || ( [ -d $(DESTDIR)/usr/lib/hotplug/firmware ] && ! [ -f $(DESTDIR)/usr/lib/hotplug/firmware/.$(subst .tar.gz,,$*) ] ) || ( [ -d $(DESTDIR)/lib/firmware ] && ! [ -f $(DESTDIR)/lib/firmware/.$(subst .tar.gz,,$*) ] ); then \
-+ @if ( [ "$(HOTPLUG_FIRMWARE)" = "no" ] ) || ( [ -d $(DESTDIR)/$(LIBDIR)/hotplug/firmware ] && ! [ -f $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.$(subst .tar.gz,,$*) ] ) || ( [ -d $(DESTDIR)/lib/firmware ] && ! [ -f $(DESTDIR)/lib/firmware/.$(subst .tar.gz,,$*) ] ); then \
- echo "Attempting to download $@"; \
- if test ! -f $@; then $(DOWNLOAD) $(WGET_ARGS) $(FIRMWARE_URL)/$@; fi; \
- if test ! -f $@; then exit 1; fi; \
-@@ -82,38 +82,38 @@
- # Create object files suitable for linking against
- object-build: $(FIRMWARE) $(OBJECT_FILES)
-
--$(DESTDIR)/usr/lib/hotplug/firmware $(DESTDIR)/lib/firmware:
-+$(DESTDIR)/$(LIBDIR)/hotplug/firmware $(DESTDIR)/lib/firmware:
- mkdir -p $@
-
- # Install all downloaded firmware images for hotplug usage
--hotplug-install: $(DESTDIR)/usr/lib/hotplug/firmware $(DESTDIR)/lib/firmware $(FIRMWARE)
--ifeq ($(shell if ( [ -f $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-oct6114-064-$(OCT6114_064_VERSION) ] ) && ( [ -f $(DESTDIR)/lib/firmware/.dahdi-fw-oct6114-064-$(OCT6114_064_VERSION) ] ); then echo "no"; else echo "yes"; fi),yes)
-+hotplug-install: $(DESTDIR)$(LIBDIR)/hotplug/firmware $(DESTDIR)/lib/firmware $(FIRMWARE)
-+ifeq ($(shell if ( [ -f $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-oct6114-064-$(OCT6114_064_VERSION) ] ) && ( [ -f $(DESTDIR)/lib/firmware/.dahdi-fw-oct6114-064-$(OCT6114_064_VERSION) ] ); then echo "no"; else echo "yes"; fi),yes)
- @echo "Installing dahdi-fw-oct6114-064.bin to hotplug firmware directories"
-- @install -m 644 dahdi-fw-oct6114-064.bin $(DESTDIR)/usr/lib/hotplug/firmware
-- @rm -rf $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-oct6114-064-*
-- @touch $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-oct6114-064-$(OCT6114_064_VERSION)
-+ @install -m 644 dahdi-fw-oct6114-064.bin $(DESTDIR)/$(LIBDIR)/hotplug/firmware
-+ @rm -rf $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-oct6114-064-*
-+ @touch $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-oct6114-064-$(OCT6114_064_VERSION)
- @install -m 644 dahdi-fw-oct6114-064.bin $(DESTDIR)/lib/firmware
- @rm -rf $(DESTDIR)/lib/firmware/.dahdi-fw-oct6114-064-*
- @touch $(DESTDIR)/lib/firmware/.dahdi-fw-oct6114-064-$(OCT6114_064_VERSION)
- else
- @echo "Firmware dahdi-fw-oct6114-064.bin is already installed with required version $(OCT6114_064_VERSION)"
- endif
--ifeq ($(shell if ( [ -f $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-oct6114-128-$(OCT6114_128_VERSION) ] ) && ( [ -f $(DESTDIR)/lib/firmware/.dahdi-fw-oct6114-128-$(OCT6114_128_VERSION) ] ); then echo "no"; else echo "yes"; fi),yes)
-+ifeq ($(shell if ( [ -f $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-oct6114-128-$(OCT6114_128_VERSION) ] ) && ( [ -f $(DESTDIR)/lib/firmware/.dahdi-fw-oct6114-128-$(OCT6114_128_VERSION) ] ); then echo "no"; else echo "yes"; fi),yes)
- @echo "Installing dahdi-fw-oct6114-128.bin to hotplug firmware directories"
-- @install -m 644 dahdi-fw-oct6114-128.bin $(DESTDIR)/usr/lib/hotplug/firmware
-- @rm -rf $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-oct6114-128-*
-- @touch $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-oct6114-128-$(OCT6114_128_VERSION)
-+ @install -m 644 dahdi-fw-oct6114-128.bin $(DESTDIR)/$(LIBDIR)/hotplug/firmware
-+ @rm -rf $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-oct6114-128-*
-+ @touch $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-oct6114-128-$(OCT6114_128_VERSION)
- @install -m 644 dahdi-fw-oct6114-128.bin $(DESTDIR)/lib/firmware
- @rm -rf $(DESTDIR)/lib/firmware/.dahdi-fw-oct6114-128-*
- @touch $(DESTDIR)/lib/firmware/.dahdi-fw-oct6114-128-$(OCT6114_128_VERSION)
- else
- @echo "Firmware dahdi-fw-oct6114-128.bin is already installed with required version $(OCT6114_128_VERSION)"
- endif
--ifeq ($(shell if ( [ -f $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-tc400m-$(TC400M_VERSION) ] ) && ( [ -f $(DESTDIR)/lib/firmware/.dahdi-fw-tc400m-$(TC400M_VERSION) ] ); then echo "no"; else echo "yes"; fi),yes)
-+ifeq ($(shell if ( [ -f $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-tc400m-$(TC400M_VERSION) ] ) && ( [ -f $(DESTDIR)/lib/firmware/.dahdi-fw-tc400m-$(TC400M_VERSION) ] ); then echo "no"; else echo "yes"; fi),yes)
- @echo "Installing dahdi-fw-tc400m.bin to hotplug firmware directories"
-- @install -m 644 dahdi-fw-tc400m.bin $(DESTDIR)/usr/lib/hotplug/firmware
-- @rm -rf $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-tc400m-*
-- @touch $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw-tc400m-$(TC400M_VERSION)
-+ @install -m 644 dahdi-fw-tc400m.bin $(DESTDIR)/$(LIBDIR)/hotplug/firmware
-+ @rm -rf $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-tc400m-*
-+ @touch $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw-tc400m-$(TC400M_VERSION)
- @install -m 644 dahdi-fw-tc400m.bin $(DESTDIR)/lib/firmware
- @rm -rf $(DESTDIR)/lib/firmware/.dahdi-fw-tc400m-*
- @touch $(DESTDIR)/lib/firmware/.dahdi-fw-tc400m-$(TC400M_VERSION)
-@@ -123,9 +123,9 @@
-
- # Uninstall any installed dahdi firmware images from hotplug firmware directories
- hotplug-uninstall:
-- if [ -d $(DESTDIR)/usr/lib/hotplug/firmware ]; then \
-- rm -f $(DESTDIR)/usr/lib/hotplug/firmware/dahdi-fw-*.bin; \
-- rm -f $(DESTDIR)/usr/lib/hotplug/firmware/.dahdi-fw*; \
-+ if [ -d $(DESTDIR)/$(LIBDIR)/hotplug/firmware ]; then \
-+ rm -f $(DESTDIR)/$(LIBDIR)/hotplug/firmware/dahdi-fw-*.bin; \
-+ rm -f $(DESTDIR)/$(LIBDIR)/hotplug/firmware/.dahdi-fw*; \
- fi
- if [ -d $(DESTDIR)/lib/firmware ]; then \
- rm -f $(DESTDIR)/lib/firmware/dahdi-fw-*.bin; \
|
[-]
[+]
|
Added |
sles.patch
^
|
@@ -0,0 +1,43 @@
+--- include/dahdi/kernel.h 2008-10-27 16:14:36.000000000 +0100
++++ include/dahdi/kernel.h.new 2008-12-11 14:36:07.000000000 +0100
+@@ -936,4 +936,40 @@
+ #define kzalloc(a, b) kcalloc(1, a, b)
+ #endif
+
++#ifndef dev_printk
++#define dev_printk(level, dev, format, arg...) \
++ printk(level "%s %s: " format , dev_driver_string(dev) , \
++ (dev)->bus_id , ## arg)
++#endif
++
++#ifndef dev_emerg
++#define dev_emerg(dev, format, arg...) \
++ dev_printk(KERN_EMERG , dev , format , ## arg)
++#endif
++#ifndef dev_alert
++#define dev_alert(dev, format, arg...) \
++ dev_printk(KERN_ALERT , dev , format , ## arg)
++#endif
++#ifndef dev_crit
++#define dev_crit(dev, format, arg...) \
++ dev_printk(KERN_CRIT , dev , format , ## arg)
++#endif
++#ifndef dev_err
++#define dev_err(dev, format, arg...) \
++ dev_printk(KERN_ERR , dev , format , ## arg)
++#endif
++#ifndef dev_warn
++#define dev_warn(dev, format, arg...) \
++ dev_printk(KERN_WARNING , dev , format , ## arg)
++#endif
++#ifndef dev_notice
++#define dev_notice(dev, format, arg...) \
++ dev_printk(KERN_NOTICE , dev , format , ## arg)
++#endif
++#ifndef dev_info
++#define dev_info(dev, format, arg...) \
++ dev_printk(KERN_INFO , dev , format , ## arg)
++#endif
++
++
+ #endif /* _DAHDI_KERNEL_H */
|
|
Deleted |
dahdi-linux-2.0.0.tar.bz2
^
|
|
Deleted |
dahdi-linux-2.1.0.3.tar.bz2
^
|
|
Deleted |
dahdi-linux-2.1.0.4.tar.bz2
^
|
|
Added |
firmware.tar.bz2/dahdi/firmware/dahdi-fwload-vpmadt032-1.17.0.tar.gz
^
|