freebsd-nq/sys
Warner Losh f83fe7ce90 Don't wait for the printer to become ready before allowing the open to
succeed.  There are many printers that return status over the read
channel, and if we wait for the status to become ready, then we can't
find the status automatically.  Linux doesn't wait, nor does it ever
seem to really check the status in any meaningful way...  If there
really is a problem, the writes to the bulk out endpoint will still
fail (like they would if the printer was ready and then ran out of
paper or became unready).

In addition, there are a number of printers being made that emulate
the 'status' byte by returning '0' always rather than '0x18'.  This
fixes the EBUSY on open timeouts on those printer as well.

Reviewed by: the defining silence on usb@
2005-07-15 04:19:42 +00:00
..
alpha Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
amd64 Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
arm Validate if the value written into {FS,GS}.base is a canonical 2005-07-10 23:31:11 +00:00
boot Scan static SMBIOS structures and export the following environment 2005-07-14 19:52:22 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
coda - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
compat Regen. 2005-07-13 20:35:09 +00:00
conf kbdmux(4) keyboard multiplexer integration 2005-07-14 23:04:23 +00:00
contrib Export pfsyncstats via sysctl "net.inet.pfsync" in order to print them with 2005-07-14 22:22:51 +00:00
crypto
ddb Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
dev Don't wait for the printer to become ready before allowing the open to 2005-07-15 04:19:42 +00:00
doc
fs When devfs cloning takes place, provide access to the credential of the 2005-07-14 10:22:09 +00:00
gdb check return value of gdb_rx_varhex 2005-03-28 18:31:18 +00:00
geom Add CANCEL command which allows to remove one request from the queue or 2005-07-08 21:08:53 +00:00
gnu Repair this: 2005-07-09 18:30:31 +00:00
i4b Fix some long standing bugs in writing to the BPF device attached to 2005-06-26 18:11:11 +00:00
i386 Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
ia64 Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
isa Fixup some more fallout from the lapic/i8254 changes: 2005-07-13 15:43:21 +00:00
isofs/cd9660 - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
kern Correct build on 64-bit: cast u_int64_t to (unsigned long long) before 2005-07-14 15:21:18 +00:00
libkern Fix kiconv on the 64bit plathomes. 2005-05-24 15:38:08 +00:00
modules kbdmux(4) keyboard multiplexer integration 2005-07-14 23:04:23 +00:00
net Move eventhandler for 'ifnet_departure_event' at the end of the progress. 2005-07-14 20:26:43 +00:00
net80211 Handle encrypt of arbitarily fragmented mbuf chains: previously 2005-07-11 03:06:23 +00:00
netatalk Eliminate MAC entry point mac_create_mbuf_from_mbuf(), which is 2005-07-05 23:39:51 +00:00
netatm Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netgraph Remove obsoleted sysctl interface for switching between standard and 3Com 2005-07-05 17:51:02 +00:00
netinet Export pfsyncstats via sysctl "net.inet.pfsync" in order to print them with 2005-07-14 22:22:51 +00:00
netinet6 Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
netipsec Correct typo in a comment describing vshiftl(). 2005-06-02 23:56:10 +00:00
netipx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netkey
netnatm
netncp
netsmb lockmgr(...,LK_DRAIN,...) requires a balancing LK_RELEASE: recent 2005-05-13 11:27:48 +00:00
nfs Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfs4client - We want if (mrep != NULL) not if (m_freem != NULL). m_freem will never 2005-04-25 05:11:19 +00:00
nfsclient Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfsserver NFS write gathering defers execution of NFS server write requests to wait 2005-04-17 16:25:36 +00:00
opencrypto malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
pc98 Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
pccard Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
pci NET_LOCK_GIANT() when entering network code. 2005-07-13 14:06:13 +00:00
posix4 Introduce MAC Framework and MAC Policy entry points to label and control 2005-05-04 10:39:15 +00:00
powerpc Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
rpc
security Bump the module versions of the MAC Framework and MAC policy modules 2005-07-14 10:46:03 +00:00
sparc64 Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
sys kbdmux(4) keyboard multiplexer integration 2005-07-14 22:43:20 +00:00
tools Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
ufs Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
vm Convert a remaining !fs.map->system_map to 2005-07-14 21:18:07 +00:00
Makefile