Commit Graph

15391 Commits

Author SHA1 Message Date
martin cd55ccd237 Add support for socket communications 10/100 CF ethernet card.
From Scott Renfro in PR 22260.
2003-07-26 10:41:31 +00:00
martin 37b2869671 Regen (added socket communications 10/100 CF ethernet card) 2003-07-26 10:40:33 +00:00
martin 911cca8a10 Add socket communications 10/100 CF ethernet card. 2003-07-26 10:39:32 +00:00
thorpej ee0f53cd8c Make this work on systems where bus_dmamap_sync() is not a noop.
In particular, when doing the "swap hscbs" trick, the scb must
reference the correct hscb_map when it gets a new hscb, otherwise
when you go to sync an hscb later, you could end up using the wrong
dmamap.

In order to make this work, we have to convert the shared_data stuff
to use a map_node, because of the "sentinel" trick played with the
initial "next_hscb".

This driver now works on XScale-based platforms.
2003-07-26 06:15:57 +00:00
briggs 6d7027eec6 Add support for xor2-xor8 to swdmover. 2003-07-25 13:59:09 +00:00
jdolecek 4ba1407d10 print some additional information about the controller on boot (from FreeBSD)
use aprint_* as appropriate
change some debug #ifdef DIAGNOSTIC messages into #ifdef DEBUG
make aenfmt[] more const
change twe_param_get() signature to take (struct twe_param **) last arg, and
  remove now unnecessary casts
2003-07-25 11:49:19 +00:00
pk 9957c167e0 Print more diagnostic info on the occassions `unexpected disconnect' and
`invalid state'.
2003-07-25 06:40:29 +00:00
nathanw f943b64f73 A little printf-casting to make the DIAGNOSTIC sections of this
compile on LP64.
2003-07-24 19:19:42 +00:00
kleink e5ed3710bb Regen from 1.554. 2003-07-23 10:18:06 +00:00
kleink ff5115db16 Add a couple of Philips A/V broadcast decoder device IDs. 2003-07-23 10:16:16 +00:00
simonb 4754215738 Clean up autoconfiguration output a little. 2003-07-22 11:59:55 +00:00
jdolecek 98a5f82f01 add rnd hooks 2003-07-21 08:38:56 +00:00
hannken bbf46d4085 Add support for i855 agp. From FreeBSD.
Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-07-20 18:56:32 +00:00
thorpej b41675bcc3 Add a software implementation of the iSCSI CRC32C algorithm. This
serves as an example of how the immediate value can be used by a
dmover function.
2003-07-19 02:05:35 +00:00
thorpej a2a587d698 Add a well-known dmover function name for the CRC32C used by the iSCSI
protocol.
2003-07-19 02:03:11 +00:00
thorpej 5f35784b8a Add immediate value support for dmoverio transactions. 2003-07-19 02:00:18 +00:00
thorpej 96ea5b9ac4 Rename clock_rtc_config() to todr_attach(). 2003-07-18 21:41:22 +00:00
thorpej 91b8f572a8 Move the prototype of clock_rtc_config() into <dev/clock_subr.h>. 2003-07-18 19:20:55 +00:00
wiz 86e9cd6e52 Add a cast to avoid an integer overflow.
Fixes playing (at least some) DVDs.
Patch from Tsubai Masanari (tsubai at iri.co.jp) -- thanks a lot!
2003-07-18 14:33:54 +00:00
hannken b32066575d Regen. 2003-07-17 12:40:56 +00:00
hannken 7b247f3812 Add support for the BCM5705:
- Only BCM5705M asic rev A1 was tested.

Thanks to Bill Paul (wpaul@freebsd.org) for help and support.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-07-17 11:44:26 +00:00
uwe fadd31bf33 Add vt220 8x10 koi8-r/koi8-u fonts so that I can read mail using
Jornada 680 console.

