Commit Graph

18886 Commits

Author SHA1 Message Date
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
macallan
d42b58bdf7 more formatting fixes 2005-05-02 16:02:43 +00:00
yamt
330cc0a11e split IFCAP_CSUM_xxx to IFCAP_CSUM_xxx_Rx and IFCAP_CSUM_xxx_Tx. 2005-05-02 15:34:31 +00:00
augustss
c2c00331d7 Use UTF8 to encode strings read from the device (instead of using '?' for
characters >=0x100).

Also add serial number string to the device information struct.
2005-05-02 15:32:18 +00:00
kochi
a7c9d49c21 Merge changes for ACPI-CA 20050408 2005-05-02 14:53:04 +00:00
kochi
57d7792cce Merge ACPI-CA 20050408 2005-05-02 14:52:09 +00:00
macallan
45aba3b6e2 fixed formatting 2005-05-02 14:49:08 +00:00
kochi
1b73770414 Import the INTEL ACPI-CA 20050408 2005-05-02 14:42:07 +00:00
macallan
a4073e00bc - made blitter operationd asynchronous
- removed some debug code
- prevent blitter operations when not in WSDISPLAYIO_MODE_EMUL
(approved by martin)
2005-05-02 11:22:31 +00:00
rh
917b282244 regen 2005-05-02 03:37:01 +00:00
rh
e923440213 Add IC Ensemble / VIA Technologies Envy24 Multichannel Audio controllers. 2005-05-02 03:36:22 +00:00
macallan
3d2d786653 fixed tab width and formatting 2005-05-01 23:57:03 +00:00
macallan
7d5f292228 Made the Alt key act like STOP when options SPARCBOOK_CMD is #defined to
allow console switching with Alt-Fn because the SPARCbook 3 keyboard has no
STOP
2005-05-01 23:31:36 +00:00
macallan
80ef75e061 made rasops_allocattr_color() respect WS_DEFAULT_FG and WS_DEFAULT_BG instead of using white on black 2005-05-01 23:19:01 +00:00
wiz
fbd2fc5eca Fix typo. 2005-05-01 21:47:11 +00:00
augustss
649ae4a707 Update TODO comment and copyright. 2005-05-01 19:45:40 +00:00
augustss
9c5fb57b96 Only complain when opening full speed isoc devices, other types seem to
work reasonably (even if there is no proper scheduling of the TT yet).
2005-05-01 19:35:07 +00:00
augustss
6aae573fe5 Fix the error check on completion of an xfer. Just because the qTD status
field has error bits set doesn't mean there has been an error, unless the
HALTED bit is set as well.  The old behaviour could result in a transfer
being considered failed by the software, but a success by the device.
This seems to have affected mostly mass storage devices.

Pointed out by Dan Ellis in kern/29731.
2005-05-01 19:24:39 +00:00
augustss
5adcc3d063 Timeout while polling is in ms not ticks.
From OpenBSD.
2005-05-01 14:21:27 +00:00
augustss
77e2a0a080 In eohci_waitintr, xfer->timeout is in ms, not hz.
From OpenBSD.
2005-05-01 01:14:30 +00:00
augustss
7beafdee3a Fix some spelling errors.
From OpenBSD.
2005-05-01 01:10:06 +00:00
augustss
31e5d222f7 Preserve any configuration data that may have been set by SMM/BIOS over
chip reset.

From OpenBSD.
2005-05-01 01:03:11 +00:00
augustss
e556a8eca4 If the SMM driver had enabled ownership change interrupts, re-enable them
temporarily before we attempt to take control.

