Commit Graph

19 Commits

Author SHA1 Message Date
Aki Niemi 255782f8c2 isimodem: Fix request cleanup code
Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.
2010-10-19 15:06:35 +03:00
Aki Niemi 297b14ca8b isimodem: Fix copyright and license boilerplate 2010-10-14 15:22:16 +03:00
Pekka Pessi 654c0ef73b Eliminated bool, true and false from isimodem. 2010-05-27 13:41:51 -05:00
Denis Kenzior 2cde0841aa Style: Should be a space after if 2010-01-12 17:54:37 -06:00
Aki Niemi 63c2dd93b0 Refactor devinfo driver 2010-01-11 10:52:07 +02:00
Aki Niemi 0bc615eead Remove contact from boilerplate 2010-01-11 10:51:00 +02:00
Aki Niemi c03cdaed9a Split ISI codepoints to separate files
Also, adding infrastructure for debugging ISI messages, with APIs for
turning most common fields into human readable string format.
2010-01-11 10:51:00 +02:00
Rémi Denis-Courmont bc6c4adcac gisi: pass object handle to g_isi_verify() callback
This will be needed for GPDS.
2009-12-18 15:59:17 +02:00
Pekka Pessi d1d870ba7a Refactor subblock iterators.
Always initialize iterators.

Try to avoid pointer arithmetics on NULL; in other words, move all pointer
arithmetics inside g_isi_sb_iter_init().

There are 4 different ways for representing sub blocks in ISI message:
- 8-bit sub_blocks count, 8-bit sub_block_id/sub_block_len
- 16-bit sub_blocks count, 8-bit sub_block_id/sub_block_len
- 8-bit sub_blocks count, 16-bit sub_block_id/sub_block_len
- 16-bit sub_blocks count, 16-bit sub_block_id/sub_block_len

The compact form g_isi_sb_iter_init() supports 8-bit sub_block count before
start of the sub blocks themselves and 8-bit sub_block_id and sub_block_len.
The full form g_isi_sb_iter_init_full() with explicit longhdr and sub_block
count supports all other cases.
2009-10-09 12:54:04 +03:00
Aki Niemi 795e65ad53 Add proper bootstrap using g_isi_verify() 2009-09-15 15:37:01 +03:00
Marcel Holtmann ee0555dda1 Fix compiler warnings on 64-bit systems 2009-09-14 14:10:15 -07:00
Aki Niemi e58d28f6b6 Adapt to changed sub-block iterator API 2009-09-14 23:43:57 +03:00
Aki Niemi 6c08fc8e50 Refactor to use gisi/iter.h 2009-09-14 16:21:35 +03:00
Aki Niemi 6ee21a3fc1 Fix to use new success/failure callback macros 2009-09-12 18:57:16 +03:00
Denis Kenzior 58d0aa72b2 Rename isi drivers to isimodem
Be more consistent with directory naming
2009-09-01 22:35:14 -05:00
Denis Kenzior 9caa606bcc Make remove functions not return anything 2009-09-01 22:27:08 -05:00
Denis Kenzior 422df0edfb change int vendor to unsigned int vendor 2009-09-01 21:39:02 -05:00
Denis Kenzior c7d35dd039 Add vendor flag capability to devinfo 2009-09-01 18:14:58 -05:00
Aki Niemi 74782318bd Rename all files under drivers/isimodem/ 2009-08-25 14:04:42 +03:00