Commit Graph

38 Commits

Author SHA1 Message Date
tsutsui
e6f8529d26 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:58:16 +00:00
augustss
9cef2a3db7 Add an XXX comment. 2001-12-29 14:25:47 +00:00
augustss
996d5c6c26 Be a little more paranoid. 2001-12-26 10:56:58 +00:00
augustss
4668f40616 Don't forget to call start routine in dongle manipulation. 2001-12-20 11:30:13 +00:00
augustss
28318702e6 Rearrange code that wiggles modem control lines so it actually reaches
the com port driver.
2001-12-20 09:26:35 +00:00
explorer
6b9f60a2db install into /usr/include/dev/ir, since Jason made irdaattach look here. 2001-12-15 01:03:28 +00:00
augustss
7f50d17c46 Sanity check speed setting. 2001-12-14 12:57:30 +00:00
augustss
142cdc8997 Rearrage softc a little. 2001-12-14 12:56:58 +00:00
augustss
3df38cc501 Some debug stuff. 2001-12-13 17:15:09 +00:00
augustss
f2821a312a Fix TODO comment. 2001-12-13 17:14:21 +00:00
augustss
090d1a628e Move parameter checks to a common place. 2001-12-13 15:09:07 +00:00
augustss
2485171a67 Use unsigned ints. 2001-12-13 15:08:26 +00:00
augustss
d6bbabfb1b Some DIAGNOSTIC nonsense. 2001-12-13 00:33:58 +00:00
augustss
a97820e536 Don't use u_int since it requires sys/types.h 2001-12-13 00:33:36 +00:00
augustss
3ed67fc0c4 Add missing delay for the tekram dongle. 2001-12-12 17:52:06 +00:00
augustss
5c0685d35e Don't use timeout 0 to tsleep() when the time is short. 2001-12-12 17:21:36 +00:00
augustss
2fe5c52a53 Use unsigned ints for device settings. 2001-12-12 15:34:49 +00:00
augustss
fae70125c0 Change default value for ebofs. 2001-12-12 15:34:15 +00:00
augustss
0680aa8809 Add some ioctl()s for consumer IR. 2001-12-12 15:33:53 +00:00
augustss
604ea366d4 Restructure to get rid of size limit.
Fix return value bug.
2001-12-06 00:17:12 +00:00
augustss
5ef96ebab2 Don't crash on early calls to get the speeds. 2001-12-06 00:11:18 +00:00
augustss
b24bbb4d82 Constify a little. 2001-12-05 20:00:15 +00:00
augustss
47fffba901 Add dongle specific code. 2001-12-05 19:59:54 +00:00
augustss
8c2cf4c7d8 Break out SIR framing to its own file. 2001-12-05 14:50:13 +00:00
augustss
9c8fe0b8c5 Put bytes on right q. 2001-12-05 04:31:02 +00:00
augustss
0913a897a5 Set error code for IRDA_RESET_PARAMS. 2001-12-05 04:30:24 +00:00
augustss
af5eb6fc8c Fix some minor bug.
Add more debugging.
2001-12-05 04:07:06 +00:00
augustss
b81ddff1a7 Reset parameters on open. 2001-12-05 04:06:32 +00:00
augustss
037eb62a0f Mention that much of the code was stolen from Tommy Bohlin. 2001-12-05 01:13:58 +00:00
augustss
3ead5262dd Add some dongle support ioctl()s. 2001-12-04 23:33:33 +00:00
augustss
527fff66c0 Change speed setting a little. 2001-12-04 21:50:50 +00:00
augustss
64a9c02472 Implement speed setting. 2001-12-04 20:53:21 +00:00
augustss
636b7788a1 Implement input processing (untested). 2001-12-04 19:56:43 +00:00
augustss
1db6a7d9df Simplify interface to irframe. 2001-12-04 19:56:17 +00:00
augustss
5f99a98472 Add irframetty driver for IrDA frames over serial lines.
THIS MOST DEFINITELY DOES NOT WORK.  IT'S VERY INCOMPLETE.
2001-12-03 23:32:32 +00:00
augustss
1187860bcf GC unused stuff. 2001-12-02 20:06:00 +00:00
augustss
cf8a8cbe20 Fixes from Jan Sparud's code:
Make read and write methods symmetrical, add poll method.
2001-12-02 16:29:25 +00:00
augustss
b540959734 Add framework for Ir devices. The irframe device is for delivering IrDA
frame to user land and the cir device is for consumer Ir (remote controls).

This code is only partially finished, but the irframe device works (given
a low level driver for the actual IrDA device).
2001-12-02 10:44:43 +00:00