From OpenBSD.
2005-05-01 00:45:55 +00:00
augustss
5283bc3d82 Root hubs don't have transaction translators, so don't print anything
about them for depth 0.  From FreeBSD.
2005-04-30 20:54:13 +00:00
hannken
05f59f904d sv_set_params(): avoid null pointer dereference when `setmode' is 0.
Reviewed by: Lennart Augustsson <augustss@netbsd.org>
2005-04-30 15:24:51 +00:00
augustss
5b3acf742e Fix a race condition in xfer abort. Derived from a FreeBSD patch.
An xfer could be aborted twice (which means that the second abort might
access deallocated memory).  This happened when an xfer timed out and
the timeout started an abort.  While that abort was taking place the
xfer could be cancelled (usually by closing the pipe), causing a second
abort to begin.
This is now handled by having flags indicating the abort state of an xfer.

Hopefully this will fix the occasional crashes when printing.
2005-04-30 14:38:40 +00:00
augustss
949688eeaf Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout.  Fixes kern/19153.
2005-04-30 03:47:12 +00:00
tsutsui
8ed63e80db Avoid NULL pointer dereference on unexpected error cases. (from OpenBSD) 2005-04-30 02:18:43 +00:00
skrll
e71eebcad0 Complete the interrupt output transfer support copy from FreeBSD, but
remove the incorrect access to the bulk part of the union.

Reviewed and OK'ed by Lennart.
2005-04-29 19:15:13 +00:00
augustss
91c4478386 Check if we have any SCSI busses so this file doesn't cause link errors
if used without SCSI.
2005-04-29 17:52:46 +00:00
augustss
71f12914f1 If UKBD_LAYOUT isn't defined, but PCKBD_LAYOUT is, use the latter as the
default layout.  Fixes half of kern/28668.
2005-04-29 17:02:06 +00:00
augustss
17e2d8f05a Allow 32 chars in the saved vendor string. Fixes kern/29760. 2005-04-29 15:04:29 +00:00
martin
9aa40fe2c9 Add a missing #if to allow non-wscons compilation.
Noted by Juergen Hannken-Illjes.
2005-04-29 10:49:26 +00:00
yamt
85ea9d4e2a tweak order of #include to avoid an array of incomplete type.
found by gcc4.
2005-04-29 10:41:18 +00:00
xtraeme
53eca961c3 Identify correctly ITE Super I/O chipsets by checking the core ID
register (only available in the model 8712F), if that fails we check
the vendor ID register as before.
2005-04-29 02:02:52 +00:00
martin
eb7e634f97 Finish support for wskbd @ kbd @ zs/sab for sparc64 consoles.
Based on work from John Heasley and Michael Lorenz.
2005-04-28 15:03:48 +00:00
martin
a6609a130d White space police. 2005-04-28 07:54:39 +00:00
martin
05308d1b95 Make it possible for a console driver to deliver raw ASCII characters
to wskbd. This is for special cases only, and may even be considered a
hack, but it is cheap and very local.
2005-04-28 07:15:44 +00:00
augustss
abcf879dd7 Get bit reversal table right this time. 2005-04-27 23:39:54 +00:00
augustss
35f6423e4f Add define for EHCI_MAX_POLLRATE. 2005-04-27 21:23:41 +00:00
augustss
c3aad684bd Interrupt polling was spread very unevenly. Use the same bit reversal
trick as in ohci.c to correct this.
2005-04-27 16:42:26 +00:00
augustss
d514cae370 With the interrupt fix in the previous commit low and full speed devices
have a chance to work, so allow them (with a warning).
Make a small change to the transaction translator scheduling to make it
at least hobble along (again from Dan Ellis).
2005-04-27 16:20:26 +00:00
skrll
5597345e50 KNF and s/a an/an/ 2005-04-27 07:47:25 +00:00
augustss
6490a3e8e5 Don't null the qh_link point in the interrupt tree after it has been
initialized.  From Dan Ellis in kern/30003.
2005-04-27 02:12:20 +00:00
atatat
34325254d6 Reverse order of args in hmevpdoff() 2005-04-26 13:02:06 +00:00
scw
08c2f0bab5 In wm_stop():
- Clear the interrupt mask to ensure the device cannot assert its
   interrupt line.
 - Clear sc->sc_icr to ensure wm_intr() makes no attempt to service any
   currently pending or shared interrupt.

This should address the problem reported in both PR/29903 and PR/22493.
(wm(4) is susceptible to crashing in wm_intr() when the interface is downed)
2005-04-26 07:55:17 +00:00
bad
eba3ea5f0c Recognise the Dell OEM version of the ASR-29320B as found in recent
e.g. Dell SC1420 boxen.  This adapter can't be put out of HostRaid mode,
so recognise it in that mode regardless.
2005-04-25 22:50:28 +00:00
bad
c5863cc55f Bring in some changes from rev. 1.17 of FreeBSD aic79xx_pci.c:
Fix the *_IROC_* masks so that the correct bits get masked out for the HostRaid
features.
The 29320 and 29320B really are 7902 based, not 7901A based.  Use the approriate
chip setup routine.
Recognise generic 7901 based boards by matching against ID_9005_GENERIC_MASK.
2005-04-25 22:44:47 +00:00
drochner
99c093bad3 fix more SSD_RCODE_VALID misuse introduced in cleanup 2005-04-25 17:52:30 +00:00
drochner
d918258c4d Revert the part if 1.236 which comprises a functional change.
While I didn't observe a misbehaviour yet, this _must_ be
wrong because SSD_RCODE_VALID is used incorrectly.
2005-04-25 17:35:26 +00:00
drochner
3214fe94f4 revert the only part of rev. 1.177 which made a functional
change -- it broke error reporting because st->asc(q) are
not set
(actually, I believe that SSD_RCODE_VALID is misnamed)
2005-04-25 17:08:46 +00:00
jmcneill
b0665daf43 Enable full-duplex mode by default on drivers that support it if the
underlying audio device was opened read/write. This is consistent with
Linux OSS behaviour and fixes a bug with certain applications (including
Skype) that assume this behaviour.

Fixes PR# 30044.
2005-04-25 13:19:46 +00:00
abs
5fed39f04c Fix for Portuguese keymap from Rui Paulo 2005-04-24 08:18:47 +00:00
yamt
2fbfb3ac99 fix static/extern mismatch. found by gcc4. 2005-04-22 14:49:49 +00:00
yamt
881f664bd1 fix static/extern mismatches. found by gcc4. 2005-04-22 14:46:01 +00:00
christos
cf28de227f simplify the mac address retrieval code. 2005-04-21 18:31:51 +00:00
christos
ff33efda18 PR/30018: Peter Eisch: Sun QFE support in non-sparc hardware 2005-04-21 11:35:01 +00:00
bouyer
af8e900914 Regen for "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". 2005-04-20 21:34:36 +00:00
bouyer
01d284925d Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218
by A L Meyers.
2005-04-20 21:33:39 +00:00
blymn
8387760ed1 Rototill of the verified exec functionality.
* We now use hash tables instead of a list to store the in kernel
    fingerprints.
  * Fingerprint methods handling has been made more flexible, it is now
    even simpler to add new methods.
  * the loader no longer passes in magic numbers representing the
    fingerprint method so veriexecctl is not longer kernel specific.
  * fingerprint methods can be tailored out using options in the kernel
    config file.
  * more fingerprint methods added - rmd160, sha256/384/512
  * veriexecctl can now report the fingerprint methods supported by the
    running kernel.
  * regularised the naming of some portions of veriexec.
2005-04-20 13:44:45 +00:00
drochner
1e5f8afdd2 remove debugging stuff which caused conflicts with USB_DEBUG kernels 2005-04-18 18:45:02 +00:00
tsutsui
d0112ff334 - Use u_long or long rather than paddr_t for ARCBIOS function prototypes
as per the ARC specification. They are actually 64bit on MIPS64 based
  machines and our paddr_t is not equal to pointer size.
  (arc is ILP32 but has 64bit paddr_t)
- While here, change some unsigned long to u_long for consistency.
2005-04-18 15:38:00 +00:00
hannken
6cb4c22637 Support user controllable flags for the snapshot driver:
- Add FSSIOFSET and FSSIOFGET ioctl() to set/get the flags.
- Add FSS_UNCONFIG_ON_CLOSE flag to unconfigure the snapshot device
  on the last close.

Reviewed by: Jason R. Thorpe <thorpej@netbsd.org>
2005-04-17 16:28:26 +00:00
toshii
2db3ae3497 Correct status value check for OHCI isoc transfer;
the spec says that "not accessed" is 111x, not 1111.
2005-04-17 14:46:49 +00:00
hannken
e97aafbc0b When a snapshot gets unconfigured always clear `FSS_BS_ALLOC'. 2005-04-17 11:39:52 +00:00
bouyer
186671a540 Move epprom settings checks to the right place, so that sync/wide nego is
started based on the eeprom values and adapter capabilities.
Avoid the driver to negotiate wide transfers with a wide drive connected
to a non-wide capable controller.
Problem reported and fix tested by Dan LaBell on netbsd-help.
2005-04-16 13:46:20 +00:00
drochner
3759e5b9d8 Don't ENXIO on open("/dev/random") if there is not enough
entropy collected. It's undocumented, noone else does it and
it leads to "named" errors during boot for me.
Generally, consumers of "/dev/random" should be prepared to wait.
(The other uses of "rnd_have_entropy" look bogus to me too,
but this needs more consideration.)
2005-04-15 20:21:23 +00:00
drochner
6dda78f17a make the scsibus target/lun and the atapibus drive locators optional
(they already had default values; we could kill the [...=N] syntax
completely or at least have config(8) assume that a locator with
a default is optional)
2005-04-15 19:20:24 +00:00
itohy
0ee992857f ukyopon(4): Kyocera AIR-EDGE PHONE driver
Close NetBSD PR #25954 in a different way.
2005-04-15 17:18:18 +00:00
itohy
15a9291a5d Fix function name in debug messages.
White space police.
2005-04-15 15:08:34 +00:00
itohy
8bd72ab6a4 If CM descriptor is found, use the data interface in it;
if CM descriptor is NOT found but UNION descriotor is found,
use the data interface in it.
Do not require CM or ACM descriptors as long as
the data interface is found.

