freebsd-dev/sys/dev
Robert Drehmel 47e40520dd Do not try to work around ``poor (un)sign extension code''
creation by GCC-2.6.3.  Casting pointers to unsigned char
to volatile pointers to unsigned char seemed to produce
better results on the ia32 architecture with old versions
of GCC.
The current FreeBSD system compiler GCC-3.2.1 emits
better sign extension code for non-volatile variables:

volatile char c;
int i = c;

is compiled to:
...
movb	-1(%ebp), %al
movbsl	%al, %eax
movl	%eax, -8(%ebp)
...

char c;
int i = c;

is compiled to:
...
movbsl	-1(%ebp), %eax
movl	%eax, -8(%ebp)
...

The same holds for zero-extension of dereferenced pointers
to volatile unsigned char.
When compiled on alpha or sparc64, the code produced for the
two examples above does not differ.
2002-10-20 22:50:13 +00:00
..
aac Fix mis-indentation. 2002-10-20 16:00:43 +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
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
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 '&' is not needed to pointerize functions. 2002-10-20 20:42:25 +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
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 Use ENOSPC error return, not ENOMEM. 2002-10-20 20:50:31 +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
nge
nmdm
nsp
null
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 Fix mis-indentation. 2002-10-20 08:46:56 +00:00
ppbus
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
raidframe After much delay and anticipation, welcome RAIDFrame into the FreeBSD 2002-10-20 08:17:39 +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 Fix data corruption caused by last byte in oddly sized transfers being read 2002-10-20 18:43:11 +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
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
streams
sym Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
syscons Do not try to work around ``poor (un)sign extension code'' 2002-10-20 22:50:13 +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 Whitespace fixes per style(9) 2002-10-19 21:58:11 +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