Commit Graph

46 Commits

Author SHA1 Message Date
itojun 300aa0dcd5 use bounded string ops (snprintf, strl*) 2004-04-23 17:25:25 +00:00
augustss 92bc86cdb6 Add Epson Perfection 1670 scanner 2004-03-15 11:09:23 +00:00
augustss 5f31dab3df Add more scanners. 2004-01-05 13:29:49 +00:00
augustss 7686442d28 Add more scanners. From FreeBSD. 2003-11-23 19:07:10 +00:00
fvdl d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr 960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
wiz 902dd8b54d Undo last (not supposed to be committed). 2003-01-27 00:32:44 +00:00
wiz b091df0ed2 regen (CANOSCAN N670U). 2003-01-27 00:31:01 +00:00
augustss 61f5ebcc50 Add Epson Perfection 2400. From kern/19856, Rob Quinn. 2003-01-15 13:35:55 +00:00
tron a7bc8e6057 Add support for Epson Perfection 1260. 2003-01-13 21:51:30 +00:00
augustss 7d481b8bc1 Add Epson 1660. From kerm/19767, Neil Short. 2003-01-10 11:06:58 +00:00
christos 514f7047e4 si_ -> sel_ 2002-11-26 18:49:40 +00:00
jdolecek e0cc03a09b merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
simonb 4e3613273b Remove breaks after returns, unreachable returns and returns after
returns(!).
2002-09-23 05:51:10 +00:00
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
augustss 92826242e2 Add a scanner (from OpenBSD). 2002-07-14 20:53:21 +00:00
augustss 86650920c9 Get rid of trailing white space. 2002-07-11 21:14:24 +00:00
augustss 81779a3b41 Add another scanner. 2002-06-18 00:32:30 +00:00
simonb 819efe9017 Recognise the HP ScanJet 2200c as a scanner, tested with xsane. 2002-05-12 08:04:41 +00:00
augustss f1274a71dc Some minor fixes from FreeBSD. 2002-02-11 10:09:14 +00:00
augustss 152efb1a0e Make a typedef for struct proc to make portingeasier. 2001-12-31 12:15:21 +00:00
augustss dd4b4280f7 Add new scanners to the table.
(The scanners don't actually have to work to be in the uscanner table,
this is how Linux does it and uscanner is just there because Linux has it.)
2001-12-30 11:13:22 +00:00
gehenna 7a22165e1c fix product ID 2001-12-30 05:12:36 +00:00
augustss 0a4d7b9de3 Add a scanner quirk for keeping the pipes open between device opening.
Idea from Enami.
2001-12-12 15:48:18 +00:00
augustss 02aa2a59bc Handle vendor/product lookup with a common routine. 2001-12-03 01:47:12 +00:00
enami e69c410de5 Shorten wmesg so that they can be distinguished in ps/top output. 2001-12-01 09:42:39 +00:00
enami 71651851a4 Match against EPSON GT-9700F. 2001-11-23 10:31:54 +00:00
lukem 667807e40c add RCSIDs 2001-11-13 06:24:53 +00:00
augustss 9ec0bc09c1 Add Epson 1650. 2001-10-11 12:05:10 +00:00
augustss cafdfc900c Add Epson 640U. From Chris Baird <cjb@brushtail.apana.org.au> 2001-10-07 22:30:33 +00:00
thorpej a5aff000fc Match the UMAX Astra 3400. 2001-10-05 00:31:06 +00:00
augustss 72a04bd497 Add HP 3400. 2001-04-19 00:47:49 +00:00
augustss f994193bf7 Add Epson 1240. 2001-04-01 14:50:58 +00:00
ichiro d2cf77cd51 support CANON N656U scanner
not tested :P
in order to check using scanner, someone should teach that
what should be used application?
2001-03-26 13:42:05 +00:00
augustss cbda952879 Make sure driver attach/detach events are generated in a consistent manner. 2001-01-23 14:04:13 +00:00
augustss 6d5a1918f8 Add Epson 1640 scanner. (From FreeBSD) 2001-01-07 14:46:31 +00:00
augustss 8afb11bb20 Don't match on a bunch of scanners that should be handled by a
different driver.
2001-01-01 18:52:05 +00:00
augustss ab324086df Set the open flag when opening the scanner. 2000-11-14 13:57:16 +00:00
augustss 9702e75aa1 Sync with FreeBSD: Add a scanner. Fix a pasto. 2000-11-03 04:00:15 +00:00
augustss 94e36acb29 Tell usbd_set_config_no() to be verbose. It's nice to know whyit fails. 2000-10-24 14:53:59 +00:00
augustss 67c8e3701d A bunch of scanners. 2000-10-13 18:16:36 +00:00
augustss 764c5e3eea Recognize HP 5300C. 2000-10-13 16:18:48 +00:00
augustss 9623e356f0 Recognize Acer 320U. 2000-09-24 03:22:47 +00:00
augustss c412966bb3 Fix puctuation. 2000-09-23 20:24:47 +00:00
augustss 770f6e2ae3 Add RCS Id.
The driver initially came from Nick Hibma (FreeBSD), which I forgpt to
mention in my initial commit.
2000-09-23 05:05:31 +00:00
augustss e832785e4b Add USB scanner driver.
XXX Not tested yet.
2000-09-23 04:32:23 +00:00