Should fix NetBSD PR #29754 by rivo nurges.
2005-04-15 14:43:05 +00:00
itohy
70d7fffcc5 Split common modem part of umodem.c to umodem_common.c and umodemvar.h,
to be shared with other umodem-like drivers.
2005-04-15 14:14:09 +00:00
scw
87246b5338 s/struct device/struct clock_pcctwo_softc/ in CFATTACH_DECL(). 2005-04-14 12:36:38 +00:00
mrg
335721258b fix an error message: could -> could not 2005-04-13 00:19:44 +00:00
jmcneill
212a4fdeb4 * Reduce timeout for codec powerup
* Return ENXIO from ac97_attach_type if the modem codec fails to power-on.
  This will prevent broken AC97 modems *cough*Conexant*cough* from giving
  the impression that they will actually work.
2005-04-12 21:11:43 +00:00
jmcneill
eddca7ac5f Some broken codecs don't release the CAS on reads to AC97_REG_GPIO_STATUS.
In auich_read_codec, do a dummy read to the RESET register if we're
reading GPIO_STATUS to be safe.
2005-04-12 17:30:51 +00:00
jmcneill
4f351ce9a0 Don't touch AC97_REG_RESET if we're dealing with a modem (modems use
AC97_REG_EXT_MODEM_ID instead). Also set the default audio rate to 8000;
12000 was a stupid choice since we don't actually support it in the driver
yet.
2005-04-12 17:28:02 +00:00
itohy
43d5a75df2 Allow multiple modem interfaces per configuration. 2005-04-12 13:12:10 +00:00
itohy
1bf2f3ae6e Add usb_find_desc_if(), which is similar to usb_find_desc(),
but searches only in the specified interface rather than
in whole configuration.
2005-04-12 13:10:14 +00:00
drochner
10e5ded54b add definition for "security freeze" 2005-04-12 11:45:40 +00:00
jmcneill
c674ab7b1d Add ac97_attach_type(), to allow the hw driver to skip probes for audio or
modem devices. ac97_attach now calls ac97_attach_type() with
AC97_CODEC_TYPE_AUDIO, for backwords compatibility.
2005-04-11 18:26:48 +00:00
jmcneill
89a6dc2733 Add ICH_CODEC_OFFSET definition 2005-04-11 18:25:38 +00:00
jmcneill
cc976626a7 i82801CA is an ICH3, not ICH2. Fix typo in auich_modem_devices. Pointed out
by Nicolas Joly.
2005-04-11 11:20:45 +00:00
matt
2d8931a849 Fix mode printing. (don't panic on unmatched devices) 2005-04-11 04:24:54 +00:00
jmcneill
a497249c37 Add AC'97 1.x 'Modem Line Codec support' capability bit definition. 2005-04-08 15:27:19 +00:00
kent
bac6b47ff9 * neo_intr()
update the watermark for the recording buffer
  The fix was provided in PR#26706 by Chapman Flack.
2005-04-08 14:30:57 +00:00
jmcneill
702c19a270 Add identifiers for Intel ICH3 AC'97 modems and CXT33 modem codecs, from
Nicolas Joly <njoly _at_ pasteur _dot_ fr>.
2005-04-08 12:50:00 +00:00
jmcneill
0f32e1f4a6 AC'97 modems don't have the same mixer controls as audio devices. Treat
them differently. Mixers are built depending on the features returned
in the ext_mid -- any combination of LINE1, LINE2, and HANDSET.
2005-04-07 23:24:05 +00:00
jmcneill
c7acb3a606 More modem fixes:
* Ignore ICH_PCM246_MASK for modem devices
 * Set LINE1 rate and level in set_params
 * Enable mmap for modem devices. This was previously disallowed due to
   the ext_id field not advertising that the device supported variable
   rates. Since modems don't use ext_id (they use ext_mid instead), enable
   mmap. Multiple rates are supported on AC'97 modems.
2005-04-07 23:21:10 +00:00
martti
3467f3dde3 Regen for Dell CERC SATA RAID 1.5/6ch 2005-04-06 15:49:06 +00:00
martti
6fe6af8035 Added support for Dell CERC SATA RAID 1.5/6ch 2005-04-06 15:48:15 +00:00
jmcneill
7309363062 Work-in-progress of AC'97 modem support. Currently disabled by default
(can be enabled by options AUICH_ATTACH_MODEM), and untested. Shouldn't
have any impact on auich audio capabilities.
2005-04-04 19:41:50 +00:00
jmcneill
f1db07fc36 * Add more AC97 modem registers (from AC'97 revision 2.2)
* Add sysctls to control the modem's off-hook status (work in progress)
2005-04-04 18:52:30 +00:00
yamt
7abb70e1a5 scsipi_completion_thread:
if we seemt to need more resources after doing ADAPTER_REQ_GROW_RESOURCES,
yield cpu rather than busy-looping.  PR/25164.
2005-04-04 11:26:50 +00:00
martti
d927f0a6a7 s/Finish/Finnish/ 2005-04-04 09:08:54 +00:00
jmcneill
c74eb31f21 * Add support for skipping either the modem or audio AC'97 probes
via host_flags: AC97_HOST_SKIP_AUDIO, AC97_HOST_SKIP_MODEM
* If we're dealing with a modem codec, print the extended modem
  capabilities.
* Add basic AC'97 modem initialization support.
* Add some (but not all) AC'97 modem registers. More will be added later.
2005-04-04 02:08:58 +00:00
martin
b14ee41fe5 Use UIO_SYSSPACE for NDINIT. Found by Eike Dehling. 2005-04-03 17:29:15 +00:00
jdolecek
f96a65dd86 claim tra 2005-04-03 11:40:09 +00:00
jdolecek
8914aa326e white space cleanup, some KNF, long line wrapup 2005-04-03 11:36:32 +00:00
jdolecek
1c89179871 Add driver for MCA Tiara LANCard / Fujitsu mb86950 EtherStar. Driver provided
in PR kern/26899 by Dave Barnes.
2005-04-03 11:21:44 +00:00
jdolecek
29ff38e72d regen: add one more Tiara ID and Standard MicroSystems 3016/MC ID 2005-04-03 11:19:30 +00:00
jdolecek
91575be17a add one more Tiara ID and Standard MicroSystems 3016/MC ID 2005-04-03 11:17:49 +00:00
jdolecek
fc38d3f3ac Make it possible for attachment to specify that the 16bit access shouldn't
be toggled in WE_MEM_{ENABLE|DISABLE} when receiving or transmitting packets.
Use this to switch the toggle off for MCA cards, since it causes NIC resets
there.

Fixes PR kern/26895 by Dave Barnes.
2005-04-03 10:56:59 +00:00
yamt
6b2d8b66a4 merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
matt
6cd3611cff P.k.py lp.kcrgow ao mabf ru go oycnn dak. _n.iajf_ t.fxrapeov
Allprk.e xf jrp.v
2005-04-01 05:49:26 +00:00
gavan
b246dedab4 Due to the increasing rarity of legacy keyboards, switch to a more contemporary default
layout for PC style keyboards.
2005-04-01 01:49:52 +00:00
bouyer
78ea15ef7f Don't eventually leak vnx and bp on unconfigure, pointed out by YAMAMOTO
Takashi. Instead, let the current I/O complete before killing the thread.
2005-03-31 18:02:16 +00:00
explorer
4efbb8a57b Looks like a 'struct buf *bp' was left over from a previosu commit. Since kernel builds stop on this, removing it. 2005-03-31 16:46:13 +00:00
yamt
99229e5d39 introduce a function to drain bufq and use it where appropriate. 2005-03-31 11:28:53 +00:00
bouyer
007f04c4a8 Make vnd do I/O to the underlying file from thread context. This
allows the strategy routine to be called from interrupt context, fixes
PR kern/29775 by Juan RP.
Now that pool_get() is only called from thread context, change PR_NOWAIT to
PR_WAITOK. Fix PR kern/26272 by Juergen Hannken-Illjes.
OK'd by thorpej@
2005-03-30 19:23:08 +00:00
yamt
e53142951c - use IFQ_POLL/DEQUEUE rather than IF_DEQUEUE/PREPEND.
- handle tx queue full correctly.
2005-03-30 11:38:06 +00:00
yamt
d1238feea1 re_encap: set RTK_TDESC_CMD_IPCSUM if any of checksum offloading is requested.
otherwise, RTK_TDESC_CMD_TCPCSUM/UDPCSUM don't seem to make any effect.
2005-03-29 09:52:31 +00:00
fvdl
6bfe21f4e0 Reverse the cyl_lo and cyl_hi reads for the AT_READREG case; previously,
the cyl_lo information would have been thrown away.
2005-03-28 22:08:51 +00:00
dyoung
24f08f73c6 correct logic so we recognize timeout on alloc
Noticed by:     Coverity Prevent analysis tool

From FreeBSD.  Thanks Sam Leffler for bringing this to my attention.
2005-03-27 00:49:14 +00:00
christos
24ae046714 move an assignment up. 2005-03-26 04:37:04 +00:00
cube
d2d1a8c05c Make pcppi(4) use attimer(4) to set the pitch of the bell.
In case you don't configure an attimer(4) device in your kernel config,
you will simply lose the ability to set the pitch.  It will still beep.
2005-03-25 23:09:00 +00:00
cube
ff524d301a Add attimer(4) to the list. 2005-03-25 23:07:17 +00:00
cube
040e3b19e5 Add attimer(4) driver, with ISA and ACPI attachments.
attimer(4) is the new body of the part of pcppi(4) that mapped the TIMER1
register to set the pitch of the bell.  It was necessary to separate them
in order to have a working ACPI attachment (as the two appear as different
devices in the ACPI structures).
2005-03-25 23:06:19 +00:00
tsutsui
69528d1dad Allow MD PCI code to specify or disable PCI_COMMAND_PARITY_ENABLE
and PCI_CMMAND_SERR_ENABLE in MI pci_configure_bus(9).
Patch from PR kern/27423 by KIYOHARA Takashi with some changes by me,
approved by Allen Briggs.
2005-03-25 14:51:39 +00:00
jmcneill
adf922e656 Update my email address (the one listed hasn't been active in years). 2005-03-24 22:31:58 +00:00
tron
0dd3209322 Regen. 2005-03-24 13:17:24 +00:00
tron
9ffaf42ec1 Add ids for ATI Radeon 9700 Pro and 9800 Pro. 2005-03-24 13:17:08 +00:00
bouyer
091d59fa24 Don't assume all LUNs are probed before scsipi sets the mode, and always check
if lun_tagtbl needs to be allocated. Patch from john heasley in kern/29603.
2005-03-23 21:23:15 +00:00
christos
5586266e3c PR/29600: YAMAMOTO Takashi: cbb hangs on boot. From the PR:
It seems that we never get a power interrupt for 16 bit cards. The tsleep
has been changed to wait for 200ms maximum, before giving up instead of
waiting forever. XXX: Maybe that is too small for some laptops?
2005-03-23 20:53:19 +00:00
yamt
e012617b1e - restructure tx descriptor handling code to decouple
number of tx descriptors, number of rx descriptors, and number of mbufs.
- bump number of tx descriptors for rtl8169.  64 doesn't seem to be sufficient
  when doing TSO.
2005-03-23 20:23:08 +00:00
wiz
8b14b81426 rgephy(4)'s struct mii_phydesc array doesn't end with NULL.
Fix it. From Satoshi Suetake in PR 29770.
2005-03-23 13:27:20 +00:00
wiz
ec30909ad0 Remove duplicate word in comment. From Rui Paulo in PR 29767. 2005-03-23 13:24:47 +00:00
martin
71cce6ecd0 Add support for Proxim RangeLAN-DS 8430;
from Gabriel Forté, via Julien Rampon on tech-net
2005-03-23 12:00:22 +00:00
martin
8e03193d1b Regen (Proxim RangeLAN-DS 8430 added) 2005-03-23 11:59:38 +00:00
martin
a16552ce02 From Gabriel Forté, via Julien Rampon in mail to tech-net:
add Proxim RangeLAN-DS 8430
2005-03-23 11:58:56 +00:00
xtraeme
3141856faf This needs <machine/bus.h> now. 2005-03-21 18:27:32 +00:00
xtraeme
d1c67e4716 This needs <machine/bus.h>, needed for ACPI pcppi(4) attachment. 2005-03-21 17:16:10 +00:00
xtraeme
57218e5576 Add pcppi(4) ACPI attachment, which matches the "AT-style speaker
sound" ACPI device.

Reviewed by christos@.
2005-03-21 14:06:46 +00:00
xtraeme
65f27995a2 Move the struct pcppi_softc into pcppivar.h, add in this file
pcppi_attach(), which now accepts "struct pcppi_softc";
Split ISA specific bits from pcppi_attach() into pcppi_isa_attach()
(needed by the upcoming pcppi(4) ACPI attachment).

Reviewed by christos@.
2005-03-21 14:05:18 +00:00
xtraeme
a2dce2fece Use ANSI function declarations. 2005-03-21 10:51:52 +00:00
christos
d1ff4d2389 Regen 2005-03-19 22:00:27 +00:00
christos
5412502bb7 PR/29482: Kirk Strauser: Add support for Microsoft MN-520 PCMCIA WLAN card 2005-03-19 21:59:56 +00:00
dan
e652c56005 clear freed memory 2005-03-19 21:39:17 +00:00
tron
d8de2210c0 Add support for Intel PRO/1000 GT. Change provided in private e-mail by
unex at linija dot org.
2005-03-19 11:58:03 +00:00