Commit Graph

21865 Commits

Author SHA1 Message Date
kent
e893f67fa1 return information about playing buffer, not recording bufer,
for AUDIO_WSEEK.

PR#35171
2007-03-09 13:20:12 +00:00
yamt
073d78105b use b_bcount where appropriate rather than keeping b_resid sync with it.
no functional changes.
2007-03-09 05:28:37 +00:00
he
bf9a718b25 Cast to char* before doing pointer arithmetic. 2007-03-08 23:56:45 +00:00
he
856d1c9da0 Cast to char* before doing pointer arithmetic. 2007-03-08 23:25:44 +00:00
jnemeth
f587e8e88c add support for devctl properties 2007-03-08 23:23:45 +00:00
riz
35b9fbfb52 Match the FTDI "Serial 2232C" chip; this allows a 16-port usb->serial
device from SerialGear I have to work.
2007-03-08 23:21:08 +00:00
he
89de8e1eca Cast to char* before doing pointer arithmetic. 2007-03-08 23:17:56 +00:00
riz
9fc61b3d2a Regen for addition of FTDI "Serial 2232C". 2007-03-08 23:14:43 +00:00
riz
42104c1e3d Add FTDI "Serial 2232C" product ID 2007-03-08 23:14:05 +00:00
macallan
749b17a7c8 make the dbri driver work again
while there enforce some alignment rules, adjust some timeouts, retry when
probing the codec fails
2007-03-08 21:15:20 +00:00
matt
2a18c897d3 Fix more caddr_t -> void * lossage 2007-03-08 20:52:21 +00:00
drochner
af336998bf In the pseudo-dev attach function, also try to register the struct cfdriver
of the backend irframe device with autoconf. This might fail or not,
depending on whether another frontend was configured. It helps if
irframetty is the only frontend.
This is a workaround for some inconsistencies in the interaction of
pseudo-devices with the autoconf framework. A fix will require changes
to config(8) which needs more consideration and testing.
Should fix a crash reported by Dieter Baron per PM.
2007-03-08 19:35:44 +00:00
he
95f7f99810 Convert sc_inbuf and sc_outbuf from char* to void* to avoid introducing
casts in lpt.c.
2007-03-08 14:45:07 +00:00
njoly
90b3c9e789 High Precision Event Timer driver, following Intel specifications.
Allow attachement at both ACPI (hpet@acpi) and AMD8111 LPC Controller
(hpet@amdpcib).

Requested by xtraeme, and tested by a few users.
2007-03-08 14:26:26 +00:00
bjh21
a3ad5d7241 TRUE -> true; FALSE -> false. 2007-03-07 23:17:01 +00:00
macallan
f658e972f2 correct the maximum supported dotclock on monitors that report one value
but claim to support modes which need something higher, while there also
initialize the edid_preferred_mode pointer before using it
2007-03-07 19:56:40 +00:00
macallan
9975dc8fd4 initialize edid_nmodes before using it (in edid_parse() ) 2007-03-07 18:49:31 +00:00
macallan
eb5de43ad9 add 1280x1024@70Hz 2007-03-07 18:48:37 +00:00
macallan
710e3dc0d7 add Relisys 2007-03-07 18:47:13 +00:00
xtraeme
efdbf7cdc4 * Remove unneeded headers.
* KNF, u_intx_t -> uintx_t
* There's no need to use additional variables for iobase and iot, just
  use the members from ia.
