sommerfeld
44ede71657
Add acpi_eval_struct, to evaluate a complex data structure.
...
#if 0-out a half-fixed acpi_eval_string() and #if 0 the only call to it.
(Previous code referenced an uninitialized local variable and couldn't
have possibly worked).
2002-03-24 03:32:14 +00:00
itohy
78b5427b7e
Add wait-for-ready code between setting MCE and changing data format,
...
which is required by OPL3-SA2 (YMF711) chip.
Fixes PR kern/14819.
2002-03-23 23:40:32 +00:00
ragge
f3082cc970
Call rlreset() per controller, not per disk.
...
Be more informative about the state of the disk (locked, unloaded etc...)
Send NULL as proc pointer to bus_dma_load if B_PHYS is not set.
Break out softc's from rl.c to rlvar.h for inclusion elsewhere.
2002-03-23 18:12:09 +00:00
kent
a37082a494
whitespace and folding fix.
2002-03-23 17:17:10 +00:00
kent
541b66ade5
Decrease UAUDIO_NFRAMES: 20 -> 10
...
This change eliminates noise of 6ch audio.
2002-03-23 16:23:20 +00:00
taca
e6937b841b
Change devinfo definition and make devname initialization correctly.
...
Those changes are referring with uplcom.c.
I've checked with SUNTAC U-Cable type P1 that it responed to AT commands.
2002-03-23 15:38:22 +00:00
hamajima
e33fdf6c62
add WinFast VC100
2002-03-23 09:27:50 +00:00
gmcgarry
4c3affa3f6
Remove FreeBSD RCSID.
2002-03-23 03:40:24 +00:00
mjacob
6424bafe73
kern/16014- if we do an 'mt offline', make sure we've allowed the tape
...
to be ejected (PR_ALLOW). This got nuked in a previous change.
2002-03-22 21:39:36 +00:00
drochner
b8d0641b68
iadd subclass codes from the 2.3 spec
2002-03-22 20:03:20 +00:00
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