bouyer
5f436e258e
Add SIS 965 bridge. From FreeBSD.
2005-06-14 14:44:26 +00:00
jmc
1e47a53b95
Constify return string
2005-06-13 20:32:58 +00:00
cube
8a116ca5d3
Provide a header for UKBD_LAYOUT. It makes more sense, and it avoids
...
quoting issues during the build process.
Reported and checked by spz@.
2005-06-13 16:41:44 +00:00
tron
1981d397d6
Also use prom_getether() under NetBSD-sparc(64) if the MAC address
...
retrieved from the PROM starts with ff:ff:ff. The driver now works with
the onboard interface in the Tadpole SPARCle.
2005-06-13 16:37:38 +00:00
tron
7dc178dad7
Regen.
2005-06-13 15:28:04 +00:00
tron
7b43f61d58
Add support for the LinkSys PCMPC200 Cardbus ethernet card.
2005-06-13 15:27:41 +00:00
nonaka
518d320d8e
Regen.
2005-06-13 07:43:52 +00:00
nonaka
a72ccc32e9
Add PCI ids for HITACHI SH7751{,R} PCI Controller
2005-06-13 07:43:34 +00:00
nonaka
a63cdc696c
Regen.
2005-06-13 07:32:38 +00:00
nonaka
7cf9e12bdb
Add PCI id for "ATI Mobility Radeon 9700".
2005-06-13 07:31:50 +00:00
tls
4a43d21777
Revert the part of revision 1.228 that made HW_NO_TXPRELOAD the default:
...
it appears to break output on the Soekris net4501, which is a rather
popular platform.
This should fix PR kern/29612 -- if not, I will probably revert it again.
2005-06-12 21:10:47 +00:00
reinoud
273876cfba
Implement auixp AC-link reset
2005-06-12 00:02:18 +00:00
is
eb4cc6d724
Make sure buffer sizes are initialized correctly even when the pause state
...
is explicitly set. Without this, the machine would crash in the audio interupt when the driver
needs to divide by the block size (e.g., cs4281.c/cs4280.c).
Idea for the fix by yamt.
2005-06-11 08:14:19 +00:00
itohy
8202086879
cc1: warnings being treated as errors
...
../../../../dev/pcmcia/if_wi_pcmcia.c: In function `wi_pcmcia_write_firm':
../../../../dev/pcmcia/if_wi_pcmcia.c:511: warning: cast discards qualifiers from pointer target type
../../../../dev/pcmcia/if_wi_pcmcia.c:512: warning: cast discards qualifiers from pointer target type
2005-06-10 14:08:06 +00:00
dyoung
d485a761e3
Sprinkle __UNCONST() and rename variables to quiet uiet -Wcast-qual,
...
-Wshadow complaints.
2005-06-10 02:35:34 +00:00
he
3ee7e97fcc
Now that OF_read and OF_write have different signatures, we need to
...
cast one of them before assigning to a common function pointer.
Yes, this breaks strict type checking, but is needed to compile with
-Wcast-qual turned on.
2005-06-09 12:23:23 +00:00
he
f1f4a50e8b
Adapt to compiling with -Wcast-qual by constifying a char* field.
2005-06-09 09:15:28 +00:00
he
beb03e4d32
Add __UNVOLATILE() to a cast when calling memset() to appease -Wcast-qual.
2005-06-08 22:33:56 +00:00
fair
3f11934dfb
Change the name of a shadowed variable in FW_DEBUG code to make this
...
compile again.
2005-06-08 18:33:15 +00:00
he
5f0e107e63
Adapt to compiling with -Wcast-qual by adding const to some pointer casts.
2005-06-08 13:54:38 +00:00
martin
f2fa04e658
Use KBD_IDLE instead of magic constants
2005-06-08 10:06:23 +00:00
martin
b8aea19a7a
Add a key symbol for the "Power" key.
2005-06-08 09:11:09 +00:00
he
3ffd57432b
Add an __UNCONST() to appease -Wcast-qual.
...
XXX The way this is done is really wrong, as this function ends up
modifying read-only data marked with 'const'.
The reason we can get away with this is that apparently all the
ports using this code maps text and read-only data read-write.
Reviewed by christos, who suggested "a big XXX comment".
2005-06-08 07:49:45 +00:00
oster
77708271bf
- initialize numRUsTotal before we indicate that we are doing a reconstruct.
...
- make numRUsComplete and numRUsTotal 64-bit quantities like
everything else that records this information.
2005-06-08 02:00:53 +00:00
peter
130e3c23a2
Fix typos.
2005-06-07 13:45:11 +00:00
he
7cb32336e1
Add const to the name fields in hipcio_chip and hpcio_attach_args.
2005-06-07 11:43:01 +00:00
skrll
fa0ce9deca
Sync with pcidevs changes.
2005-06-07 11:33:55 +00:00
skrll
2b6261fcdc
Regen.
2005-06-07 11:33:06 +00:00
skrll
d3624a9c95
Add some Intel 802.11 cards.
...
From OpenBSD.
2005-06-07 11:31:44 +00:00
martin
1ee0840364
Do not bother to post "keyboard idle" events to userland when we are
...
in wskbd raw input mode.
2005-06-07 10:29:08 +00:00
skrll
51b20ca033
Fix typo.
2005-06-07 06:27:17 +00:00
pooka
7fe36dcdc1
Instead of writing the packet length in two 8bit pieces, use one
...
16bit write. At least in certain environments this has the effect
of the latter 8bit write of the length to be not interpreted as
the first 16 bits of the packet contents and hence the interface
working.
2005-06-06 20:20:09 +00:00
yamt
5ba7cc9aae
cs4281_set_params: fix printf format.
2005-06-06 12:08:09 +00:00
christos
d1ff4d2f00
fix a printf format argument type.
2005-06-06 02:48:20 +00:00
he
aafdb08c5a
Fix the various todr_gettime() and todr_settime() fallouts from
...
-Wcast-qual differently, by instead changing the signatore of those
"functions" to take a "volatile struct timeval*" instead of a
"struct timeval*". Many places, these functions are called with
&time, and time is declared as volatile in <sys/kernel.h>. This
way we can get rid of all the ugly casts which now also triggered
warnings, and caused more code to be added to work around the
problem.
Reviewed by thorpej.
2005-06-04 20:14:24 +00:00
tsutsui
5304f91e7a
Add const.
2005-06-04 04:40:57 +00:00
tsutsui
435d547a7c
Add const.
2005-06-04 04:37:21 +00:00
tsutsui
b22c03af41
Fix a shadowing variable.
2005-06-04 04:35:27 +00:00
tsutsui
296114a214
Add const.
2005-06-03 22:06:24 +00:00
tsutsui
36ad8ac27a
Add const and fix for -Wshadow.
2005-06-03 22:01:01 +00:00
tsutsui
77ba4e3671
Add const.
2005-06-03 21:57:16 +00:00
tsutsui
0716f17835
Constify.
2005-06-03 21:20:51 +00:00
martin
149336137f
Constify
2005-06-03 18:58:40 +00:00
jdc
7e31a175ec
Remove cast to non-const and make this compile again.
2005-06-03 13:44:11 +00:00
elad
055b86e224
Don't create duplicate tables for the same device.
2005-06-03 13:21:35 +00:00
scw
812d004464
Appease -Wshadow
2005-06-03 12:18:46 +00:00
scw
5d1801d88f
Use underscores to prefix local variables in macros.
2005-06-03 11:22:08 +00:00
scw
4a5c0908e5
Fix const fallout.
2005-06-03 08:49:03 +00:00
scw
d6d7806045
Placate -Wshadow
2005-06-03 08:42:54 +00:00
skrll
88aa783dd0
const fallout.
2005-06-03 07:03:22 +00:00
uwe
6a13aaa20f
Constify.
2005-06-02 21:36:25 +00:00
he
05721f8fb4
Adapt to -Wcast-qual by adding a const and using __UNVOLATILE() in
...
a couple of places where memcpy() is used.
2005-06-02 14:41:26 +00:00
christos
55479da63d
simplify weird tests.
2005-06-02 14:32:12 +00:00
tsutsui
0a045d64d9
Add a const. Fixes part of PR kern/30403.
2005-06-02 14:03:20 +00:00
drochner
c7783422f3
avoid "volatile" cast-aways
2005-06-02 13:11:39 +00:00
jdc
d71f5da715
Add const (catching up with additions to MI ddb code).
2005-06-01 21:24:05 +00:00
jdc
4612fcc60c
Rename "delay" variable to avoid shadowing the "delay" from param.h.
2005-06-01 21:17:28 +00:00
drochner
645c942f3b
const fall-out, from Patrick Welche
2005-06-01 19:40:58 +00:00
drochner
6e2d003046
more cast-qual and shadow fallout
2005-06-01 18:41:51 +00:00
drochner
10e0e927de
add "const" where needed
2005-06-01 18:18:52 +00:00
drochner
b10340ac93
quell cast-qual and shadow warnings
2005-06-01 18:07:04 +00:00
drochner
0f412f7917
make this compile after Wcast-qual
2005-06-01 17:05:16 +00:00
drochner
a5c2eed454
kill the "busname" attach arg, it is not really needed
2005-06-01 16:44:38 +00:00
drochner
286fe4b79f
fix cast-qual fallout
2005-06-01 16:17:40 +00:00
martin
b19a082161
Add german keymaps
2005-06-01 14:05:25 +00:00
ragge
0979c0be06
The read/read multiple cacheline problem may also appear on the 3114
...
controller, so apply the cacheline fix to it as well.
2005-06-01 10:00:35 +00:00
sekiya
17c5e67809
Regen.
2005-06-01 09:16:07 +00:00
sekiya
47f4828c71
Add product IDs for devices that use the RT2500USB chip. From OpenBSD.
2005-06-01 09:15:41 +00:00
sekiya
58a736f2b9
Fix compilation problem when CBB_DEBUG is defined.
2005-06-01 09:10:57 +00:00
sekiya
e1dc11af89
"resister" -> "register"
2005-06-01 08:39:32 +00:00
uwe
5442d49e77
Constify. Drivers pass const default calibration data to
...
WSMOUSEIO_SCALIBCOORDS using __UNCONST, so make sure we don't try to
modify it.
2005-06-01 00:02:17 +00:00
uwe
7d69499bba
Fix misleading indentation.
2005-05-31 23:37:47 +00:00
uwe
1f2b389b7e
Constify.
2005-05-31 23:14:02 +00:00
uwe
6a99517a37
Constify.
2005-05-31 23:04:10 +00:00
uwe
9af1a3ff5e
Preserve const in cast.
2005-05-31 22:22:36 +00:00
christos
aee62d396e
Always call mach64_init_screen, otherwise we'll panic later if DIAGNOSTIC
...
when we call switch screen and the machine has a serial console. Thanks to
martin for the fix.
2005-05-31 21:17:03 +00:00
christos
67f01e2568
minor knf. no functional change.
2005-05-31 21:16:06 +00:00
drochner
3f6e0487d2
lots of cast-qual fallout
2005-05-31 21:08:37 +00:00
drochner
31924c84cd
cast-qual fallout
2005-05-31 19:20:37 +00:00
xtraeme
f55b68d1bd
Add missing const.
2005-05-31 02:56:54 +00:00
xtraeme
9db2752f7e
Make this build with "-Wcast-qual -Wshadow".
2005-05-31 02:50:59 +00:00
christos
bf55d99961
revert previous and fix LLADDR instead.
2005-05-31 01:48:22 +00:00
christos
67f72d9fc5
use const cast.
2005-05-31 01:43:36 +00:00
christos
3e8958bef3
remove bogus cast.
2005-05-31 00:49:12 +00:00
christos
7e60536d55
add missing const.
2005-05-31 00:48:57 +00:00
christos
309409f7e4
add a missing const.
2005-05-31 00:47:54 +00:00
christos
8bbce26c81
sprinkle const.
2005-05-31 00:47:05 +00:00
christos
eb3c841970
fix handling of volatile and remove bogus casts.
2005-05-31 00:46:46 +00:00
christos
6b23a10118
avoid variable shadow.
2005-05-31 00:46:05 +00:00
christos
1475e6ed5c
- add const
...
- avoid variable shadow
2005-05-31 00:45:52 +00:00
christos
b85712859a
add const.
2005-05-30 22:18:41 +00:00
christos
78abf18aa2
avoid shadow variable "stamp"
2005-05-30 22:18:19 +00:00
christos
ed88e61d2f
avoid shadow variables.
2005-05-30 22:17:47 +00:00
christos
f1faf37485
Add const.
2005-05-30 22:17:11 +00:00
christos
b494026ec2
remove unneeded casts.
2005-05-30 22:17:03 +00:00
christos
d4268da6a0
add const.
2005-05-30 22:16:27 +00:00
martin
c12108712c
Adapt to recent constification.
2005-05-30 09:36:50 +00:00
wiz
4b82c3d9f3
Fix replaco in comment.
2005-05-30 06:41:55 +00:00
christos
ebdc03b439
make the definitions consistent with the declarations.
2005-05-30 04:56:13 +00:00
christos
7ceb7d6ff0
another UNCONST..
2005-05-30 04:55:35 +00:00
christos
0ffc9b3219
sprinkle more const
2005-05-30 04:45:07 +00:00
christos
7df254d9f7
avoid variable shadowing.
2005-05-30 04:44:52 +00:00
christos
f381db6045
- add missing const
...
- fix variable shadowing
- remove unneeded casts
2005-05-30 04:43:46 +00:00
christos
74995e2a49
remove volatile that was being cast-away in all its references.
2005-05-30 04:41:57 +00:00
christos
b3c5e8037b
add const
2005-05-30 04:37:57 +00:00
christos
06059a46a3
avoid variable shadowing.
2005-05-30 04:36:52 +00:00
christos
bca5926950
add a missing const
2005-05-30 04:36:16 +00:00
christos
bb4c90071c
- const poisoning
...
- avoid variable shadowing.
2005-05-30 04:35:22 +00:00
christos
2ccc3ff1e9
- add const
...
- avoid variable shadowing.
2005-05-30 04:32:38 +00:00
christos
1cf5f6f64d
add const to a cast.
2005-05-30 04:30:56 +00:00
christos
26f4234ec5
- avoid variable shadowing
...
- add const
2005-05-30 04:30:18 +00:00
christos
097e6576ea
- add const
...
- avoid variable shadow
- do proper UNCONST with XXXUNCONST
2005-05-30 04:28:49 +00:00
christos
a984bbf91a
- remove bogus casts
...
- add more const
2005-05-30 04:25:32 +00:00
christos
a9cf21849d
- const poisoning
...
- eliminate variable shadowing
2005-05-30 04:21:39 +00:00
christos
2f27be7da0
- const poisoning
...
- avoid shadowing
- usbd_trim_spaces was writing to const memory; give it a buffer.
2005-05-30 04:20:46 +00:00
christos
2c91ca8bd0
- add const
...
- avoid variable shadowing.
2005-05-29 22:18:25 +00:00
christos
9bb3842990
avoid shadowed variable
2005-05-29 22:16:36 +00:00
christos
cdec0c5e9c
Add a const.
2005-05-29 22:16:00 +00:00
christos
a4815f1c7b
- remove Static define
...
- avoid variable shadowing.
2005-05-29 22:15:25 +00:00
christos
2914522ed1
avoid variable shadowing.
2005-05-29 22:13:33 +00:00
christos
57fa3798ac
sprinkle const.
2005-05-29 22:12:37 +00:00
christos
d675f4acb4
avoid nested variables
2005-05-29 22:12:26 +00:00
christos
9b1843d7c2
- remove casts [to avoid volatile]
...
- sprinkle const
- avoid shadowed variables
2005-05-29 22:11:28 +00:00
christos
80f7d2107b
- sprinkle const.
...
- avoid variable shadowing.
2005-05-29 22:10:28 +00:00
christos
ba7574326e
- avoid variable shadowing
...
- add a lot of const
- remove parameters from functin declarations
2005-05-29 22:03:09 +00:00
christos
3acb3fe622
- Sprinkle const
...
- Avoid variable shadowing.
- Eliminate some caddr_t abuse.
2005-05-29 22:00:50 +00:00
christos
f90bcf3a23
- sprinkle const.
...
- avoid variable shadowing.
2005-05-29 21:56:35 +00:00
christos
85d43e7f3d
Sprinkle const freely and delete unnecessary casts.
2005-05-29 20:56:02 +00:00
kent
189ffc4458
regen
2005-05-28 16:04:35 +00:00
kent
24cb92f3fd
Add the followings:
...
- 6300ESB AC'97 Audio
- 6300ESB AC'97 Modem
- ICH6 HD-Audio
- ICH6 AC'97 Modem
- All of ICH7 devices
2005-05-28 16:03:49 +00:00
skrll
35de2b7d10
Fix interrupt out transfers.
...
Reviewed by Lennart.
2005-05-28 07:44:37 +00:00
augustss
6ec31d4922
Regen.
2005-05-27 12:48:49 +00:00
augustss
9a7173c1e1
Add the TM8000 integrated northbridge.
2005-05-27 12:48:24 +00:00
martin
228158ce8c
If the driver supports reverse, try that first - even on color displays.
...
This removes a XXX and makes us independent of the users default colors.
2005-05-25 06:46:07 +00:00
tsutsui
1f2b0179d7
ATP865 chips support Ultra133, so correct attach messages as well.
2005-05-24 18:43:29 +00:00
lukem
ec43f8fc40
add __KERNEL_RCSID
2005-05-24 05:25:15 +00:00
lukem
5e4045c6bb
add __KERNEL_RCSID
2005-05-24 05:14:37 +00:00
kiyohara
725081c016
Support touch-panel for PERSONA SH3 machines.
2005-05-23 17:44:25 +00:00
soren
5350b653c5
Sync 1284 id printing with the devinfo change, but leave it disabled for now.
2005-05-23 16:35:26 +00:00
martin
b7de61b9b3
Rename REALWHITE to SNOWWHITE.
...
While there, add LIGHT versions of the other predefined colours as well.
2005-05-23 09:44:57 +00:00
elad
a2c658e922
Add indication for number of fingerprinted files on each device.
...
When a table is created for a new device, a new variable is created
under the kern.veriexec.count node named "dev_<id>". For example,
dev_0, dev_3, etc.
2005-05-22 22:34:01 +00:00
martin
e5c6528779
Define a real white color - since WSCOL_WHITE is ANSI-emulation specific
...
defined as grey (which can't be fixed w/o breaking user config files).
Fixes PR kern/30064.
2005-05-22 20:16:08 +00:00
christos
7cdea212c0
No 0x in front of %p...
2005-05-22 15:54:45 +00:00
macallan
49deefc7bf
fixed a typo in cg6_ras_do_cursor and made using the blitter to draw the
...
cursor optional when using RASTERCONSOLE
2005-05-22 03:45:08 +00:00
elad
cd0c4134f1
Remove common code for returning supported fingerprints. This is done now
...
via sysctl(8) using kern.veriexec.algorithms.
Also add an entry for the 'algorithms' variable in sysctl.8 forgotten in
the last commit.
2005-05-20 19:52:52 +00:00
bouyer
633e533c5c
Close a window where (disks) interrupts could be enabled while the
...
ATACH_TH_RUN flag is still set. Should fix panic reported by Jukka Salmi
on netbsd-users@.
2005-05-20 14:39:04 +00:00
elad
5888b16eef
Some changes in veriexec.
...
New features:
- Add a veriexec_report() routine to make most reporting consistent and
remove some common code.
- Add 'strict' mode that controls how veriexec behaves.
- Add sysctl knobs:
o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
documentation in sysctl(3) for details.
o kern.veriexec.algorithms returns a string with a space separated
list of supported hashing algorithms in veriexec.
- Updated documentation in man pages for sysctl(3) and sysctl(8).
Bug fixes:
- veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
correctly.
- exec_script(): Don't pass 0 as flag when executing a script; use the
defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
enforcement work.
- Fix some printing formats and types..
2005-05-19 20:16:19 +00:00
briggs
947685c48e
BUS_DMASYNC_* routines are from the point of view of the memory controller,
...
so BUS_DMASYNC_POSTREAD should follow a device->memory transfer (like for
the rx packet data.
Also, it would be good to do a BUS_DMASYNC_PREWRITE to ensure that packet
data is flushed to memory before the chip tries to transmit data.
Tested on a PowerPC system.
2005-05-19 20:11:24 +00:00
riz
336b3f49da
Regen.
2005-05-18 20:34:28 +00:00
riz
d8dda9700a
Add support for the 82801FB (ICH6) 10/100 ethernet appearing
...
on new Intel motherboards. From Brian Buhrow in PR#30025.
Approved by jmcneill.
2005-05-18 20:33:46 +00:00
augustss
21ef7c17a0
Allow the audio device to be opened for read resp. write by separate calls
...
to open(). Previously only one call to open() was allowed.
This change should allow some Linux derived programs to work unaltered.
XXX This isn't really possible to implement correctly in a simple way.
So this implementation is incorrect: It is not until device has been closed
by both the reader and writer that it is possible to open it at all again.
2005-05-18 20:10:25 +00:00
chs
a4ef51503f
as a stop-gap measure to allow boot-from-disk to work on hppa,
...
add some padding to the end of struct scsipi_xfer on that platform.
2005-05-18 13:58:10 +00:00
augustss
191e9dab58
Handle DCD differently so it's not always asserted. From kern/30268 from
...
Wolfgang Stukenbrock.
2005-05-18 11:26:11 +00:00
augustss
36e939eaa1
Allow multiple opens of the control endpoint. This is unproblematic since
...
the control endpoint is in some sense always open to the device.
From wulf@ping.net.au .
2005-05-17 14:53:06 +00:00
martin
711712f3f3
Fix indentation.
2005-05-17 06:18:31 +00:00
christos
362a4a0bd5
Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to
...
implement, xtoa(), but I think defining the samestring 50 times is a bit
too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...
2005-05-17 04:14:57 +00:00
bouyer
eaa19a67b8
Add a ata_queue_idle() function, which freeze a queue and tsleep() until the
...
controller is idle.
Change the powerhook function to call ata_queue_idle() on standby/suspend,
and ata_reset_channel() on resume (to wake up the disks and start from a
clean state).
Fix PR kern/30194 by Lubomir Sedlacik.
2005-05-16 21:43:33 +00:00
bouyer
d3f9123bd5
Fix some big-endian issues. stge(4) now works on sparc64 with hardware
...
checksums.
2005-05-16 21:35:32 +00:00
martin
6230b25cf8
Make the raw keyboard code #ifdef WSDISPLAY_COMPAT_RAWKBD only.
2005-05-16 18:28:28 +00:00
martin
4b50e3295a
Fix WSDISPLAY_COMPAT_RAWKBD. Also return keyboard types < 4 as SUN instead
...
of SUN5.
2005-05-16 16:23:57 +00:00
bouyer
78b08b48da
Pad small packets with a static buffer at the end of the S/G list.
...
Avoids leaking kernel memory when small packets are transmitted.
Tested on a ibook G4.
2005-05-16 15:56:38 +00:00
bouyer
04f2acc1f3
Add another broken seagate device to the quirk list.
...
Problem reported by rudolf <netbsd at eq.cz> on netbsd-help@
2005-05-16 15:36:57 +00:00
macallan
8f8a7a4e38
forgot to include rasops_glue.h
2005-05-16 15:16:43 +00:00
macallan
9efeaffa68
Added:
...
- wscons support
- acceleration
- virtual consoles
- colour
- made cg3 emulation optional for native XFree driver
2005-05-16 14:43:23 +00:00
macallan
5d7cb1a721
Added support for virtual consoles, colour and some code to determine the
...
usable amount of VRAM for XFree86
2005-05-16 14:29:11 +00:00
yamt
f3bf234dc9
disable IFCAP_CSUM_IPv4_Tx and comment why.
2005-05-15 07:48:49 +00:00
wiz
c5fa1fbb8b
Fix typo reported by Brad at comstyle com.
2005-05-13 06:36:22 +00:00
cube
d1d157a6fb
Regen
2005-05-12 23:12:05 +00:00
cube
d8a65a5514
Two re(4) candidates. From Francois Romieu in private mail.
2005-05-12 23:10:32 +00:00
christos
1a54f2152a
PR/22058: Onno van der Linden: duplicate detection of isa ip.
...
Use some more undocumented bits to find out if the card is in pnp mode or not.
2005-05-12 18:53:08 +00:00
augustss
3f7dbfe409
Let ahc_createdmamem() return -1 on error instead of an error code, since
...
the users of that function test on <0 to look for an error.
Again, from a person that wishes to remain anonymous.
2005-05-12 06:27:44 +00:00
augustss
cbadff2712
Make the Adaptec 1480 cardbus Slim SCSI card work.
...
From a person wishing to remain anonymous.
2005-05-12 06:21:01 +00:00
augustss
bf68872cdb
Support for the HX version of the chip.
...
Contributed by a donor that wishes to remain anonymous.
2005-05-11 20:25:01 +00:00
scw
32bd2f7d95
Add a heuristic to test if an audio CODEC's AC97_REG_POWER register supports
...
the AC97_POWER_ANL bit.
The heuristic simply checks if AC97_REG_POWER's AC97_POWER_MIXER bit can
be set, implying the CODEC can control power to its mixer. If the bit
reads back as zero after we set it, assume ANL is reserved.
Without this patch, some CODECs (e.g. Philips UCB1400) will experience long
delays during attach and resume while the driver waits for a bit which will
never set.
Thanks to jmcneill@ for reviewing this WRT AC97 modem power control.
2005-05-11 13:13:11 +00:00
martin
7c6d11e261
From Wolfgang Stukenbrock in PR kern/30197: wrong type in CFATTACH_DECL.
2005-05-11 12:47:47 +00:00
augustss
834327c847
Don't keep the devinfo string on the stack, instead use malloc/free.
...
This should cure some rare stack overflows.
2005-05-11 10:02:28 +00:00
martin
a7dad6d876
Add support for Corega CG-LAPCIGT Gigabit Ethernet.
...
From PR kern/30173.
2005-05-09 06:58:41 +00:00
martin
36b57c9813
Regen
2005-05-09 06:57:52 +00:00
martin
c9d89a015d
PR kern/30173: add Corega CG-LAPCIGT
2005-05-09 06:55:02 +00:00
he
4f4c9a7624
Enclose some code dependent on wsdisplay in #if NWSDISPLAY > 0 / #endif;
...
fixes build problem for news68k.
Reviewed by augustss
2005-05-08 17:16:34 +00:00
tsutsui
9d93d04cb9
ACARD ATP865-A (used on AEC-6280/6880) supports UltraDMA/133 too.
2005-05-08 11:26:17 +00:00
augustss
cfff5f5e7a
Only look at USBD_FORCE_SHORT_XFER for writes.
2005-05-08 08:12:08 +00:00
skrll
f2f62a1726
Add support for optional interrupt output pipes as described in the
...
HID specicification version 1.11.
Reviewed by Lennart. Thanks.
2005-05-08 06:19:10 +00:00
martin
7d47b99684
Add SMC2531W-B EliteConnect Wireless Adapter.
...
From Matthias Petermann in PR kern/30001.
2005-05-07 17:02:47 +00:00
martin
82e51b8933
Regen.
2005-05-07 17:01:11 +00:00
martin
714292a59f
Add SMC2531W-B EliteConnect Wireless Adapter.
...
From Matthias Petermann in PR kern/30001.
2005-05-07 16:59:11 +00:00
is
a284d19884
As discussed on tech-net: don't suppress any PHYs to enable multiple
...
external PHYs. The internal PHY at MII (nr 31) will be the last instance,
so it won't be the default instance when external PHYs are present.
2005-05-07 09:15:44 +00:00
abs
260edcc4db
Fix for portuguese keymap '4' and '+' keys, from Rui Paulo
2005-05-05 22:31:13 +00:00
abs
b82eaee723
Add USB Portuguese (pt_PT) keyboard map, from Manuel Pata via
...
Rui Paulo in PR/30041
2005-05-05 22:27:29 +00:00
augustss
3fefd3b866
Make sure all physical addresses are filled in the qTD even when we have
...
a page offset.
From Dan Ellis (as was the previous fix).
2005-05-05 20:54:34 +00:00
augustss
9a2e60d4f6
Make sure to honor the USBD_FORCE_SHORT_XFER flag and generate an empty
...
transfer when necessary.
2005-05-05 20:40:20 +00:00
martin
21d2a323b7
Make ffb take part in the /dev/fbN circus.
2005-05-04 14:38:44 +00:00
cube
2646bcff54
Regen.
2005-05-04 09:12:14 +00:00
cube
20ade2184e
Add a few devices seen on a Dell PowerEdge SC1420, and while there make the
...
ordering of devices proper.
2005-05-04 09:11:09 +00:00
augustss
5b6d2a575d
Make an new option PCKBD_CNATTACH_MAY_FAIL. When this option is set and no
...
keyboard is detected the pckbd keyboard is not used as the console.
Previously the pckbd keyboard was used as the console as soon as the
kernel had it configured into the kernel. This is far from ideal on a
machine that has no PS/2 keyboard, but a USB keyboard attached since the
(non-existant) PS/2 keyboard becomes the console instead of the USB keyboard.
For now this option will be off by default to be backwards compatible.
2005-05-04 02:35:22 +00:00
augustss
22506e27d1
When audioclose is called it's the last close of the device, so there
...
is no need to fiddle with resetting individual bits. Just clear them.
2005-05-04 01:57:23 +00:00
augustss
1710458cee
Make auto repeat of events a compile time option, and have it off by default.
...
Turn on by WSKBD_EVENT_AUTOREPEAT.
2005-05-04 01:52:16 +00:00
jonathan
f36cdf86c7
Fix ifdef botch in previous revision:
...
The `Static' forward declaration of ukbd_rawrepeat was inside #ifdef
UKBD_REPEAT but not #ifdef DISPLAY_COMPAT_RAWCKBD. The definition and
all other references are inside both #ifdefs. The `static' function
declaration with no definition failed GCC warnings.
Pass GCC warnings by wrapping the declaration with a check that both
CPP tokens are defined.
2005-05-03 18:37:46 +00:00
augustss
d069124a45
Don't emulate auto repeat in the keyboard driver, the wskbd driver does that.
...
Auto repeat emulation can be turned on by defining UKBD_REPEAT, but this
should never be necessary.
2005-05-03 13:15:21 +00:00
augustss
09661ed83a
Change the logic for generating auto repeat from the keyboard. Previously
...
auto repeat was only available in translated mode, but not in event mode.
Now both modes have auto repeat. There are actually a few users of
the event mode, and they deserve auto repeat too. :)
Also make it possible to turn off auto repeat by setting repeat.del1=0.
2005-05-03 13:13:07 +00:00