2007-03-07 17:32:47 +00:00
he
4e894df92a Cast to char* and int before doing pointer arithmetic. 2007-03-07 09:15:21 +00:00
simonb
6e01250597 Fix some caddr_t rototill fallout. 2007-03-06 22:29:29 +00:00
drochner
e612542ff1 clean up and fix irframe attachment as a line discipline:
make it a regular "bus frontend" in terms of configuration attachment
(this is something new: a device which can be real or pseudo device),
and use only autoconf functions considered exported.
This suffers a bit from the fact that pseudo-devices don't get "aux"
context data passed to the xxx_attach() function. This can be changed
easily; the differences between real and pseudo devices are diminishing...
2007-03-06 20:45:59 +00:00
drochner
603c9278cd irframe is no interface attribute, so remove the "{}" 2007-03-06 20:34:36 +00:00
plunky
fdf9144e1f fix typo 2007-03-06 19:50:28 +00:00
xtraeme
27d2cb4e20 Use a mutex rather than lockmgr. Approved by Andrew Doran. 2007-03-06 01:09:42 +00:00
dogcow
f18ef70a25 semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.
2007-03-05 21:05:00 +00:00
drochner
d152127c07 replace the code which digs in the guts of autoconf. It is not obvious
what it does; use some code from btuart(4) which might be for a
similar purpose.
XXX This is very definitely broken; when I understand how this is
supposed to work and how it can be tested I'll have another look at it.
2007-03-05 20:23:14 +00:00
he
002b93be68 Cast to char* before doing pointer arithmetic. 2007-03-05 17:55:19 +00:00
he
05029883f8 Use a char* variable for doing pointer arithmetic with. 2007-03-05 17:47:49 +00:00
he
7a89811338 Cast to char* before doing pointer arithmetic. 2007-03-05 17:37:06 +00:00
drochner
9916a76d2e It was probably not a good idea to put that scroll stuff to accessops.
But now that it is there, keep it from crashing the box if there is
no valid focus screen.
2007-03-05 16:06:52 +00:00
tsutsui
b8149dbb15 Pass (char *) to mtod(9) for pointer arith
(in #ifndef __NO_STRICT_ALIGNMENT part).
2007-03-05 10:39:09 +00:00
tsutsui
eeef1e87e4 Also check both I/O and memory space on unmap. Pointer out by yamt. 2007-03-05 10:32:05 +00:00
christos
15eacddccc Fix compression problem from Cliff Wright:
Break one: because b_cylinder, and b_resid are one and the same.
The work the routine was commented as being its primary function,
end of patition adjustment, is wiped out, as at the end of
the routine b_cylinder is set, splat, doing a wipe out of the adjustment
to b_resid.
  Break two: When doing the adjustment, a block count is created from a
byte count, a block calculation is done, then the results are compared to
the original byte count. i.e. apples to oranges, not blocks to blocks,
but blocks to bytes.
  Break three: since if all the other drivers that used this routine
would have broken as vnd compress did, I must assume they always ignored
the results of this routine. So if end of patition adjustment is
really required then all these other drivers have been broken for a
long time.
2007-03-05 02:55:32 +00:00
mrg
a4960a24c9 fix fall out from caddr_t changes. 2007-03-04 22:12:43 +00:00
sketch
cbbf3374dd Put unformatted firmware version output behind IWI_DEBUG 2007-03-04 19:14:25 +00:00
chris
282f3bfbc1 Fix caddr_t fallout for cats kernel builds. 2007-03-04 17:55:10 +00:00
yamt
45cdcb0e37 fix fallout from caddr_t changes. 2007-03-04 15:59:31 +00:00
yamt
348fa25c95 fix fallout from caddr_t changes. 2007-03-04 15:57:25 +00:00
yamt
18e17bd568 fix fallout from caddr_t changes. 2007-03-04 15:46:18 +00:00
yamt
d5bbe1373d fix fallout from caddr_t changes. 2007-03-04 15:35:20 +00:00
yamt
5b23251544 fix fallout from caddr_t changes. 2007-03-04 15:17:20 +00:00
yamt
dd46610b9b fix fallout from caddr_t changes.
XXX what "volatile caddr_t" in if_le_ioasic.c was for?
2007-03-04 15:17:06 +00:00
yamt
f1f5a2d411 fix fallout from caddr_t changes. 2007-03-04 15:05:24 +00:00
tsutsui
28eef664bd Use (uint8_t *) for shared memory address. 2007-03-04 12:26:22 +00:00
christos
fffc9c66c9 fix fallout from caddr_t changes. 2007-03-04 07:54:07 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tsutsui
8c864d4bd5 Fix EEPP_INTMAP values, as per my ISA EtherExpress PRO/10.
(though it still has some other problem)
2007-03-04 02:59:07 +00:00
jmcneill
963e8dd8ad Regen. 2007-03-03 23:50:40 +00:00