Commit Graph

22764 Commits

Author SHA1 Message Date
jnemeth
3837ebf32f PR/37259 - Daniel Neri -- typo in EXAR XR17C158 description 2007-11-01 18:18:37 +00:00
bjs
d81bca762e Until I have a chance to further evaluate and re-work the locking here,
change from an adaptive to spin mutex @ IPL_TTY.  This seems to mitigate
or eliminate a lot of locking-related issues (such as a hang when running
glxgears under AIGLX).  Tested by me and Vincent <10.50@free.fr>.

In this code, we have three locks: irq, dma, and device.  If anyone has
any thoughts on how to improve this situation, e.g. by using different
lock types/priorities/soft interrupts/etc. for different locks, please
share them with me.

NOTE: I've had the best results thusfar using Mesa 7.0.2-rc1 (r300 users
could even try the r300 driver code from the master branch) and xorg-server
1.4+patches from GIT.
2007-11-01 13:20:04 +00:00
tsutsui
a3bf2627a4 Fix some random LCD corruption on cobalt:
- make sure to set HD_ROW1_ADDR before putting characters at the first line
  in hd44780_ddram_redraw()
- use memmove(9) rather than bcopy(9) for possibly overlapped copies
2007-11-01 13:05:32 +00:00
oster
ba0b8a3b17 Implement support for drvctl in RAIDframe. Thanks to jnemeth@ for
initial patch.
2007-11-01 04:11:22 +00:00
jnemeth
a04503ddd4 PR/37251 - Brian Buhrow -- FORCE_LBA48 on seagate drives larger then 1TB 2007-10-31 09:51:20 +00:00
xtraeme
decb1bb096 regen 2007-10-30 20:58:57 +00:00
xtraeme
7de6799988 Erm fix previous, it's Intel IOP333 not 332. 2007-10-30 20:58:38 +00:00
xtraeme
bd180c262f regen 2007-10-30 20:44:31 +00:00
xtraeme
2f4ec3ec94 Add Intel IOP332 A/B Segments. 2007-10-30 20:44:12 +00:00
joerg
2cdafd23af Add another Dell machine where the head phone event needs to be handled. 2007-10-30 19:36:10 +00:00
xtraeme
4fb0cdd56b regen 2007-10-30 12:39:48 +00:00
xtraeme
97f9e12807 Areca ARC SATA RAID Controllers, from OpenBSD. 2007-10-30 12:39:24 +00:00
jnemeth
d7d1da9b0d PR/37201 - Yasushi Oshima -- Intel 82965G chipset support 2007-10-30 12:20:03 +00:00
jnemeth
5afd2ed88c regen 2007-10-30 12:13:48 +00:00
jnemeth
e8e599a0e3 PR/37201 - Yasushi Oshima -- Intel 82965G chipset support 2007-10-30 12:13:06 +00:00
simonb
916b0a21f9 Some space-to-tab changes.
XXX: All the recently added ich8 support functions use 4-space indent,
     not touching that...
2007-10-30 07:49:40 +00:00
peter
9bc22ed904 wsdisplay has been converted to device_t/softc separation so we can't cast
the wsdisplay device to the wsdisplay_softc anymore.  Use device_private()
instead to get the softc.
2007-10-29 20:45:57 +00:00
itohy
d3de8bec66 Fix problem where targets with ID 0, 1, or 2 couldn't be reconnected.
It seems I have always tested with targets those ID >= 3,
and that I am the only user of this driver.
2007-10-29 03:17:24 +00:00
plunky
baebd7699a remove unnecessary cast (shortens long line) 2007-10-28 18:49:52 +00:00
plunky
60822ed9d3 When no estimate of battery minutes_left can be made, apm should
return a value of 0.
2007-10-27 19:51:29 +00:00
plunky
ed67784932 remove #include <usbhid.h> as its not needed 2007-10-25 19:32:15 +00:00
garbled
fb3ebfc3c0 Add a new convenience function, of_find_firstchild_byname(), and apply
some minor KNF to this ofw_subr.c.
2007-10-25 16:59:38 +00:00
joerg
16951292eb Remove a completely bogus check if cbb has a valid PCI interrupt routed.
If you have a system where it doesn't get one and you still want pcic,
you can just disable cbb. This check is invalid as soon as the PCI
interrupt register is not used and broke on my Dell Latitude for that
reason.
2007-10-25 13:49:06 +00:00
xtraeme
fdd1c8b450 regen 2007-10-24 23:08:24 +00:00
xtraeme
80f676f52f - Add support for the ServerWorks HT-1000 IDE Controller in rccide.
- Add support for another ServerWorks HT-1000 SATA Controller.