XXX: The fonts are marked WSDISPLAY_FONTENC_ISO, which is wrong, but
at least makes the alphabet available.  Line-drawing is all broken.
2003-07-14 18:30:40 +00:00
lukem 365cbd9428 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
lukem 9391907df1 add missing __RCSID() 2003-07-14 15:40:37 +00:00
lukem a62911e9d9 add missing __KERNEL_RCSID() and RCSID comment 2003-07-14 15:40:04 +00:00
jmmv 3300ba59da Regen (+ ATI Radeon 9200) 2003-07-14 08:01:45 +00:00
jmmv 1f969857d8 Add ATI Radeon 9200 chip. 2003-07-14 08:00:43 +00:00
wiz 2faa66cee3 regen (+MGA G550). 2003-07-14 06:52:40 +00:00
wiz e14b9ced59 Add MGA G550, from Kouichirou Hiratsuka in PR 22133. 2003-07-14 06:51:57 +00:00
hubertf 0a65bfefd2 Regen for Toshiba SD and SM cards 2003-07-12 06:00:37 +00:00
hubertf d3f2a0d382 Recognize Toshiba Smart Media and Secure Digital cards 2003-07-12 05:59:50 +00:00
dsl 31722f62d8 KNF and whitespace (and indent a contuation line) 2003-07-11 15:33:13 +00:00
drochner 037daa02c2 fixed botched prototype,
while being here clean up whitespace
2003-07-11 10:15:56 +00:00
matt 258cc62412 Add LBA48_THRESHOLD #define and set it to the *correct* value. Use it
in place of "0xffffff" (which is one too few 'f').
2003-07-10 23:23:44 +00:00
martin 15a7538ed4 If a CD drive reports != 2048 byte block size, try to change it into
2048 byte mode. Fixes PR kern/22090.
Reviewed by Manuel Bouyer.
2003-07-10 18:18:40 +00:00
simonb e567ebddae Fix some silly typos.
Noticed by Allen Briggs.
2003-07-10 05:34:30 +00:00
kochi 61634e9a74 Don't compile db*.c & dm*.c unless ACPI_DEBUG and DDB are specified 2003-07-08 15:34:32 +00:00
itojun 7f6ed16ef4 function prototype must not have variable name 2003-07-08 10:06:28 +00:00
itojun a706d499a1 function prototype must not have variable name 2003-07-08 09:07:15 +00:00
rh 8ae8eb43b3 regen 2003-07-08 07:26:26 +00:00
rh 8024e394f6 Add CMI8330/C3D Audio Adapter (wss). This closes PR kern/22081 by Mayukh
Bose <mayukh at earthlink dot net>.
2003-07-08 07:26:04 +00:00
drochner 2fc45929e2 some cleanup/fixes:
-get boot messages to NetBSD's standards (ie at least 3 lines)
-get some card information from PCI ID and subsystem ID
-fix media handling and link reporting for fiber cards
-port cksum offloading to NetBSD and enable as far as appropriate
 (TCP/UDP transmit offloading still disabled, as in OpenBSD)
