ichiro
2075d7734d
fix some bugs
2003-06-14 11:40:20 +00:00
ichiro
2aacfecbed
regen.
2003-06-14 10:00:09 +00:00
ichiro
a933b95ba3
delete duplicate line
2003-06-14 09:58:55 +00:00
uwe
22ce30e3bd
Rename struct frame to irt_frame to avoid name clash with struct frame
...
in <arm/arm32/frame.h>.
2003-06-13 15:09:17 +00:00
kent
53af708049
Fix a regression of the last commit.
...
ICH4 needs IGNORE_CODEC_READY_MAYBE.
2003-06-13 07:27:17 +00:00
kent
1384d4d948
Regen
2003-06-13 07:14:58 +00:00
kent
f968f948fa
Add some ICH5/ICH5R device IDs.
2003-06-13 07:14:18 +00:00
thorpej
3178a4f415
Add support for dynamic rescan of cache service logical drives, using
...
the ioctl issued by the ICP RAID management libraries (used by the
storcon and iirconfig tools). This requires some infrastructure changes:
* Add a "service callback" mechanism that the ld driver (cache service)
and the iopsp driver (raw service) can register with the icp parent.
Right now this callback allows the children to adjust their notion of
how many command openings are available.
* Add a mutex around the icp ioctl handler, allowing only one thread
to execute an ioctl at a time.
* Add a way to freeze the controller command queue. We stop all I/O
while processing rescans (due to the semantics of icp_cmd()).
* Make icp_cmd() work when !cold.
* Add detach support to ld@icp.
2003-06-13 05:57:30 +00:00
kent
f7f6440dff
Add AD1981-specific initialization.
...
The patch provided by Lars Heideker.
PR: kern/20368
2003-06-13 05:31:29 +00:00
kent
93695b73fb
Not only ICH4 but also ICH0 and ICH2 might set no ICH_PCR.
...
The patch was provided by lha.
PR: kern/21031
2003-06-13 05:13:42 +00:00
thorpej
434a4243a1
Fix the way the scsipi adapter openings are adjusted when the array
...
controller adjusts our queue length.
2003-06-13 02:33:09 +00:00
thorpej
76464bb996
* Don't wait for commands to drain when adjusting the queue length.
...
Instead, wait when it's really needed, when detaching. Project
draining from spruious wakeups.
* Don't flush the controller's cache when detaching; we can't do it
reliably, as the controller probably things the array drive no
longer exists. The cache is already flushed in ldclose() so this
should be no problem.
2003-06-13 02:32:27 +00:00
scw
588cfa226b
Add basic support for non-PCI host mode.
2003-06-12 19:18:49 +00:00
scw
b8ce8543eb
Always pass BUS_DMA_COHERENT to bus_dmamem_map() when allocating
...
descriptor/buffer memory.
2003-06-12 19:18:02 +00:00
scw
b751df8807
Tickle the watchdog while doing polled console i/o.
...
This is especially important if we spend any time in ddb. :)
2003-06-12 19:16:18 +00:00
scw
269144aef4
Disable the watchdog during autoconf of sub-devices.
...
Some drivers (e.g. pciide(4)) can take long enough to probe that the
watchdog barks before they're done.
2003-06-12 19:14:37 +00:00
thorpej
d0e1416b29
Separate out the immediate value from the input buffer. The immediate
...
value field can now always be used as an input, and output, or both.
This is especially handy for data movers which can e.g. calculate the
CRC32C of a buffer as it is moved (which requires both a seed [input],
and a place to stash the result [output]).
2003-06-12 17:20:43 +00:00
drochner
0256604827
nuke unnecessary #include <sys/dkstat.h>
2003-06-12 14:44:36 +00:00
uwe
faa757d699
Request KBC_SELFTEST in pckbc_cnattach(), hidden under #ifdef
...
PCKBC_CNATTACH_SELFTEST. On machines where we boot on cold iron
(e.g. netwinder) we need this to init the pckbc.
2003-06-12 03:34:12 +00:00
scw
146abc03d1
In ac97_restore_shadow(), make sure to restore the codec's extended
...
control register if we configured it during ac97_attach().
2003-06-11 14:22:27 +00:00
uwe
a7ed2dae3d
Correct calculation of the blit src/dst for blits we do backwards.
2003-06-10 22:07:38 +00:00
christos
1af7cab082
regen
2003-06-10 19:39:12 +00:00
christos
4267622713
add a Rockwell 33.6K modem
2003-06-10 19:39:00 +00:00
grant
5d17facb78
wrap a debug message in #ifdef PCKBCDEBUG.
...
ok'd by simonb. fixes my PR kern/18441.
2003-06-10 07:46:29 +00:00
ichiro
5dfe78bf25
fix bug report - xsrc/17810, kern/16898
...
add AGP configuration registers for i840/855PM, i840/i850E, 82443LX/BX/GX
Although there chips are well alike, but initialization and so on procedures differ.
2003-06-09 12:16:42 +00:00
grant
42ddc68577
regen
2003-06-08 13:34:23 +00:00
grant
c1b1b84e38
add another vendor ID for OnSpec Electronic Inc.
2003-06-08 13:33:16 +00:00
ichiro
f49da6da4c
regen.
2003-06-08 13:21:05 +00:00
ichiro
a29f92abcd
add product ID
...
PRO/Wireless LAN 2100 3B Mini PCI Adapter
2003-06-08 13:19:27 +00:00
thorpej
47edad1115
Always queue transfers in the ld driver to prevent transient resource
...
shortages in the back-ends from aborting transfers.
Reviewed by ad@.
2003-06-07 23:37:24 +00:00
augustss
be0211e579
Regn.
2003-06-07 17:01:24 +00:00
augustss
6c3bbf2a48
Eicon diva 852 isdn ta support. From Pavel Arnost, PR kern/21818.
2003-06-07 17:00:41 +00:00
wiz
84e5042a23
regen (Add some Brooktree device IDs).
2003-06-07 09:15:32 +00:00
wiz
9e9a81c51d
Add some Brooktree device IDs.
2003-06-07 09:15:00 +00:00
wiz
3ec551681e
regen (+ATI 9100, 9600TX, 9500/9700)
2003-06-07 09:08:01 +00:00
wiz
da8f7eccaa
Add ATI Radeon 9100, 9600TX, 9500/9700.
2003-06-07 09:07:12 +00:00
ichiro
7cfd4a5b87
regen.
2003-06-07 05:08:45 +00:00
ichiro
597ee3be5a
add productID of ATI
2003-06-07 05:07:52 +00:00
ichiro
cb894592f4
regen.
2003-06-07 04:29:48 +00:00
ichiro
64d62a07e2
Upps, mistaken
...
fixed sufix
2003-06-07 04:28:09 +00:00
ichiro
e7c1bfeb6f
regen.
2003-06-07 04:17:10 +00:00
ichiro
348e38efa1
add deviceID - Intel 82855PM/GM chipset
2003-06-07 04:16:25 +00:00
martin
b464a5b71f
Only read media status bits when they are valid.
...
From Makoto Fujiwara in PR kern/21810.
2003-06-06 23:22:56 +00:00
dogcow
b7da893283
Some models of the 556B don't turn on the transmitter without magic
...
values getting written. Fix from FreeBSD; cf sys/pci/if_xl.c, rev 1.110
2003-06-05 22:11:21 +00:00
tsutsui
18e6b982e3
Add a missed htole32() for DMA txdescs.
...
Problem reported by Todd Mortimer on port-macppc.
2003-06-05 16:33:43 +00:00
scw
5eb709747b
Add support, via a kernel config file option, for the 16550-compatible
...
com ports found on Intel PXA2x0 processors.
Re-arrange the code which detects the FIFO configuration to defer
printing until _after_ com_fifo is cleared. Some supposedly compatible
chips clear the Tx/Rx FIFOs when this happens, resulting in previous
output being lost.
2003-06-05 13:40:38 +00:00
pk
8b535e80c4
ahc_pci_probe: avoid placeholder entries in the `identities' table.
2003-06-04 11:55:05 +00:00
augustss
18bd4aa617
Regen.
2003-06-03 23:22:16 +00:00
augustss
bd311307e3
Add Motorola T720c and a quirk for it.
2003-06-03 23:22:00 +00:00
petrov
78fc8fd68f
Add sun keyboards and display.
2003-06-03 06:48:12 +00:00
petrov
7a41bf9cce
Fix the previous patch of me.
2003-06-02 22:52:36 +00:00
gmcgarry
9d6ae676dd
Driver for GPIB controllers boards based on the uPD7210 GPIB controller,
...
including boards made by Captial Equipment Corp.
2003-06-02 03:57:15 +00:00
gmcgarry
59720b5acd
Register definitions for TMS 9914 GPIB controller.
2003-06-02 03:55:04 +00:00
gmcgarry
8cfea04139
Register definitions for NEC uPD7210 GPIB controller.
2003-06-02 03:54:31 +00:00
gmcgarry
473eb46745
Port hp300 driver for HPIB/GPIB disks to MI gpib framework.
2003-06-02 03:53:02 +00:00
gmcgarry
0f9683761f
Port hp300 driver for magnetic tapes to MI gpib framework.
2003-06-02 03:52:24 +00:00
gmcgarry
c7fc491b48
Port hp300 driver for cartridge-style tapes to MI gpib framework.
2003-06-02 03:51:52 +00:00
gmcgarry
ff33565165
Support block devices speaking CS80/SS80 protocol over gpib.
2003-06-02 03:51:04 +00:00
gmcgarry
5c3ec26c1a
First-go at hil-over-gpib. Doesn't do much.
2003-06-02 03:48:25 +00:00
gmcgarry
cb93fa6aac
Port the hp300 ppi driver to the MI gpib framework.
2003-06-02 03:47:09 +00:00
gmcgarry
12379e3ba8
GPIB framework.
2003-06-02 03:45:41 +00:00
fvdl
370167ec16
Add newer 5704 asic revs, and add them to the table, with the
...
BGE_QUIRK_ONLY_PHY_1 quirk in their entry.
2003-06-01 20:26:14 +00:00
uwe
97e817d08e
Implement accelerated text ops using graphic coprocessor.
2003-05-31 23:22:26 +00:00
dyoung
5bcf25f890
Picky cosmetic change: remove leading space.
2003-05-31 19:38:08 +00:00
uwe
70161de941
Correct coprocessor registers base.
...
Feh, manuals that lie...
2003-05-31 18:25:40 +00:00
petrov
b6d4c1c66b
wsmouse for ms@tty.
2003-05-30 23:34:06 +00:00
uwe
a19b05b597
Oops, do not disable coprocessor in igsfb_init_ext.
2003-05-30 22:41:52 +00:00
scw
58c736d46f
In dmio_read(), make sure to set DMIO_STATE_READ_WAIT in ds->ds_flags
...
before going to sleep.
2003-05-30 11:37:47 +00:00
matt
e7559eb17d
Use proper shift marcos for EXT. This makes the PHY on i83543 get
...
recognized. From Doug Donsbach <dldonsbach at tds dot net>
2003-05-30 02:08:55 +00:00
gson
f60f21cf0b
The remaining capacity percentage was incorrect for batteries larger than
...
21.47 Wh becaue of integer overflow.
2003-05-29 02:47:49 +00:00
scw
6fab97c614
Add an option to control whether the GT's internal PCI Arbiter should
...
be enabled or not.
2003-05-27 11:39:50 +00:00
yamt
b1286467f1
ip/tcp/udp checksum offloading support for i82550.
...
largely from FreeBSD.
2003-05-26 16:14:49 +00:00
haya
5ae8bbc4cc
Bugfix: fwohci_ir_read(): loop continues when the buffer size not only
...
greater than but also same as packet size. This bug is pointed out by
FUKAUMI Naoki.
2003-05-26 16:10:36 +00:00
augustss
4cc039d469
Add FIONREAD ioctl().
2003-05-26 12:43:35 +00:00
yamt
b57a775a7d
check and MCLAIM correct mbuf in fxp_copy_small path.
2003-05-25 15:10:23 +00:00
gehenna
637efc0116
Add AboCom UFE2000.
2003-05-25 14:36:56 +00:00
gehenna
9e736dcfd9
Regen.
2003-05-25 14:32:43 +00:00
gehenna
d76735d9cf
Add AboCom UFE2000 USB2.0 Fast Ethernet Adapter
2003-05-25 14:31:41 +00:00
kochi
0cb6714769
Backport a bugfix from the latest ACPI CA.
...
This will fix false AE_NOT_FOUND messages, reported in
port-i386/20897.
2003-05-25 10:08:24 +00:00
augustss
d9c803e9da
Regen.
2003-05-24 23:30:47 +00:00
augustss
a6c76ab0d9
Add some more entries. From FreeBSD and OpenBSD.
2003-05-24 23:29:11 +00:00
kochi
0d6c5a668c
* make use of NetBSD ACPI APIs (acpi_eval_{struct,integer})
...
* minor cleanups
2003-05-22 15:35:51 +00:00
dyoung
55196426e6
Update to wi interrupt handling:
...
No longer require a hi-low-hi transition of a status bit before
we believe it. It's a performance killer, and without it there
does not seem to be a race.
Sam Leffler reports that wi_intr needs to be bracketed by
disable/enable interrupts through WI_INT_EN, or else performance
is bad on Lucent. So now we do that.
2003-05-22 06:34:45 +00:00
christos
a2f80a1464
size_t != unsigned int all the time.
2003-05-21 17:23:55 +00:00
dyoung
ba845eeeb3
Stop wi panics on card ejection in Powerbook in both the enabled
...
and disabled states. This should fix an x86 panic somebody reported
on icb.
2003-05-20 01:29:35 +00:00
kochi
620bc11015
Fix a locking problem, which closes kern/21607.
...
ok'd by Jason Thorpe.
2003-05-19 23:24:55 +00:00
tsutsui
09d1921299
Misc cosmetics:
...
- some KNF and wrap long lines
- use TAILQ macro
- replace some magic numbers with macro
- use #if 0/#endif pair to disable code
2003-05-19 14:56:03 +00:00
uwe
c7e8d1f928
Oops, correct platids for 680/690 with European English (ABB)
...
keyboard. We still use hpcboot's "Hungarian" entry for them.
2003-05-18 19:06:11 +00:00
fvdl
385c785fd2
Inialize sc_tty->t_dev early for serial console, so that cn_check_magic
...
will match in the case of a break before the console was opened for the
first time. Makes BREAKing into DDB work (again) as soon as interrupts
are enabled.
2003-05-18 15:10:08 +00:00
thorpej
02ad493d76
Fail icpioctl() if securelevel > 1.
2003-05-18 06:18:25 +00:00
thorpej
577fd9d8fa
* Use aprint*().
...
* Add Ultra/133 to wdc_print_modes().
2003-05-17 21:52:03 +00:00
thorpej
2f25411d28
Use a buffer queue. Primary advantage here is robustness in the face
...
of temporary resource shortages.
2003-05-17 21:42:08 +00:00
christos
acec85bb7c
Initialize and reset curtxeps to zero each time the error rate is exceeded.
...
This stops the continuous spewing of error messages, making it just sporadic.
2003-05-17 16:46:03 +00:00
thorpej
4aef050969
Add DIOCKLABEL support. Fixes PR kern/21605 (Luke Mewburn).
2003-05-17 16:11:52 +00:00
thorpej
548e1373f8
Another fix from Achim Leubner @ ICP:
...
Test-busy *before* marking the controller as processing a user ioctl,
otherwise the command queue could stall permanently if test-busy returned
true.
2003-05-17 15:34:12 +00:00
agc
23a6c4c9b7
Test the right variable after allocating space, and then get rid of an
...
unused local variable.
2003-05-17 14:26:30 +00:00
scw
d1fb17639e
defflag GT_ECC.
2003-05-17 08:27:58 +00:00
scw
f8a82ee618
Fix some DPRINTF statements to deal with bus_addr_t and bus_size_t types
...
defined in terms if 'int' instead of 'long'.
2003-05-17 08:23:14 +00:00
kristerw
2c7ae90e5b
ISO C requires a statement after a label.
2003-05-16 23:55:32 +00:00
itojun
ce084afabe
use strlcpy
2003-05-16 15:34:25 +00:00
dyoung
045ad0db5e
IEEE80211_LOCK and WI_LOCK conceal enormous differences in locking
...
semantics on FreeBSD and NetBSD, so I am backing them out until
the macro set is enriched.
2003-05-16 01:26:17 +00:00
fvdl
c0b6986667
Add quirk handling to ACPI. First quirk entry is "PTLTD " rev 0x06040000,
...
which gives problems with PCI bus finding; the object hierarchy doesn't
match the real world for some systems, most notably SuperMicro boards.
Linux has this one blacklisted as well.
2003-05-15 21:29:49 +00:00
fvdl
a47c14adcc
Fix reversed arguments to bus_space_unmap.
2003-05-15 18:04:08 +00:00
wiz
ee6d7b94d4
Remove last traces of obsolete olms and omms drivers.
...
Ok'd by drochner and fvdl.
2003-05-15 13:13:21 +00:00
petrov
182de37049
Move DTIMEXP and RFIFOVF warnings under control of HMEDEBUG.
...
PR port-sparc64/20280 by grant beattie.
2003-05-14 19:46:59 +00:00
wiz
1adfebd8ae
coaless -> coalesce.
2003-05-14 13:03:36 +00:00
wiz
74da88f77a
Correct spelling of coalesce. (Will forward to Justin Gibbs.)
2003-05-14 12:57:45 +00:00
wiz
05e990b871
summarize with two m.
2003-05-14 12:46:27 +00:00
wiz
41ebad8a42
create, not craete.
2003-05-14 12:43:26 +00:00
drochner
7460d83817
need wsfont.c for wsfont pseudodevice
2003-05-14 11:26:52 +00:00
ad
b9ac701d8a
Fix thinko.
2003-05-14 11:22:55 +00:00
wiz
b71230c47d
Typos from Jean-Francois Brousseau, via jmc@openbsd.
2003-05-13 22:43:20 +00:00
thorpej
405790a85a
Add support for the user-generated command interface and event logging
...
required by the ICP-Vortex management tools. Many thanks to Achim Leubner
at ICP-Vortex for a few bug fixes and for testing.
2003-05-13 15:42:33 +00:00
kochi
bf026fa41a
Fix a reference count problem that may cause unexpected memory free etc.
...
This is a backport of the latest ACPI CA that has a fix for this.
2003-05-13 13:29:00 +00:00
kochi
19e73853da
Fix parent-child loop problem found by Takashi Yamamoto.
2003-05-13 13:07:13 +00:00
dyoung
e91ed415cd
Revert to previous multicast logic, which enami@sm.sony.co.jp says
...
was correct.
2003-05-13 08:58:01 +00:00
dyoung
850a6ef1e6
Begin synchronization with FreeBSD:
...
1 Add channel mask, transmit rate-mask arguments to wi_scan_ap.
2 Adopt the macros WI_LOCK/WI_UNLOCK for synchronization. FreeBSD
uses a different synchronization mechanism.
3 In wi_cmd, adopt constants WI_DELAY/WI_TIMEOUT for timing.
4 Pull debug messages from into wi_read_nicid from FreeBSD.
5 Bug fix: if IFF_ALLMULTI, don't filter any multicasts.
6 Count and report TX exceptions, but don't generate any additional
interrupts.
2003-05-13 08:35:58 +00:00
dyoung
5ffe819b6e
For converge with FreeBSD:
2003-05-13 07:17:46 +00:00
dyoung
45e5f65918
Track TX exceptions. This will eventually enable round-robin retries
...
(for fairness) and RTM_LOSING or some such other message to indicate
a losing wireless destination.
From FreeBSD.
2003-05-13 07:13:49 +00:00
dyoung
904079b8af
Complete prior patch: dump packets in wi_rx_intr, too.
2003-05-13 06:51:10 +00:00
dyoung
aa1a3737de
Debug code from FreeBSD: handy packet dumps when IFF_DEBUG|IFF_LINK2
...
are set.
2003-05-13 06:48:56 +00:00
dyoung
a090735114
Misc changes to wi_stop. First, block interrupts in wi_stop. (From
...
FreeBSD.)
Fix a bug in wi_stop where ejecting from the Powerbook crashes the
system. Essentially, the patch makes sure we write *no* registers
when we are no longer attached.
Also, for consistency w/ FreeBSD, use sc_portnum throughout wi,
instead of hard-coding WI_PORT0 .
2003-05-13 06:33:40 +00:00
dyoung
8f56bda785
For uniformity between FreeBSD & NetBSD, adopt FreeBSD's more
...
concise wi_cmd.
2003-05-13 06:15:47 +00:00
gson
34388cbdcc
Function names printed in debug messages did not always match the
...
actual name of the function.
2003-05-13 04:41:59 +00:00
thorpej
292b5a8b0c
Use aprint*().
2003-05-13 03:00:07 +00:00
thorpej
50e0b3a100
Use aprint_error() where appropriate.
2003-05-13 02:56:13 +00:00
fvdl
f0e810d923
Always use 32bit-wide header pointers for an RSDT (ACPI 1.0). The comment
...
in the code talks about "machine-dependent length", but my copy of
the spec clearly says "an array of 32-bit physical addresses".
2003-05-12 00:19:17 +00:00
atatat
7a309d7e64
make this compile again.
2003-05-12 00:19:00 +00:00
fvdl
26f04d0979
Avoid a strict-alias warning.
2003-05-11 21:21:16 +00:00
fvdl
3d7030e668
Avoid some strict-alias warnings.
2003-05-11 21:20:23 +00:00
fvdl
c99f4a15ba
s/UINT32/ACPI_SIZE/ to match function prototypes.
2003-05-11 19:08:37 +00:00
fvdl
beed0b1c91
Fix format / number of argument mismatch for a printf.
2003-05-11 18:52:39 +00:00
augustss
581056322e
Support for Belkin F5U109. From PR kern/21534.
2003-05-11 16:26:49 +00:00
uwe
a3e1bfb091
Use hardware sprite for the text mode cursor.
...
Fail cursor related ioctls with EBUSY while in text mode.
Don't do uvm_useracc checks before copyout, instead check copyout()
return value directly.
Minor cleanups.
2003-05-11 03:20:09 +00:00
thorpej
e43fecb228
Change bounds_check_with_label() to take a pointer to the disk structure,
...
rather than the label itself. This paves the way for some future changes.
2003-05-10 23:12:28 +00:00
hamajima
8d97ea2fa6
Regen.
2003-05-10 17:52:02 +00:00
hamajima
54950a70eb
Add Platronics DSP-400 Headset.
2003-05-10 17:47:14 +00:00
uwe
6311425db4
Don't need a separate bit expansion table for the cursor mask.
2003-05-10 16:20:23 +00:00
uwe
64e9f09f51
Enforce that the cursor position and the hot spot are within bounds.
...
Constify a bit. Fix unsignedness of a few local variables.
2003-05-10 15:25:19 +00:00
augustss
96221eb168
Try to make message about missing companion controllers clearer.
2003-05-10 12:04:22 +00:00
uwe
2866542ad3
Redo attachment to support proper cnattach.
...
wscons on netwinder almost works now.
2003-05-10 01:51:56 +00:00
fvdl
d88cf589cb
A few ISA sound drivers like to share dma channels, and hence deferred
...
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.
To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.
All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.
2003-05-09 23:51:25 +00:00
christos
16561289af
PR/13653: Onno van der Linden: Set tranceiver media properly.
2003-05-09 20:54:18 +00:00
martin
4e2589a192
We are getting passed an integer value via a void* arg (in an ioctl() like
...
function) - cast it to an intptr_t.
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:18:42 +00:00
martin
82f1702c53
Add missing include.
...
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:16:19 +00:00
augustss
7209b4436c
Regen.
2003-05-08 15:20:18 +00:00
augustss
b76302ea23
Add another Diskonkey product id.
2003-05-08 15:19:46 +00:00
enami
507b844289
Regen.
2003-05-08 04:39:33 +00:00
enami
c39e03508c
Spell AirH"PHONE correctly.
2003-05-08 04:38:23 +00:00
augustss
5a80843f7d
Regen.
2003-05-07 16:56:57 +00:00