From OpenBSD.
2007-10-24 23:08:06 +00:00
joerg
65eda08509 Pass correct argument to callback, botched up in the last commit. 2007-10-24 07:05:35 +00:00
xtraeme
03ececeaba Use a flag for see_flags to know when the sensor has been refreshed
rather than using a boolean. Suggested by rmind.
2007-10-23 21:36:03 +00:00
joerg
2f9fa522b8 Also convert detach function. 2007-10-22 15:31:46 +00:00
joerg
2136a42b1e Convert to device_t/softc split and aprint usage. 2007-10-22 15:28:48 +00:00
manu
95269f5829 Regen 2007-10-22 15:01:16 +00:00
manu
818aeac0ff Add support for Marvell 88CO55. Newer iMacs come with that chip. 2007-10-22 14:59:37 +00:00
joerg
dcf90eeb82 Correctly initialise sc_insert_ch and switch to
callout_setfunc/callout_schedule.
2007-10-22 14:03:51 +00:00
nisimura
26c6496de9 regen 2007-10-22 10:35:15 +00:00
nisimura
2f67a49066 PCI ID 10b5.9030 and 10b5.5201 are for PLX I/O accelerator product
model 9030 and 9050/9052.  They work a functional bridge to host
any kind of I/O devices.  The exact product type can be identified
via VPD (vital product ID) PCI configuration registers if they are
programmed by the particular PLX I/O accelerator applications.
Otherwise, it's not possible to distinguish which kind of function
is implemented inside.
2007-10-22 10:33:03 +00:00
degroote
0e9691e3e3 Fix a number of driver which doesn't check wep flag in *_tx_mgt.
It is incorrect because we need to encrypt some management frame in case of
shared authentification.
2007-10-21 17:03:37 +00:00
degroote
a409673bc7 802.11 header may have different sizes. Deals correctly with this. 2007-10-21 16:47:27 +00:00
briggs
83967b2fba Use AAC_PREALLOCATE_FIBS with the softc as a parameter to catch up with
revision 1.10 of aacvar.h.
2007-10-21 12:59:33 +00:00
briggs
1687b85a45 Preallocate all of our FIBs. This needs more work, but currently avoids
a case where we could need more FIBs and try to allocate them inside an
interrupt handler, which is sub-par--a problem pointed out ages ago by ad@.
2007-10-20 01:46:30 +00:00
xtraeme
eccf5885ea performance fix: in the workqueue handler only refresh the sensor once,
not multiple times for the same sensor and clear its state after all
events were processed.
2007-10-20 00:12:35 +00:00
bjs
acac55ab19 First round of DRM improvements: switch to mutex(9), make use of &
operator consistent in locking macros, use mb(9) for memory barrier ops
(to be replaced with bus_space_barrier(9) at a later date; this is not
necessary for x86 but might be for e.g. mips).


More to come.  Try it out!  It's a lot more stable now just with the
mutex(9) changes.
2007-10-19 20:53:47 +00:00
ad
a2a3828545 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
dogcow
96d14f0973 If you're going to use device_t, may as well include sys/device.h; unb0rks
the build for sparc{,64}.
2007-10-19 08:57:50 +00:00
nisimura
b6b2432db3 - fix an error when retriving two 16bit halves of 29bit stat value.
- port3 counters are found exist and in fact working as 0x102/0x105.
2007-10-19 07:25:02 +00:00
nisimura
1de52faec2 - add multicast Rx hash table feature.
- distinguish 8842 from 8841. 8842 now keeps media selection "auto"
and indicates "up 100baseTX-FDX flow" when either of two ports has
a valid link.  There is no provision to see and control the two this
moment and their media selections remain in "auto" all the time. This
arrangement is considered acceptable since 8842's external ports are
connected with the internal EMAC via managed 3 port Ethernet switch.
- 8841 behaves a plain stanadrd 10/100 EMAC with standard media
selection feature.
- gather MIB statistics counter values with evcnt(8) framework.
- increase Tx/Rx DMA DMA burst transfer size from 16 to 32.
2007-10-19 04:41:30 +00:00
joerg
649a2156ea Convert to device_t/softc split. Use aprint API. 2007-10-18 23:54:54 +00:00
joerg
6c51962b6c Calling device_private once is enough. Reported by macallan@ 2007-10-18 21:08:18 +00:00
joerg
d238692c3e Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
2007-10-18 18:54:56 +00:00
joerg
e4a56b252c Use aprint API for output and convert to device_t/softc separation. 2007-10-18 18:09:52 +00:00
joerg
002c91440c Always declare wskbd_repeat to fix build without wsdisplay. 2007-10-18 14:51:25 +00:00
joerg
04e2d29955 Use callout_setfunc/callout_schedule. 2007-10-18 00:10:52 +00:00