summaryrefslogtreecommitdiff
path: root/xpp/xpp_zap.c
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-10-16 17:55:05 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-10-16 17:55:05 +0000
commit6bc1dbffe9f77eb3c85a655ffeaff64d963c6b43 (patch)
treee94ccfa1c5bf43ffac9eb4ec251eee58ae8fe39a /xpp/xpp_zap.c
parent37886eb9069e5a088d721f41202e7c3dd4ca0a09 (diff)
xpp r4892:
* Zaptel/Hardware perl modules: - Use sysfs directly. Don't rely on lspci/lsusb. - Each device has a description and driver name. - Zaptel::Hardware::drivers() to show the list of required drivers for this system (see zaptel_drivers). - zaptel_hardware shows a description and a (suggested?) driver. * zt_registration sorts by Serial first and only then by connector. * USB_FW.hex replaces all the USB_11x0.hex . - Separate USB interface for the management processor. - Hence fpga_load can now work even with drivers loaded. * Fix firmware upgrading. * Fix manual firmware loading while auto-loading. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3142 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpp_zap.c')
-rw-r--r--xpp/xpp_zap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xpp/xpp_zap.c b/xpp/xpp_zap.c
index 8f63360..67de877 100644
--- a/xpp/xpp_zap.c
+++ b/xpp/xpp_zap.c
@@ -1491,11 +1491,11 @@ int xpp_ioctl(struct zt_chan *chan, unsigned int cmd, unsigned long arg)
if (ret != -ENOTTY)
return ret;
}
- DBG(GENERAL, "ENOTTY: chan=%d cmd=0x%x\n", pos, cmd);
- DBG(GENERAL, " IOC_TYPE=0x%02X\n", _IOC_TYPE(cmd));
- DBG(GENERAL, " IOC_DIR=0x%02X\n", _IOC_DIR(cmd));
- DBG(GENERAL, " IOC_NR=0x%02X\n", _IOC_NR(cmd));
- DBG(GENERAL, " IOC_SIZE=0x%02X\n", _IOC_SIZE(cmd));
+ XPD_DBG(GENERAL, xpd, "ENOTTY: chan=%d cmd=0x%x\n", pos, cmd);
+ XPD_DBG(GENERAL, xpd, " IOC_TYPE=0x%02X\n", _IOC_TYPE(cmd));
+ XPD_DBG(GENERAL, xpd, " IOC_DIR=0x%02X\n", _IOC_DIR(cmd));
+ XPD_DBG(GENERAL, xpd, " IOC_NR=0x%02X\n", _IOC_NR(cmd));
+ XPD_DBG(GENERAL, xpd, " IOC_SIZE=0x%02X\n", _IOC_SIZE(cmd));
return -ENOTTY;
}
return 0;