Commit Graph

12476 Commits

Author SHA1 Message Date
martin 524c49ba6a Fix some handle/tag confusion. This makes it compile on sparc64 again.
Since sparc ignores tag's (/brick sparc) this slipped through when testing
on sparc.
2002-03-22 11:52:07 +00:00
martin 9cea4a0ab0 Bring the daic driver into the new ISDN world order.
Enable active card support in the ISDN subsystem. (Had been disabled since
it couldn't be tested before.)
2002-03-22 09:54:15 +00:00
mjacob d76d04685a Handle Port Unavailable the same as Port Logout (i.e., send a LIP).
Unconst pointer to f/w in the ispdv structure. Too many compilers get
unhappy over our walking the array. Make casts as appropriate so that
initialization in structure is still happy.

Limit length of fabric to 256. This will all go away soon.

Do a cleaner case of keeping multiple CPUs/threads from reading the
same response queue entries.
2002-03-22 02:34:05 +00:00
mjacob 2c3c2f2ca0 Cast for now non-const in ispdv structure. 2002-03-22 02:31:09 +00:00
mjacob ff9ae73488 Forced commit so that some more detail on the previous patches can be
inserted into comments. I really think that more testing was required,
but Christos was eager.

+ Add in tape block/file position reporting support.

+ Change the prevent/allow ejection code so that if the device
  is close the tape can be ejected. This allows robots to eject
  the tape even if the tape isn't at BOT.

+ Don't do a null filemark write if we're reading block position. This
  was such an abysmal performance killer that it had to go. Assume
  that the tape will DTRT and tell you what the tape position really is
  including any buffered data. You are depending on the tape to do
  the right thing to report position at all, so the risk factors don't
  increase appreciably here. BTW- we only do this for logical block
  position. For 'hardware' block position, we still flush.

+ Some substantial tweaking in st_interpret_sense. This essentially duplicates
  the FreeBSD driver's exception handling code. This is to try and correctly
  handle EOM cases. I'm not sure that this is now correct with respect to
  the ENABLE EARLY WARNING code- I hadn't gotten around to validating that.
  Add in full 32 bit residuals- this can then be available to an update
  MTIOCGET in the future.

+ Make sure we handle SKEY_VOLUME_OVERFLOW correctly.
2002-03-22 02:03:30 +00:00
fredette d564a038af Fixed a possible overflow bug in the timeout calculation. 2002-03-22 00:15:21 +00:00
fredette 8fbc2e1699 Changed some preprocessor tests for SUN4 to test for !SUN4U
instead.  Now this file can be used by the sun2 port.
2002-03-22 00:14:37 +00:00
fredette 9b70a4cc11 Added Sun common kbd_reg.h, kbio.h, and vuid_event.h files. 2002-03-22 00:11:55 +00:00
eeh 9c8153181f Do not even bother trying to use the mappings provided by the PROM. 2002-03-21 21:33:57 +00:00
kent 4c9cd8bc91 Apply a patch by Mark Davies.
http://mail-index.netbsd.org/port-i386/2002/03/18/0000.html

Check codec status in auich_read/write_codec().
2002-03-21 09:17:20 +00:00
itohy a56d289043 I have Prism2 with 0.8.2 firmware, and have no problem
using WEP without promisc on the device.
2002-03-21 07:31:37 +00:00
isaki fa9ce0dedb Fix previous commit. modifying cc is only when factor_denom > 1.
reviewed by kent@netbsd.org
2002-03-21 05:22:24 +00:00
uwe 284be9ba0c Remove struct ebus_dmac_reg to discourage indiscriminate usage of
BUS_SPACE_MAP_LINEAR on sparc64.  Requested by eeh.
2002-03-21 04:15:29 +00:00
uwe fe61b5717e Drop BUS_SPACE_MAP_LINEAR and properly bus_space_*-ify this so that it
uses accessors.  Requested by eeh.
2002-03-21 04:09:27 +00:00
enami 4aaba8dea1 - Allocate enough space to hold an object.
- No need to request to zero clear when we overwrite soon.
2002-03-21 03:26:55 +00:00
eeh 85c03d9775 Properly bus_space_*=ify this so it uses accessors. 2002-03-21 00:25:41 +00:00
eeh 943373dde4 Use bus_space_vaddr(). 2002-03-21 00:18:36 +00:00
eeh 86ff330657 Fixup attachment code to use sbus_promaddr_to_handle() and not specify
BUS_SPACE_MAP_LINEAR.
2002-03-21 00:16:15 +00:00
eeh 87eac0acc3 Use bus_space_vaddr(). 2002-03-20 20:41:35 +00:00
eeh 686c857e16 Get rid of unnecessary BUS_SPACE_MAP_LINEAR. 2002-03-20 20:39:15 +00:00
eeh fbce8217dd Oops. Missing semicolon. 2002-03-20 19:32:42 +00:00
eeh 8ccad96d54 Add sbus_promaddr_to_handle() to convert a prom address to a bus_space_handle_t. 2002-03-20 18:39:44 +00:00
eeh 8ea2c88ec2 Clean up bus space a bit. XXX is sc_buffer ever actually used after it's
mapped in?
2002-03-20 17:59:16 +00:00
eeh ddbdd7fa41 Don't use BUS_SPACE_MAP_LINEAR if you don't need to. 2002-03-20 17:57:33 +00:00
eeh ef4ff79f61 Use bus_space_vaddr() correctly. (XXX do we really need this?) 2002-03-20 17:52:41 +00:00
thorpej 1a69060597 When getting the packet off the interface, make sure the payload is
aligned after the Ethernet header.

kern/15982, Hiroyuki Bessho <bsh@grotto.jp>
2002-03-20 17:42:23 +00:00
eeh e0866470d8 Use bus_space_vaddr() correctly. Ugh. 2002-03-20 17:34:23 +00:00
eeh 67d8d816ca Use bus_space_vaddr() correctly. (Why use bus_space_vaddr() at all?) 2002-03-20 17:32:23 +00:00
christos ce4e71d1b0 New mouse code from Peter Seebach. 2002-03-20 17:06:51 +00:00
augustss 85fc920f4f Define uvscom_acvtivate() according to prototype. 2002-03-20 16:39:39 +00:00
christos e5160e810e Add the ability to report file number/block number. From Matt Jacob. 2002-03-20 14:53:59 +00:00
ad 9c918242a2 Add missing structure member copies in wsfont_add0(). 2002-03-20 12:18:56 +00:00
lukem 7fedb7d335 add missing prototype for uvscom_activate() 2002-03-20 03:20:10 +00:00
bouyer 9a2eeadc6c Regen: add AMD768 devices 2002-03-19 22:03:06 +00:00
bouyer 54c7295e52 Add AMD768 devices, from
http://members.hyperlink.net.au/~chart/download/pcidevs.txt
2002-03-19 22:02:36 +00:00
augustss 1a42566bd8 Add uvscom. 2002-03-19 15:19:43 +00:00
augustss ea41085783 Add driver for SUNTAC Slipper U VS-10U serial devices.
Written by Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.  From FreeBSD.
2002-03-19 15:08:42 +00:00
augustss b9300aa49f Regen. 2002-03-19 15:07:23 +00:00
augustss d79c559262 Add some devices. From FreeBSD. 2002-03-19 15:07:05 +00:00
uch 9b5ad836c6 include sys/queue.h. 2002-03-18 14:35:20 +00:00
kent a340d0e8ea Create new uaudio_chan_init() and move sample_size/bytes_per_frame
initialization to it from uaudio_chan_set_param().  uaudio_set_params()
calls uaudio_chan_init().
These are required because bytes_per_frame is used in
uaudio_round_blocksize(), which is called before uaudio_set_params().

Noise of 4ch playing disappears by this change.  6ch playing still has
cyclic noise.
2002-03-18 14:06:08 +00:00
christos 8b264dc99c regen 2002-03-18 14:01:31 +00:00
christos 57a22d5790 Add Siemens speedstream, from Alicia da Conceicao. 2002-03-18 14:01:02 +00:00
enami 70a09aaf5d Make this file compiles again when AURATECONV > 0. 2002-03-18 00:42:36 +00:00
christos c36bd4f4e1 more typo. 2002-03-17 23:36:08 +00:00
christos 6b17a26b35 fix typo. 2002-03-17 23:29:55 +00:00
christos c29f982413 move aurateconv.h into audiovar.h to avoid name clash with the config(8)
aurateconv.h counter.
2002-03-17 23:22:05 +00:00
martin e2c42aeaa8 Remove all knowledge about specific application (layer 4) drivers from
the generic layer 4 and layer 3 management system.

This should make the layer 4 driver API LKM clean - finaly.

Make the Fritz!PCI driver work again after resent changes (oops!),
noted by Frank Kardel (PR 15948) and Matthias Scheeler.
2002-03-17 20:54:04 +00:00
atatat 31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
augustss 75419dae29 Add Cyrillic keysyms. From OpenBSD. 2002-03-17 18:15:00 +00:00