freebsd-dev/sys/dev
Nate Lawson 76ba4ecdad * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.
* Change atapi-cd ioctls to use the same units.
* Change burncd, cdcontrol to convert CDROM speed to KB/sec before
calling the ioctl.  Add a "max" speed option for their command lines.

This change does not break ABI but does change the units passed through
the ioctl so 3rd party software that uses cdrio.h will have to convert
(most likely by multiplying CDROM speed by 177 to get KB/s).

PR:		kern/36845
Submitted by:	Philipp Mergenthaler <p@i609a.hadiko.de> (CAM ioctls)
Reviewed by:	sos, ken
MFC after:	1 month
2002-10-18 22:03:39 +00:00
..
aac Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
acpica Catch up to changes in acpivar.h to add support for using ACPI on 2002-10-16 17:28:53 +00:00
advansys Change BUS_SPACE_UNRESTRICTED (~0ul) to plain ~0 when used in the 2002-10-09 08:50:26 +00:00
agp Fix previous commit: Don't cast integral types to pointers to 2002-10-15 01:50:09 +00:00
aha Fix build on alpha. It used to case an int to a pointer in order to do 2002-10-09 09:30:57 +00:00
ahb
aic Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
aic7xxx Never allow memory mapped I/O in PCI-X mode on controllers that 2002-10-16 02:59:03 +00:00
amd Be consistent about functions being static. 2002-10-16 09:04:52 +00:00
amr (1) added LSI Logic copyright, and legal line 3 in license, and string 2002-10-18 21:29:14 +00:00
an Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
ar Use if_printf(ifp, "blah") instead of printf("ar%d: blah", ifp->if_unit). 2002-10-01 00:42:51 +00:00
asr
ata * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. 2002-10-18 22:03:39 +00:00
atkbdc Include "opt_kbd.h" since certain structures size depend on the value 2002-10-15 21:35:01 +00:00
awi Remove empty #if*/#endif clauses. 2002-09-21 08:44:51 +00:00
bge Fix the code so that it no longer on alpha refers to the now nonexistent 2002-10-11 17:18:54 +00:00
bktr Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
buslogic Change BUS_SPACE_UNRESTRICTED (~0ul) to plain ~0 when used in the 2002-10-09 08:54:32 +00:00
cardbus o Add routines to return the location and pnpinfo for this card. 2002-10-07 23:00:51 +00:00
ccd - Use vrefcnt() instead of v_usecount. 2002-09-25 02:42:43 +00:00
ciss Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
cm Use if_printf(ifp, "blah") instead of 2002-10-01 00:44:31 +00:00
cnw
cs Use if_printf(ifp, "blah") instead of 2002-10-01 00:46:41 +00:00
ct This file does not <sys/disklabel.h> 2002-09-20 18:15:40 +00:00
cy
dc Be consistent about functions being static. 2002-10-16 09:04:52 +00:00
de
dec
dgb Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
digi Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
dpt Change BUS_SPACE_UNRESTRICTED (~0ul) to plain ~0 when used in the 2002-10-09 08:54:32 +00:00
drm In an SMP environment post-Giant it is no longer safe to blindly 2002-10-03 02:13:00 +00:00
ed add some devices from NetBSD 2002-10-11 07:03:09 +00:00
eisa Argh, isa(4), eisa(4) and mca(4) now attach to legacy(4) instead of 2002-09-26 18:40:06 +00:00
em Corrected license in the source files. It should say "MUST" instead of "MAY". 2002-09-24 16:27:59 +00:00
en Rename "struct device" to "struct midway_device" to avoid clashing 2002-09-28 21:59:59 +00:00
ep
ex
exca Update comments to remind me about power bugs in oldcard. 2002-10-07 06:18:50 +00:00
fb Fix rare and probably inconsequential memory leak. 2002-10-02 20:34:23 +00:00
fdc Fix a probably rare and inconsequential memory leak. 2002-10-02 20:29:54 +00:00
fe Use if_printf(ifp, "blah") instead of printf("fe%d: blah", ifp->if_unit). 2002-10-01 00:52:58 +00:00
firewire This file doesn't need opt_bus.h. 2002-10-14 19:11:19 +00:00
fxp Add some PCI id's for fxp. I've only tested 0x103B, but the Intel 2002-09-24 23:13:38 +00:00
gem
gfb
gx
hea Cast the first argument to bzero() to `void *' after casting it to 2002-10-16 11:15:35 +00:00
hfa Replace aux mbufs with packet tags: 2002-10-16 01:54:46 +00:00
hifn whitespace/indentation fix from phk 2002-10-16 17:07:41 +00:00
hme
ic Move the com_scr register address definition over with the other seven. 2002-09-22 08:51:31 +00:00
ichsmb typo. 2002-10-18 12:06:01 +00:00
ida use __packed. 2002-09-23 18:54:32 +00:00
idt Use more standard variable names for modevent functions. 2002-10-02 04:47:52 +00:00
ie Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
iicbus Fix misindentation. 2002-10-16 08:45:34 +00:00
iir Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
isp LINT related fixes (as noticed by bde) 2002-10-14 22:13:51 +00:00
ispfw Know that a 10160 is the same as a 12160. 2002-10-12 00:12:31 +00:00
joy
kbd Include "opt_kbd.h" since certain structures size depend on the value 2002-10-15 21:35:01 +00:00
lge Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
lmc
lnc Fix mis-indentation. 2002-10-02 09:09:25 +00:00
mc146818
mca Argh, isa(4), eisa(4) and mca(4) now attach to legacy(4) instead of 2002-09-26 18:40:06 +00:00
mcd Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
md MODINFO_SIZE metadata has type size_t, not unsigned. This makes preloaded 2002-10-13 18:19:22 +00:00
mii Put function return types on a line by themselves. 2002-10-14 22:31:52 +00:00
mk48txx
mlx use __packed. 2002-09-23 18:54:32 +00:00
mly Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
mpt Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
mse
musycc
my
ncv Remove #include of <sys/disklabel.h> (and a few other unused #includes I 2002-09-20 16:49:36 +00:00
nge
nmdm
nsp Remove unused #includes. Looks amacingly like the exact same set 2002-09-20 16:51:09 +00:00
null Everywhere else, an argument passed to a device containing flags 2002-09-21 17:28:17 +00:00
ofw Add a pseudo device which allows to access the OpenFirmware device tree 2002-10-18 15:23:43 +00:00
pccard sync to 1.36 of pccarddevs 2002-10-11 07:00:53 +00:00
pccbb o Set CBB_CARD_OK just before CARD_ATTACH_CARD. If ATTACH_CARD fails, then 2002-10-11 04:30:59 +00:00
pcf
pci Whitespace. 2002-10-16 19:11:59 +00:00
pcic Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
pdq
ppbus Remove empty #if*/#endif clauses. 2002-09-21 08:44:51 +00:00
ppc
pst Fix so it compiles with the new disklabel stuff. 2002-09-27 21:56:35 +00:00
puc Add "missing scratch-pad register" to the first of the two ports 2002-09-27 22:02:46 +00:00
random Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
ray s/__attribute__((__packed__))/__packed/g 2002-09-23 06:25:08 +00:00
rc Be consistent about funtions being static. 2002-10-16 10:16:17 +00:00
rp Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
sab
sbni Use if_printf() instead of printf() to print "sbni#: blah". 2002-10-01 00:55:22 +00:00
scd Remove duplicate make_dev() calls. 2002-10-04 08:33:10 +00:00
sf Be consistent about functions being static. 2002-10-16 09:14:59 +00:00
si Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
sio s/modunload/kldunload 2002-10-11 20:22:20 +00:00
sk
smbus Cleanup of amdpm(4). 2002-09-21 21:43:49 +00:00
sn Use if_printf(ifp, "blah") instead of printf("sn%d: blah", ifp->if_unit). 2002-10-01 00:56:39 +00:00
snc
snp
sound Suppress the uninitialized variable warning on ia64 introduced by 2002-10-17 03:45:34 +00:00
speaker Be consistent about funtions being static. 2002-10-16 10:16:17 +00:00
sr Use if_printf(ifp, "blah") instead of printf("sr%d: blah", ifp->if_unit). 2002-10-01 00:58:16 +00:00
stg Remove even more Copy&Pasted sets of #includes. 2002-09-20 16:53:19 +00:00
streams
sym Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
syscons Make kqueue(2) work for virtual terminals. 2002-10-17 05:48:56 +00:00
tdfx Disabuse this driver of the notion that it needs to include 2002-09-28 20:56:32 +00:00
tga
ti Be consistent about functions being static. 2002-10-16 09:04:52 +00:00
trm Import of the trm(4) driver (for Tekram DC395U/UW/F and DC315U SCSI adapters). 2002-10-13 18:32:39 +00:00
twe Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
tx
txp
ubsec Module-ize the 'core' crypto stuff. This may still need to be compiled 2002-10-16 14:31:34 +00:00
usb Add device driver for Belkin F5U103 and compatible USB-to-serial adapters. 2002-10-08 03:09:57 +00:00
vinum Get Vinum up and running with GEOM: 2002-10-05 03:44:00 +00:00
vr Be consistent about functions being static. 2002-10-16 09:14:59 +00:00
vx Fix mis-indentation. 2002-10-02 09:09:25 +00:00
wds
wi Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
wl
xe Use if_printf(ifp, "foo") instead of printf("xe%d: foo", ifp->it_unit). 2002-10-01 01:03:02 +00:00