2003-07-07 15:18:24 +00:00
dyoung a036b1536b Oops. Add the atw(4) sources, too. 2003-07-06 22:57:23 +00:00
dyoung 46a27517aa Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.
2003-07-06 22:56:07 +00:00
dyoung 6e3daf0a07 Still more consolidation of 802.11 media-handling, moving moving
common code from awi and wi into the 802.11 framework. Inspired by
Sam Leffler's patches to FreeBSD.
2003-07-06 20:01:17 +00:00
simonb 21f798828f Regen: Trailing white-space and TABs nits. 2003-07-06 17:12:36 +00:00
simonb 93fec0b064 Trailing white-space and TABs nits. 2003-07-06 17:11:32 +00:00
simonb 7cd576831b Regen; E7500 and E7505 updates. 2003-07-06 17:08:43 +00:00
simonb 960557f7d1 Fill out E7505 devices.
Fix E7500 HI_D descriptions.
2003-07-06 17:07:38 +00:00
tron 94dffe1c93 Regen. 2003-07-06 14:59:54 +00:00
tron 2b6aac3e38 Add Intel 82547EI gigabit chip. 2003-07-06 14:59:29 +00:00
tron 5bceffec2b Handle i865 and i875P chipsets like the i845. This works good enough to
make XFree86 work with agp(4) enabled on an i865PE motherboard.
2003-07-06 12:39:41 +00:00
simonb be66d7b092 Regen: Add an entry for the Intel E7505 Chipset Memory Controller Hub. 2003-07-06 12:03:07 +00:00
simonb fd566882d9 Add an entry for the Intel E7505 Chipset Memory Controller Hub. 2003-07-06 12:02:07 +00:00
jdolecek 486593e9b9 actually do gather some randomness (if it's enabled)
modelled after what elink3.c does
2003-07-06 09:12:59 +00:00
dyoung 030634087a Prepare to consolidate 802.11 media handling (which is handled in
code duplicated by each driver, now) into the 802.11 framework.
2003-07-06 07:54:43 +00:00
tron c5b347e780 Regen. 2003-07-06 07:19:58 +00:00
tron b3b7e59311 Correct names and descriptions for i875 entries to be consistent with
other Intel chipsets.
2003-07-06 07:19:38 +00:00
dyoung 2c1f7efe46 Improved RSSI->dBm conversion, especially for Lucent cards, for
which I borrowed some conversion constants from the Linux orinoco_cs
driver.
2003-07-06 07:15:55 +00:00
tron c819e82fbe Regen. 2003-07-06 07:13:39 +00:00
tron 6a0a69b723 Add entries for Intel 865PE chipset. 2003-07-06 07:13:17 +00:00
kochi 473dc8a475 make bootup messages prettier 2003-07-06 05:24:18 +00:00
kochi 9ab543513d o cleanup usage of ACPI_ACTIVATE_DEV/ACPI_PCI_FIXUP
o delete usage of ENABLE_DEBUGGER

As ACPI_ACTIVATE_DEV/ACPI_PCI_FIXUP are defflag'ed in files.acpi,
these options don't have to have a value.
2003-07-06 04:03:21 +00:00
kochi 03c72d8b24 Fix typo. 2003-07-06 03:50:07 +00:00
tsutsui c42dcc7de8 More misc fixes for forthcoming hp300 MI SCSI support:
- Don't use SCMD_XFR command in message-in phase and status phase.
   It causes unexpected hangs on heavy load. Instead transfer data
   manually via TEMP register by SCMD_SET_ACK and SCMD_RST_ACK.
 - Don't set SCMD_ICPT_XFR in spc_dataout_pio() and spc_msgout().
 - Rewrite spc_datain_pio() to handle FIFO more properly.
2003-07-05 19:50:17 +00:00
tsutsui e30199e1ff Misc cleanup:
- disable debug code by default
 - use MI minphys()
 - add proper delay in spc_find()
 - initialize TMOD register in spc_reset()
 - wrap a sanity check with #ifdef DIAGNOSTIC (sync with aic6360.c)
 - no need to set LUN bits in SCSI command which should be done in mid-layer
 - set proper resid even in error case
 - fix/remove some bogus comments
2003-07-05 19:31:11 +00:00
tsutsui cfa57f87aa Use bus_space_{read,write}_multi_1() for PIO data transfers. 2003-07-05 19:04:48 +00:00
tsutsui 6615ddefa9 Rename some MI mb89352 functions for consistency:
spcintr() -> spc_intr()
 spcattach() -> spc_attach()
2003-07-05 19:00:16 +00:00
tsutsui 443eeab7de Some cosmetics:
- Remove useless macro.
 - Remove ^L characters.
 - KNF a comment.
2003-07-05 18:56:55 +00:00
wiz 8b9972b9b0 1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.
2003-07-04 18:56:30 +00:00
kochi 3c3271accf Cleanup usage of ENABLE_DEBUGGER/ACPI_DEBUGGER/DDB.
By this change, ACPI debugger/disassembler are only
compiled when both DDB and ACPI_DEBUG options are
specified.  This change also reduces the kernel size
a little when ACPI_DEBUG is not specified.
2003-07-03 14:37:34 +00:00
drochner 9897b6dfac maintain statistics counters 2003-07-03 11:36:18 +00:00
drochner 8c4f2074f2 avoid a gcc3 warning about a never-true comparision in the
mstohz() macro
2003-07-03 11:24:13 +00:00
drochner 71bedfd458 Avoid an obscure gcc3 complaint about
"dereferencing type-punned pointer" by a cast to "void *".
I don't completely understand the warning, but it helps.
2003-07-03 11:12:32 +00:00
kochi 7a37dbe54d cleanup usage of ACPI_ALLOCATE_BUFFER/AcpiOsFree combination 2003-07-02 12:23:25 +00:00
kochi 735150f269 print ACPI CA version 2003-07-02 11:54:43 +00:00
kochi 68dae3c110 Implement AcpiOsDerivePciId 2003-07-02 11:45:08 +00:00
oster 1121191d31 Actually toss the comment I said I was tossing in the last commit. 2003-07-01 23:53:48 +00:00
oster 556d051c14 - toss a comment that is no longer relevant.
- alist_mutex is a holdover from the simulator days, and it
wasn't even used back then.  Toss the variable and init/destroy calls.
2003-07-01 23:50:54 +00:00
oster 111c14e12c Minor cleanup. No functional changes. 2003-07-01 23:36:01 +00:00
msaitoh 74b3acef2e - last commit (rev. 1.36) add a entry to keep model number of the PHY in
mii_softc. There are some situations to want to check model number.
- add comment
2003-07-01 22:58:48 +00:00
msaitoh d8a4a08a24 - last commit (rev. 1.32) fixes icsphy_reset()'s problem. ICSphys don't
restart auto negotiation, so it kick.
- add comment in icsphy_reset()
2003-07-01 22:51:13 +00:00
msaitoh 5af1b6934b Add ICS1889 and 1892 2003-07-01 22:46:08 +00:00
oster ead7b02a99 Toss experimental versions of some functions that were already #if 0'ed. 2003-07-01 22:43:59 +00:00
oster 971e957065 UpdateNodeHdrPtr() isn't used anywhere. Turf. 2003-07-01 22:05:39 +00:00
drochner f2d5c0b3e3 VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.
2003-07-01 20:08:51 +00:00
kochi 862f80594c Bugfix from FreeBSD tree:
>Fix a bug in register access.  This should fix warning messages of:
>  ACPI-0340: *** Error: Could not release ACPI Global Lock, AE_BAD_PARAMETER

Thanks for jhb@freebsd to find out this problem.
2003-07-01 17:49:57 +00:00
ragge b027f1fffd Set the send queue to max(BGE_TX_RING_CNT - 1, IFQ_MAXLEN); sometimes
IFQ_MAXLEN may be choosen to a larger value than number of descriptors.
Why this setting from the beginning???
2003-06-30 13:20:21 +00:00
martin 273141ddfc Regen (Sony USB Memory Stick Slot (MSC-U03) added) 2003-06-30 12:42:27 +00:00
martin 950ba36af5 Add Sony USB Memory Stick Slot (MSC-U03),
from Katsuhisa ABE in PR 22017.
2003-06-30 12:41:37 +00:00
fvdl d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
bouyer 7a5f4f28d0 Don't use LBA48 if we don't have to (that is, if the request is inside the
first 128GB). Tested by Andreas Johansson.
2003-06-29 19:28:16 +00:00
bouyer b55e87ab48 Remove unused WAITTIME definition. Pointed out by Andreas Johansson. 2003-06-29 17:03:47 +00:00
simonb 168c4e411f Fix 'struct lwp *' lossage. 2003-06-29 15:07:08 +00:00
jdolecek c46b3f8bf7 regen: allocate identifier for BusTek BT-640A adapter 2003-06-29 14:49:15 +00:00
jdolecek 95ab1275a4 allocate identifier for BusTek BT-640A adapter 2003-06-29 14:48:21 +00:00
jdolecek 83872500d3 cosmetic - make sc_supmedia of struct lance_softc const 2003-06-29 14:42:58 +00:00
jdolecek c78fda0bcb fix typo in comment 2003-06-29 14:41:11 +00:00
simonb 7aa3dc6d45 Restore parentheses around return value that were removed with the
previous commit.
2003-06-29 14:09:21 +00:00
itojun 0778967b85 lwp change lossage 2003-06-29 12:36:35 +00:00