elad
6f361f7379
- There is no XYCMD_WRP -- forgot to remove it along with the XYCMD_RDP :)
...
- Add missing '}'
Noted by dogcow@, thanks!
2008-02-06 12:08:34 +00:00
ichiro
84528b0430
regen
2008-02-05 18:22:31 +00:00
ichiro
8cf4b4059b
added some devices of "PCI-Cardbus bridge"
2008-02-05 18:22:09 +00:00
simonb
de8ac4a1b6
Print the "bus-master DMA support present" message out the same
...
other a few other SATA drivers do. Nicer output than just a line
with ": DMA" on it...
2008-02-05 07:02:00 +00:00
simonb
d07d2923b8
Remove an extra \n from an attach message. Get's rid of a blank
...
line during boot.
2008-02-05 06:52:26 +00:00
mlelstv
527bf7ecad
Check wether interrupts originate from the bge hardware.
...
Fixes PR kern/33433.
2008-02-04 21:44:35 +00:00
elad
38012644ad
Properly classify kauth PASSTHRU requests.
...
Done with much help from chuck@, thanks!
2008-02-04 21:08:13 +00:00
tsutsui
e09797feab
FreeBSD says "16 bits" comment about RTK_GTXSTART was incorrect.
...
Use CSR_WRITE_1() for it. (though the previous code also worked)
2008-02-04 15:16:49 +00:00
joerg
201546aaac
Fix quirk to clean only PCI register 0x6a and 0x6b, which is likely
...
what the original code intended. This avoids the unaligned access.
According to jmmv@'s testing, this seems to work.
2008-02-04 14:12:25 +00:00
tsutsui
b143589a1b
No need to preserve RE_NTXDESC_RSVD on re_start().
2008-02-03 17:14:35 +00:00
drochner
d9459c5f21
share some code for USB root hub emulation which is common in the 3
...
host controller implementations, start with two little functions
which fake up string descriptors (which were inconststent, language
table fetching didn't interoperate with other code in the tree)
2008-02-03 10:57:11 +00:00
mjf
b1c9a380e4
Match up some VOP_OPEN()S with VOP_CLOSE()s. This allows the root
...
file system to be identified properly again.
2008-02-02 16:15:01 +00:00
tron
9cb1a5317f
Avoid using a stale PCI chipset tag pointer. This avoids panics while
...
attaching a 3Com 3C996B-T on my ULTRA60. Reviewed by Matthew Green.
2008-02-02 12:12:09 +00:00
hannken
6a545682ed
ccdbuffer(): add missing initialization of new bufs b_objlock.
2008-02-02 10:40:50 +00:00
tls
9b6c682b45
From Darran Hunt at Coyote Point: don't truncate HMAC to 96 bits unless
...
actually asked to.
Fixed in FreeBSD a while ago, discussed on tech-kern and tech-crypto.
2008-02-02 02:39:00 +00:00
xtraeme
b5abdb42f6
Destroy the callout via sysmon_envsys_destroy() now that it's
...
initialized in sysmon_envsys_create().
2008-02-02 02:02:37 +00:00
dyoung
46be8b643f
Fix a two races between the initialization code and cbb(4) interrupts:
...
establish the interrupt handler before enabling interrupts, so that
we will not get an interrupt storm that keeps the system from making
any progress. (We may have only been susceptible to the storm if
cbb(4) shared an interrupt with, say, uhci(4)). Also, finish
setting up the pcic_handle before enabling interrupts, so that the
Pcic_read() call in pccbbintr() will not jump to address 0!
Now, pccbb_intrinit() encapsulates all of the interrupt initialization.
Explicitly enable card-status changed (CSTSCHG) events.
Paranoia: ensure that writes to the socket event register (interrupt
acknowledgements) are flushed to the h/w by reading the register
(gross). We really need something like
bus_space_sync(BUS_SPACE_BARRIER_WRITE_BEFORE_INTERRUPT).
More paranoia: in pccbbintr(), if the device is inactive, get out.
2008-02-02 00:31:25 +00:00
xtraeme
74a0270856
aiboost_getcomp: use Package.Count to allocate and iterate over
...
the elements rather than Integer.Value, which sometimes doesn't
match and gives unexpected results on the error path.
This fixes the kmem_poison_check on DEBUG kernels (finally). Patch
by Fukumoto Atsushi. Thanks!
2008-02-01 23:12:30 +00:00
dyoung
b31e1f190c
Use aprint_*_dev() and device_xname() instead of accessing dv_xname
...
directly.
2008-02-01 21:13:44 +00:00
jdc
0806e2a957
Disable HW RX TCP4 checksums because it is buggy (it appears to only checksum
...
src IP, dst IP and packet len).
Also, remove the "MAC rx fault" redundant printf().
2008-02-01 11:03:19 +00:00
jdc
129b6bc9a9
Set the chip revision in the softc.
2008-02-01 10:58:28 +00:00
jdc
16d4e38d4d
Add GEM_IS_SUN macro, and chip revision to the softc.
2008-02-01 10:53:25 +00:00
markd
906c80684e
s/AD1983_EVENT/AD198X_EVENT/
2008-01-31 19:01:50 +00:00
markd
5dc269fc53
Use more meaningful names for AD1984 widgets.
...
Select dac as default input for internal mono speaker.
Handle jack pin detect for headphones and lineout on Dell Optiplex 755.
2008-01-31 18:58:57 +00:00
dyoung
3d8a594471
Let the compiler decide: inline -> static, register -> .
2008-01-31 18:45:45 +00:00
dyoung
8c145c8134
Cosmetic: constify, KNF, use device_t and accessors, use
...
aprint_normal_dev() instead of printf("%s: ...", dv->dv_xname).
2008-01-31 18:32:51 +00:00
jmcneill
89cbafc849
AD1984: Create a dummy outputs.master mixer knob that mirrors inputs.dac,
...
since AD1984 doesn't have a traditional master volume control.
2008-01-30 23:03:09 +00:00
jmcneill
77c34d4c1c
AD1984: Use the same DAC for speaker and headphones, so the headphone jack
...
works as expected on Thinkpad T61 (and probably others).
2008-01-30 22:09:00 +00:00
ad
df774def20
Hold v_interlock when adjust v_writecount.
2008-01-30 15:42:52 +00:00
ad
ab27a4b1d4
Remove code to prevent multiple open of block devices; it's no longer
...
needed.
2008-01-30 15:30:12 +00:00
ad
549e8ec8b9
Has this compiled recently?
2008-01-30 14:12:20 +00:00
he
0a4814ccdc
Do a dummy pmf_device_register() in pcppi_attach() instead of only
...
in pcppi_isa_attach(), so that pcppi at acpi doesn't become an obstacle
to suspending.
Looked over by jmcneill.
2008-01-30 12:30:01 +00:00
simonb
a4c23df6ce
Add a simple resume hook that just calls bce_reset(), and register
...
this with pmf_device_register().
Makes suspend/resume with bce happy. Much thanks to Jared for help here.
2008-01-30 12:00:35 +00:00
simonb
fb673d9599
WextraRemove unused DPRINTF/DPRINTFN macros.
...
Remove NetBSD 1.6 compatibility checks (way out of date).
Be somewhat consistent (and closer to KNF) with whitespace.
Use uintN_t instead of u_intN_t.
No functional changes.
2008-01-30 11:54:08 +00:00
tron
ce82b598ec
Add support for function keys F16 to F19 as present on e.g. the new
...
Apple aluminum keyboard.
Patch contributed by Michael Piotrowski in PR kern/37788, reviewed
by Matthias Drochner.
2008-01-29 20:54:32 +00:00
tls
16a9229cf8
Sigh. What was meant here was an ITR register value of 1500, for 2604
...
interrupts/sec -- not the other way around. Caught by yamt.
When I can confirm that it won't lock the chip up on the models claimed
to be problematic, I'll probably adjust the packet timers a bit further
to see if I can get latency down under low load. But this should be
better.
2008-01-29 20:24:41 +00:00
xtraeme
d187549ef6
Pass the same size to kmem_alloc(9) and kmem_free(9), this fixes
...
the kmem_poison_check panic on DEBUG kernels.
2008-01-29 19:35:05 +00:00
dyoung
534869a24d
Use device_t. Add a handler for child detachment. Now I can detach
...
cd0 at atapibus0 without getting a panic when atapibus0 detaches,
later.
2008-01-29 17:26:57 +00:00
jmcneill
ab245e294e
PCI Power Management 1.2 says that system software should wait 10ms after
...
transitioning a device to or from D3hot, 200us to or from D2, and no wait
for D1 transitions. Update pci_set_powerstate_int to match the spec,
rather than naively waiting 1ms after every state transition.
2008-01-28 22:48:43 +00:00
jmcneill
a0a5798f83
Change synaptics 'unusual delay' printf to aprint_debug. I'm tired of
...
seeing it over and over again.
2008-01-28 22:30:27 +00:00
jmcneill
1ec278b34c
Don't call do_enable on synaptics resume if !sc->sc_enabled
2008-01-28 22:29:00 +00:00
jmcneill
6d105ec7c2
De-noisify resume handler.
2008-01-28 22:28:32 +00:00
jmcneill
ef5ded9b39
No need to operate in polling mode in ehci_resume.
2008-01-28 20:58:23 +00:00
jmcneill
b7cf8d358c
The Thinkpad T61/x61 family powers off the USB power resource on resume
...
from S3 sleep. Until we get proper ACPI power resource support, simply
call \\_SB.PCI0.LPC.EC.PUBS._ON() on resume if the method exists.
Fixes kern/37279 by Steven M Bellovin.
2008-01-28 20:31:55 +00:00
dyoung
37b0eea62f
Remove dead code and associated comments.
2008-01-28 18:18:37 +00:00
dyoung
fd68f1fdfd
If something still holds a reference to our scsipi_adapter, do not
...
warn and complete the detachment, but return EBUSY.
2008-01-28 18:17:05 +00:00
dyoung
0974448cd1
Do not allow the system console to detach, because that will lead
...
to a panic.
2008-01-28 18:12:29 +00:00
macallan
671b15c8ef
get rid of the shutdown hook, add suspend and resume handlers instead
...
XXX: ahc_suspend panics here so suspend calls ahc_shutdown and resume does
nothing.
This fixes a hangup and subsequent panic which occured when the shutdown hooks
were called and /afterwards/ the sd suspend handler tried to flush caches
through an already shut down ahc.
2008-01-28 16:08:37 +00:00
jmcneill
05b25a6836
Ensure that we don't clear the EHCI_PS_CLEAR bits by writing 1s to them
...
when modifying port state in ehci_suspend and ehci_resume.
2008-01-28 01:52:31 +00:00
jmcneill
e4e10d4f97
Release port ownership on detach, so devices will be routed to companion
...
controllers. This allows 'drvctl -d ehci0' to disable USB 2.0 mode.
2008-01-28 00:47:05 +00:00