- Jul 27, 2009
-
-
Karsten Keil authored
Based on comments from Joe Perches <joe@perches.com>. Thanks. Fix IOFUNC_MEMIO macro. WriteFiFo##name##_MIO use the wrong struct name, this was missed because the macro was only called with this name. Clarify with _func that the defined types are functions. Add names to the parameters for better understanding the purpose. Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Stephen Rothwell authored
Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au> Acked-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Jul 25, 2009
-
-
Karsten Keil authored
In the PCI probe function struct pci_device_id points to the matched entry of the ID table, but for devices which are matched with PCI_ANY_ID sub IDs we want display the IDs of the device itself. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
These changes were a direct result of using a semantic patch More information can be found at http://www.emn.fr/x-info/coccinelle/ Modified some of the changes to avoid the extra define. Signed-off-by:
Stoyan Gaydarov <sgayda2@uiuc.edu> Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Julia Lawall authored
The result of container_of should not be NULL. In particular, in this case the argument to the enclosing function has passed though INIT_WORK, which dereferences it, implying that its container cannot be NULL. A simplified version of the semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/ ) // <smpl> @@ identifier fn,work,x,fld; type T; expression E1,E2; statement S; @@ static fn(struct work_struct *work) { ... when != work = E1 x = container_of(work,T,fld) ... when != x = E2 - if (x == NULL) S ... } // </smpl> Signed-off-by:
Julia Lawall <julia@diku.dk> Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Add support for cards based on the Tiger 300 and Tiger 320 ISDN PCI chip. Currently only the ISAC ISDN line interface is supported. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Add driver for Winbond W6692 based PCI cards. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Add support for the Siemens ISAR DSP chip and cards based on it, including analog modem protocols. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Add mISDN driver for AVM FRITZ!CARD PCI (all versions). Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
This driver supports cards with Infineon ISAC/HSCX, ISACX, IPAC and IPACX chips from various manufacturers. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Clearing B-channel is needed in every driver, so it makes sense to have it as common function. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Normally HDLC packets contain more as one byte (e.g a X25/X75 header). But if you use plain HDLC framing, the current code do not encode 1 byte payloads, this patch fix that. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
The original isdnhdlc code was developed for devices which had reversed bitorder in the byte stream. Adding code to handle normal bitstreams as well. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Clean up isdnhdlc to meet current code standard. Remove hint to already removed bit reversal table. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
isdnhdlc is useful for other ISDN drivers as well. Move the include file to a central location and the source to the central isdn location. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
- Jul 05, 2009
-
-
Patrick McHardy authored
This patch converts the remaining occurences of raw return values to their symbolic counterparts in ndo_start_xmit() functions that were missed by the previous automatic conversion. Additionally code that assumed the symbolic value of NETDEV_TX_OK to be zero is changed to explicitly use NETDEV_TX_OK. Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Patrick McHardy authored
This patch is the result of an automatic spatch transformation to convert all ndo_start_xmit() return values of 0 to NETDEV_TX_OK. Some occurences are missed by the automatic conversion, those will be handled in a seperate patch. Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Jul 02, 2009
-
-
Tilman Schmidt authored
Drop a sanity check which doesn't serve any useful purpose anymore. Signed-off-by:
Tilman Schmidt <tilman@imap.cc> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Tilman Schmidt authored
ISDN connection setup failed if the "connection active" and "B channel up" messages from the device arrived in a different order than expected. Modify the state machine to accept them in any order. Impact: bugfix Signed-off-by:
Tilman Schmidt <tilman@imap.cc> CC: stable <stable@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Jun 17, 2009
-
-
Patrick McHardy authored
Fix up remaining drivers returning a magic or an errno value from their ndo_start_xmit() functions that were missed in the first pass: - isdn_net: missed conversion - bpqether: missed conversion: skb is freed, so return NETDEV_TX_OK - hp100: intention appears to be to resubmit skb once resources are available, but due to no queue handling it is dropped for now. - lapbether: skb is freed, so return NETDEV_TX_OK Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Jun 13, 2009
-
-
Patrick McHardy authored
Convert magic values 1 and -1 to NETDEV_TX_BUSY and NETDEV_TX_LOCKED respectively. 0 (NETDEV_TX_OK) is not changed to keep the noise down, except in very few cases where its in direct proximity to one of the other values. Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Jun 12, 2009
-
-
Martin Olsson authored
Signed-off-by:
Martin Olsson <martin@minimum.se> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Martin Olsson authored
trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. Signed-off-by:
Martin Olsson <martin@minimum.se> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Jun 11, 2009
-
-
Karsten Keil authored
This fix triggering the WARN_ON_ONCE(in_irq() || irqs_disabled()); in local_bh_enable(). Here is no need to grab this lock, this was wrong at all and may cause a deadlock and access to freed memory, since on a TEI remove the current listelement can be deleted under us. So this is clearly a case for list_for_each_entry_safe. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Roel Kluin authored
The check for overindexing of dev->mdm.info[] has an off-by-one. Signed-off-by:
Roel Kluin <roel.kluin@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Acked-by:
Karsten Keil <keil@b1-systems.de>
-
Andreas Mohr authored
If we get no interrupts for after 3 resets we need to unregister the interrupt function, which is already done outside the loop. Signed-off-by:
Andreas Mohr <andi@lisas.de> Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Remove code rewriting a buffer by itself. This fix bug 12970 on bugzilla.kernel.org. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
Karsten Keil authored
Replace wrong code with correct DMA API functions. Signed-off-by:
Karsten Keil <keil@b1-systems.de>
-
- Jun 08, 2009
-
-
Tilman Schmidt authored
The dereferencing of the private pointer cmsg->m in capi_cmsg2str() may cause an Oops in case of an error, which is particularly inconvenient as that function is typically used to format an error message. Add a NULL pointer check to avoid this. Impact: error handling improvement Signed-off-by:
Tilman Schmidt <tilman@imap.cc> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Tilman Schmidt authored
Add kerneldoc comments for the exported funtions in capiutil.c. Impact: documentation Signed-off-by:
Tilman Schmidt <tilman@imap.cc> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Tilman Schmidt authored
Change the name of the Kernel CAPI exported function capi_ctr_reseted() to something representing its purpose better. Impact: renaming, no functional change Signed-off-by:
Tilman Schmidt <tilman@imap.cc> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- May 25, 2009
-
-
Andreas Eversberg authored
The new ID is validated by Cologne Chip. LEDs control is also supported. Signed-off-by:
Andreas Eversberg <andreas@eversberg.eu> Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Andreas Eversberg authored
DTMF detection was enabled when it was not supposed to. Signed-off-by:
Andreas Eversberg <andreas@eversberg.eu> Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Arnaldo Carvalho de Melo authored
Reducing the number of direct users of sock_{recv,send}msg. Modified version to match the latest context. Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Karsten Keil authored
This patch make debug printk's KERN_DEBUG and also fix some codestyle issues. Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Andreas Eversberg authored
new id for HFC-8S Signed-off-by:
Andreas Eversberg <andreas@eversberg.eu> Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Roel Kluin authored
dev->id is unsigned so a get_free_devid() error is ignored. Signed-off-by:
Roel Kluin <roel.kluin@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Karsten Keil authored
New version without emulating arch specific stuff for the other architectures, the special IO and init functions for the 8xx microcontroller are in a separate include file. Signed-off-by:
Andreas Eversberg <andreas@eversberg.eu> Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Karsten Keil authored
If the channel receive function returns an error the skb must be freed. Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Andreas Eversberg authored
Using sapi values other than 0 work now. The "OpenBSC" project does not require special kernel patch anymore. Signed-off-by:
Andreas Eversberg <andreas@eversberg.eu> Signed-off-by:
Karsten Keil <keil@b1-systems.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-