Commit Graph

10931 Commits

Author SHA1 Message Date
thorpej d3ee9bd16e Add the 3c515 for the "ep" driver. 2001-07-27 02:12:19 +00:00
wiz e11d04474c issueing -> issuing 2001-07-26 22:55:12 +00:00
wiz 7b3241693f aquired -> acquired, issueing -> issuing 2001-07-26 22:54:34 +00:00
bouyer 8e2205572d Better support for newer ALI M5229 chipsets: support Ultra/66 for rev >= 0xC2,
Ultra/100 for revs >= 0xC4.
The the generic PCIIDE interupt routine for chipsets rev >= 0xC2 in native
mode, it seems that newer chipsets don't have the ACER_CHIDS register :(
From Linux and FreeBSD.
2001-07-26 20:02:21 +00:00
jdolecek 528ab39cef make local variable 'len' in wi_set_nwkey() size_t (hence unsigned)
this one is merely cosmetic, no functional change
2001-07-26 19:46:01 +00:00
jdolecek b834e97632 make local variable 'len' in awi_wep_setnkey() size_t (hence unsigned)
this one is merely cosmetic, no functional change
2001-07-26 19:40:59 +00:00
tsutsui 5309850228 Fix timeout overflow caused by "scsictl format" on machines HZ==100. 2001-07-26 15:51:04 +00:00
ad 4950b7867f Map both memory and IO space, but prefer using memory space. 2001-07-26 15:35:20 +00:00
ad 3b6c996d19 - Stop the system drive status check when re-configuring in order to
avoid a issuing a possibly spurious warning.
- Squash some nits.
2001-07-26 12:38:03 +00:00
ad 7a92f3b65a Don't map I/O space if we have already have a good memory mapping. 2001-07-26 12:36:16 +00:00
thorpej 4a416b823f Fix 1000BASE-X duplex negotiation. That'll teach me to read the
manual more carefully next time.
2001-07-25 22:00:43 +00:00
thorpej 799abef5f4 Jumbo frames do not currently work (chip goes catatonic -- silicon bug?),
so don't set the capability.
2001-07-25 15:44:48 +00:00
kanaoka be5153a923 - Increase Early TX threshold if underrun occurred. 2001-07-25 09:57:31 +00:00
thorpej 1dfe605642 Match the Antares Gigabit Ethernet. 2001-07-25 01:48:14 +00:00
thorpej 560fc018c4 Regen; Added Antares Gigabit Ethernet. 2001-07-25 01:45:55 +00:00
thorpej 4ac142a1d3 Add the Antares Microsystems, Inc. vendor ID, and the product ID
for their Gigabit Ethernet board (a TC9021 board targeted at the
Sun market).
2001-07-25 01:44:59 +00:00
thorpej 6b0e779ce6 Remove a debugging #define. 2001-07-25 00:12:33 +00:00
thorpej 3939c2a6c7 Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.
2001-07-25 00:11:51 +00:00
ad b25d5c0666 Pasto; found by tls. 2001-07-24 21:55:35 +00:00
sato 2ddad1a12e add missing terminator of hpcbattery_parameters. 2001-07-24 09:23:30 +00:00
jdolecek 000f85917b Since ~all pckbc_poll_data1() callers had the appropriate pckbc
tag handy and we are going to need more of it in pckbc_poll_data1() soon,
change pckbc_poll_data1() to accept it as first arg. iot, ioh_d, ioh_c are
no longer passed separately. Use fabricated pckbc tag for calls from
arch/arc/jazz/pckbc_jazzio.c and dev/isa/pckbc_isa.c.
2001-07-23 21:03:19 +00:00
bouyer aa053c0bd1 Regen for TITAN PCI100H. 2001-07-23 20:14:36 +00:00
bouyer d2039a5f9b Add TITAN PCI100H. 2001-07-23 20:13:26 +00:00
thorpej bd35a1b7ed Make sure to initialize the all Rx descriptors properly in *_init()
even if mbufs for them are already allocated.
2001-07-23 17:26:50 +00:00
thorpej 536f4fded2 Adjust some reset delays. 2001-07-23 17:23:09 +00:00
thorpej 13dab3bfa7 Make sure to initialize the all Rx descriptors properly in *_init()
even if mbufs for them are already allocated.
2001-07-23 17:20:03 +00:00
thorpej a7dc1c1b01 Some whitespace cleanup. 2001-07-23 17:08:18 +00:00
tsutsui 2f456b8f00 Make sure to initialize the all Rx descriptors properly in sonic_init()
even if mbuf for them are already allocated.
This fixes "receive descriptor exhausted" errors.
2001-07-23 16:33:48 +00:00
nathanw 9f36932334 Add the constant for the IEEE 1284-mode protocol for the printer
class, as given in revision 1.1 of the USB printer class spec.
2001-07-23 15:17:50 +00:00
bouyer ecbce129cb Handle HPT-370A controllers, from skanto@sjk-software.fi (kern/13540) but
with some differences to the original patch: don't assume all controllers with
rev >= HPT370_REV are HPT370, and explicitely print if we have a chip with a
rev the driver does't know.
2001-07-23 14:55:26 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
takemura 64b6b76a21 You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
2001-07-22 09:56:39 +00:00
jdolecek f2b42af4c6 dev/isa/if_ate.c depends upon 'ate_isa', not just 'ate' 2001-07-21 16:08:17 +00:00
takemura 0f960df346 - delete sc->sc_screens[]
- BUGFIX: hpcfb_alloc_screen clears real frame buffer
 - Doesn't allocate any screen in attach routine
2001-07-21 14:49:58 +00:00
ichiro 3cd8eb40b0 support to change of CRTSCTS
change uplcom_reset parameter
2001-07-20 21:03:41 +00:00
thorpej bb93036fa9 Regen. 2001-07-20 07:07:28 +00:00
thorpej 959f6ee3f3 Adjust for the corrected Marvell entry. 2001-07-20 07:07:05 +00:00
thorpej 38f94a6fbe Bleh, I don't like the way our miidevs works now. Repair the
Marvell Semiconductor entry.
2001-07-20 07:06:42 +00:00
thorpej 7859dd206a The EEPROM registers/bits are different on the Corkscrew (3c515). Adjust
for this.
2001-07-20 05:44:48 +00:00
thorpej 9bf4afa0b6 Add the ISA Bridge ASIC registers found on the Corkscrew (3c515). 2001-07-20 05:43:11 +00:00
itojun 93a890b609 it seems that pp_{up,down} code does not really help, since (1) sppp_ioctl
calls lcp.{Up,Down} by itself, and (2) as lmc driver uses interrupt to
get the card initialization callback lcp calls from sppp_ioctl
does not really work.  for chdlc pp_{up,down} are not really necessary so
don't bother (#if 0'ed).
2001-07-19 19:15:13 +00:00
kleink d775ce82eb Hint BUS_DMA_READ and BUS_DMA_WRITE. 2001-07-19 17:47:18 +00:00
kleink 1bd93b6232 Hint BUS_DMA_READ and BUS_DMA_WRITE. 2001-07-19 17:19:40 +00:00
itojun b66f433b03 sync with latest Linux driver, avoid framing error on LMC1200 (T1/E1).
from hal@vailsys.com
2001-07-19 17:02:05 +00:00
thorpej 44e529fecc Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:36:14 +00:00
itojun e13c617dee do not call pp_{up,down} on cisco HDLC mode, it seems that
sys/net/if_spppsubr.c does not like it.
XXX api clarification needed...
2001-07-19 16:30:52 +00:00
thorpej 623f83a793 Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:25:23 +00:00
itojun 639dfc8d8f readability changes (s/0/LMC_LINK_DOWN/, whitespace) 2001-07-19 16:14:50 +00:00
wiz 1bc6d2cee9 Fix typo (`information' has an 'r'). 2001-07-19 16:13:00 +00:00
wiz 4124ef0b6c Fix comment (device has a 'c'). 2001-07-19 16:12:21 +00:00
itojun abd116eff5 - on IFF_UP change, inform sys/net/if_spppsubr.c of the change so that
we can run LCP and subsequent PPP negotiation.
- suppress too noisy printf() for about AIS event (if you remove the cable,
  it will bark forever).
- sppp_dequeue() can return NULL even when sppp_isempty() is false, so check
  it and do not deref NULL pointer.
- sppp_flush() on LMC interface shutdown.
- prepare to change BPF type on the fly (bpf_change_type).
2001-07-19 15:38:17 +00:00
sato 98f091d6b9 add hpcmips battery parameter tables. 2001-07-19 11:40:19 +00:00
sato 8e381812a7 battery parameter structures for hpc systems. 2001-07-19 11:39:24 +00:00
augustss fa4d95379a Prototype for aue_reset_pegasus_II(). 2001-07-19 09:40:40 +00:00
thorpej 600cfcb30a bcopy -> memcpy 2001-07-18 20:52:47 +00:00
thorpej 42a4d5b520 bcmp -> memcmp 2001-07-18 20:42:54 +00:00
thorpej ce623a36cc bzero -> memset 2001-07-18 20:39:53 +00:00
bouyer f2cacede49 Adn scsipi_target_detach() and scsipi_thread_call_callback() as discussed
on tech-kern. scsipi_target_detach() accept wildcard target/lun as requested.
2001-07-18 20:19:24 +00:00
thorpej aafd882086 bcmp -> memcmp 2001-07-18 18:27:08 +00:00
thorpej 38bdc75312 bcopy -> memcpy 2001-07-18 18:25:41 +00:00
thorpej 03746a443a bzero -> memset 2001-07-18 18:21:04 +00:00
thorpej cb6f78fe5d bcopy -> memcpy 2001-07-18 16:53:52 +00:00
thorpej c620771702 bzero -> memset 2001-07-18 16:51:39 +00:00
thorpej de6142b85a Slight tweak to previous; C requires a statement after a label. 2001-07-18 15:24:24 +00:00
onoe 2bc04d9140 revert 2 of 3 in previous commit.
empty default is needed to make gcc happy.
2001-07-18 10:39:28 +00:00
thorpej 228b23427f bcmp -> memcmp 2001-07-18 06:46:46 +00:00
thorpej cf56c44a86 bzero -> memset 2001-07-18 06:45:33 +00:00
onoe b7ff292c17 make it compilable:
fw_verbose, fw_dump -> fwdebug (DPRINTFN)
	add sc1394_ifsetiso into ieee1394_softc
2001-07-18 02:59:54 +00:00
onoe 69b6def907 Do not copy first keys into four key entries; the bug was introduced in 1.17 2001-07-18 02:06:44 +00:00
thorpej 17538b3790 Costmetic change. 2001-07-18 01:10:09 +00:00
mrg 5a49b0db15 remove empty default: cases. 2001-07-17 13:55:51 +00:00
mrg d23c8fc309 properly use ANSI string concatenation. 2001-07-17 13:55:12 +00:00
haya 8a1cc19a9f New Feature: Add isochronous stream input routine. This feature has
been tested on i386.  It does not have any interface for useland to
get isochoronous stream.  The isochoronous acquisition interface
should be determined.
2001-07-17 11:01:03 +00:00
toshii e267c67b60 "infomation" -> "information" 2001-07-17 01:37:43 +00:00
augustss cc0b3cc208 Add support for Pegasus II adapters (from Linux).
Add a bunch of adapters.
2001-07-16 18:33:13 +00:00
augustss 3daa873a7e Regen. 2001-07-16 18:31:19 +00:00
augustss fc8666f1da Some line permutations. 2001-07-16 18:31:00 +00:00
augustss 87791333ae Reorganize the table of adapters slightly. 2001-07-16 16:15:12 +00:00
oster 81f5c58b58 If we're closing the last partition on a RAID set and the system is
being shutdown, then unconfigure the RAID set too.  This fixes a number
of issues with doing proper unconfigures/shutdowns of multi-level RAID
sets.

Thanks to Jason Thorpe and Bill Squier for the ideas/suggestions on
how/where to do this, and to Bill Squier for testing.
2001-07-16 15:50:27 +00:00
augustss f82d5c6424 Regen. 2001-07-16 15:39:22 +00:00
augustss e71f79ca0b Add a bunch of ADMtek Ethernet adapters. 2001-07-16 15:38:48 +00:00
augustss 298ec741b8 Alphabetize. 2001-07-16 13:54:23 +00:00
augustss 5d1d09b8fb Alphabetize. 2001-07-16 13:49:20 +00:00
augustss bd538b438b Regen. 2001-07-16 05:04:51 +00:00
augustss f4d7e2e9d6 Add SOHOware NUB100. From OpenBSD. 2001-07-16 05:04:29 +00:00
elric 99e8b114e0 So, the PowerStorm 4d20 a.k.a. 32bit TGA2 w/ IBM RGB561 RAMDAC was causing
the kernel to panic since it is recognised as a TGA and the TGA driver
doesn't [yet] know what to do with it.

This patch fixes that by:
	o  making tgamatch() try to actually figure out what kind
	   of TGA card is there, rather than simply relying on the
	   vendor/product ids.
	o  creating a tga_cnmatch() so that the console code in
	   arch/alpha/pci/pci_machdep.c can cause the same to occur.
	o  breaking up some of tga_getdevconfig() into a few different
	   functions to re-use code that would have been duplicated.
	o  changed arch/alpha/pci/pci_machdep.c so that it calls out
	   to tga_cnmatch() if DEVICE_IS_TGA() matches before it decides
	   to attach the console as a TGA.

Addresses PR: port-alpha/12923
2001-07-16 00:55:16 +00:00
fredette 047e3dd5d8 When reporting an ICR value, use bitmask_snprintf to
give a human-readable description of the value.
2001-07-15 16:32:40 +00:00
bouyer c399f05222 scsipi_set_xfer_mode(): issue a ADAPTER_REQ_SET_XFER_MODE request to adapter
only if we succesfully attached at last one device for this I_T.
2001-07-13 20:00:23 +00:00
sato 9879757a53 disable framebuffer drawing while suspending. 2001-07-13 10:23:41 +00:00
onoe 993f9377b8 disable the function if attach fails. 2001-07-13 03:09:39 +00:00
thorpej 41a68e94a9 Driver for the Level One LXT-1000 10/100/1000 PHY. 2001-07-12 21:54:40 +00:00
thorpej be71426b74 Regen; Add LXT-1000, clean up. 2001-07-12 21:25:31 +00:00
thorpej 6e65eb3c21 Add LevelOne LXT-1000 10/100/1000 PHY, clean up some Gig-E
PHY names.
2001-07-12 21:25:07 +00:00
thorpej aef9e7bea3 Code to handle generic ten-bit interfaces (1000BASE-{LX,SX} fiber
interfaces).
2001-07-12 18:49:38 +00:00
thorpej 0e863b15a6 Driver for the Marvell 88E1000 ``Alaska'' 10/100/1000 PHY. 2001-07-12 17:30:45 +00:00
thorpej 39928114d6 Regen; corrected Marvell entries. 2001-07-12 17:29:49 +00:00
thorpej 511aa23898 Correct Marvell OUI, and 88E1000 model number. 2001-07-12 17:29:18 +00:00
scw 05be817d7b Call clmpcc_init() when setting up the console to get the chip into
a known state.

For some reason, "Bug" on mvme68k can't be relied upon to leave it
in a good enough state for our console routines...
2001-07-12 17:21:01 +00:00
augustss 981c2a6401 Rearrange register dump when the controller is dying. Fixes PR 13430. 2001-07-11 14:11:00 +00:00
mrg 0b1849a71a don't try to print pcitag_t values; these are opaque values that should not
be interpreted by MI code.
2001-07-11 08:36:46 +00:00
augustss eb7db20548 Don't reset twice. 2001-07-11 04:53:48 +00:00
augustss c0e4279dad Minor formatting fix. 2001-07-11 04:53:18 +00:00
augustss e352032894 Regen. 2001-07-11 03:38:04 +00:00
augustss 0f983514e6 Add a remote control from Keyspan. 2001-07-11 03:37:41 +00:00
ichiro efc5309185 add devices: ipaqbus,ipaqlcd,ipaqpcic
remove device: sagpcic
2001-07-10 18:20:06 +00:00
haya bed2ac704f Bug fix: call extent_subregion() with alignment = 1 instead of 0. 2001-07-10 10:33:55 +00:00
chs 864f123d5a add a missing newline in a printf. 2001-07-10 00:36:36 +00:00
itojun 3e747f67fa regen 2001-07-09 06:58:26 +00:00
itojun 2646db5158 add product code for 3Com 3CRWE62092A Wireless LAN
(what is the sorting rule for the file?)
2001-07-09 06:57:59 +00:00
ichiro 340a8b97ca Add hpcarm devices sagpcic 2001-07-09 03:51:59 +00:00
thorpej 3f6eb8677a When we initialize the ARC BIOS, fetch the system ID structure
fields into local copies, as well as the Identifier string from
the System component.
2001-07-08 23:57:09 +00:00
thorpej 9d1d1b8a89 Make the field names in the system ID structure match the spec. 2001-07-08 23:56:03 +00:00
thorpej d93e047b19 Add routines to walk the ARC BIOS component tree. 2001-07-08 22:57:10 +00:00
thorpej e379ce3db0 Initial pass a ARC BIOS code that can be shared between the sgimips
and arc ports.
2001-07-08 19:58:02 +00:00
wiz cc0b68092e Correct various misspellings of 'transfer' and inflected forms. 2001-07-08 18:06:42 +00:00
thorpej 3d98de578f Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
thorpej fa91d59528 Remove unnecessary include files, from Onno van der Linden. 2001-07-08 17:52:02 +00:00
thorpej bc5d06ea08 Some cosmetic shuffling. 2001-07-08 17:15:45 +00:00
thorpej 9de94b45cc Fix a very, very dumb mistake that broke multicast on the dp83815
and dp83820.
2001-07-08 16:56:50 +00:00
thorpej 62794086ea Change the structure of dp83815_set_filter ever so slightly. 2001-07-07 17:37:39 +00:00
thorpej c8b4ac1b17 bcopy -> memcpy
bzero -> memset
2001-07-07 17:04:01 +00:00
thorpej 4953d4e85f bzero -> memset 2001-07-07 16:51:47 +00:00
thorpej 6c248b757c bcmp -> memcmp 2001-07-07 16:50:41 +00:00
thorpej 3a235c46fa bcopy -> memcpy 2001-07-07 16:50:14 +00:00
thorpej 3ae6eaea7f bcopy -> memcpy, strcpy 2001-07-07 16:49:57 +00:00
thorpej 7e92a47db9 bcmp -> memcmp 2001-07-07 16:47:43 +00:00
thorpej 51e70f6731 bzero -> memset 2001-07-07 16:46:34 +00:00
thorpej 80f54c0005 bcopy -> memcpy, strcpy 2001-07-07 16:40:23 +00:00
thorpej 46909109f4 bcopy -> strcpy 2001-07-07 16:39:16 +00:00
thorpej 008dd21471 bcopy -> memcpy 2001-07-07 16:37:38 +00:00
thorpej dfd7f38a43 Remove config glue for the old `ncr' driver. 2001-07-07 16:34:33 +00:00
thorpej 444f8e5f30 Remove the old NCR 53c8xx driver. It no longer compiles (it was not
updated for the thorpej_scsipi branch), and has been replaced by Manuel's
MUCH BETTER `siop' driver.

The code can still be referenced by using cvsweb, checking out an
old revision, whatever.  But it's no longer useful to have it appear
in a checked out source tree.
2001-07-07 16:20:55 +00:00
thorpej 0884f20bf7 bzero -> memset 2001-07-07 16:13:44 +00:00
thorpej 7f597fba74 bcopy -> memcpy, strcpy, memmove 2001-07-07 16:00:09 +00:00
thorpej 150ca9d41a bcopy -> memcpy, strcpy 2001-07-07 15:59:37 +00:00
thorpej 06ff822b44 bcopy -> strcpy 2001-07-07 15:57:50 +00:00
thorpej 7a4838199c bcopy -> memcpy 2001-07-07 15:56:07 +00:00
thorpej 7711ad565b bcopy -> memcpy 2001-07-07 15:53:13 +00:00
tsutsui b485c6b542 Update for news68k clock attachment changes. 2001-07-07 15:49:05 +00:00
toshii 35836fce7a bcopy -> memcpy, bzero -> memset. 2001-07-07 09:19:39 +00:00
thorpej c2c26e1362 bcmp -> memcmp 2001-07-07 05:35:39 +00:00
thorpej 9ec2341af3 Add support for jumbo Ethernet frames on the DP83820. 2001-07-07 02:32:38 +00:00
mjacob 0134959e74 If I've told myself once, I've told myself 1000 times- *NEVER* commit
w/o test compiling first. Argh. I nuked one extra line that I shouldn't
have.
2001-07-07 01:44:21 +00:00
thorpej cf65d4738c Add a bunch of Vital Product Data definitions. 2001-07-06 20:20:55 +00:00
mcr ddb7c50037 added bridge secondary bus reset macros. 2001-07-06 18:07:16 +00:00
mcr aa7bfea672 split pccbb_intr_route() into seperate function. 2001-07-06 18:06:59 +00:00
mcr c34df0c33d cardbus attachment for PCI-PCI bridges 2001-07-06 18:05:59 +00:00
mcr 90e0ca31dd record handles for memory and io spaces 2001-07-06 18:05:25 +00:00
thorpej 2861457faf Fix a typo in htosonic32(), pointed out by soda@netbsd.org. 2001-07-06 16:20:07 +00:00
mjacob f0ba6b733c White space cleanup. Fix oopslet about having overlapping loop states.
Handle FW crashes as an isp_async call. Reclaim a missing logging level
bit.
2001-07-06 16:19:10 +00:00
mjacob 3628ea89ae Add some wads more definitions. Add macros for request/response queue
in/out pointer access.
2001-07-06 16:18:08 +00:00
mjacob 70d59a5876 Minor comment update. 2001-07-06 16:17:36 +00:00
mjacob 5089fba315 Defer turning off the no_mbox_ints flag until after the system is ready
for interrupts. Handle FW crashes in outer layer.
2001-07-06 16:17:17 +00:00
mjacob 092afb0ce9 More 2300 support: macroize access to request/response in/out pointers. 2001-07-06 16:16:11 +00:00
mjacob 9386c78f88 Some whitespace cleanup. Initial forcelout support.
Fix longstanding bug where we should have been checking
against Channel B's settings to see whether to apply tag
usage. Oops.

Some more 2300 support- macroize access to request queue in/out pointers.
Firmware crashes now handled in platform outer code via an isp_async call.

If we get a LIP, and we're on a private or public loop, kill off all
active commands as if they had been killed by a 'SCSI Bus Reset'. I've
seen data corruption on commands that complete 'normally' after a LIP.
Bad.
2001-07-06 16:15:38 +00:00
mjacob 48e09f672e twiddle isp_xflist calculation to match more closes isp_pci.c 2001-07-06 16:09:38 +00:00
thorpej 583274a82c For product names that include the media in the name, don't bother
saying "Gigabit".
2001-07-05 21:27:31 +00:00
thorpej fd1fd6bb0f If using the hardware cursor, make sure the cursor shape is initialized,
otherwise we won't be able to see anything if the system firmware has
either not initialized it, or initialized it to "invlisible".
2001-07-05 16:45:23 +00:00
thorpej 5c0f65ea82 Do a little manual CSE, taking unneeded comparisons out of loops,
and shrinking the object code somewhat.  On an R4400:

Before:
text    data    bss     dec     hex     filename
16248   16      0       16264   3f88    dp83932.o

Before:
text    data    bss     dec     hex     filename
14424   16      0       14440   3868    dp83932.o
2001-07-05 15:02:27 +00:00
thorpej b7ea2efc25 A new DP83932 ``SONIC'' driver, which uses bus_dma(9) and does I/O
directly to mbufs.  Handles both 32-bit and 16-bit, big- and little-
endian configurations of the chip (we could squeeze out some conditionals
yet, though).
2001-07-05 14:37:41 +00:00
toshii 4866f1a22b Fix typo. s/extention/extension/ 2001-07-05 08:38:24 +00:00
kanaoka 678e078f04 Add support for "Laneed LD-10/100CDA". 2001-07-05 08:03:45 +00:00
thorpej a1054ae7c6 D'oh, use the right bitbang ops for the DL10022, pointed out by
Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>.
2001-07-05 05:36:02 +00:00
thorpej a2985ca976 Fix variable names in the strict-alignment case. 2001-07-05 05:28:29 +00:00
thorpej d79f9adc90 Add another Lava serial board. 2001-07-04 22:39:11 +00:00
wiz e7313e53ae Fix typo in comment. 2001-07-04 20:34:03 +00:00
augustss 45ece248c0 Add an Abocom adapter. 2001-07-04 16:38:09 +00:00
augustss 17231dcaee Regen. 2001-07-04 16:37:47 +00:00
augustss d9fb01804c Add an Abocom adapter. 2001-07-04 16:37:26 +00:00
bjh21 1e0b1b7373 *sigh* and return 0 if we don't match the podule.
Need more coffee...
2001-07-04 16:36:52 +00:00
bjh21 bd4a0aae1b Remember to include <dev/podulebus/powerromreg.h>. 2001-07-04 16:35:20 +00:00
bouyer 1c51ff8336 Better fix for rev 1.94 (disable UDMA for SiS controllers with rev 0xd0):
Different chipsets have the same vendor/device/rev ID for the IDE controller,
but only one of them is buggy. So check dev/rev ID of the function 0
(pchb on the buggy one) of the same device to detect the buggy controller.
2001-07-04 16:26:17 +00:00
augustss 020d906c3a Null a pointer on error return. 2001-07-04 16:23:40 +00:00
bjh21 e02efcb8cc Add support for Oak and HCCS SCSI cards fitted with PowerROMs. Since this
depends on podloader support, it won't work on arm32 yet.
2001-07-04 15:01:08 +00:00
bjh21 fd74cdde9d Remove mistaken commit of "ethsc" reference. 2001-07-04 14:33:43 +00:00
ad 86e7fe72a4 Don't print the module description, since it doesn't mean much. 2001-07-04 14:17:58 +00:00
bjh21 3b7905c66f podulebus and podloader are now MI. 2001-07-04 13:58:45 +00:00
bjh21 b8a09ee766 Add dummy "podloader" functions on arm32, and move their declarations to the MI
header file.  This should allow MI drivers to use the podloader functions,
though obviously they'll have to be able to cope if podulebus_initloader()
fails.
2001-07-04 13:58:04 +00:00
bjh21 0be64cc691 Move "podulebus" and "podloader" declarations up into files.podulebus. 2001-07-04 13:49:24 +00:00
jdolecek 6d63e5d890 g/c WE_FLAGS_*, use DP8390_FORCE_{8|16}BIT_MODE instead WE_FLAGS_*
counterpart. Fixes kern/7295 by Martin Husemann.
2001-07-04 11:14:10 +00:00
uch fd2c055c01 add MEMORY_DISK_DYNAMIC option. if enable MEMORY_DISK_DYNAMIC, file
system image's address and size are setted by md_root_setconf().
2001-07-02 17:17:23 +00:00
onoe ff12a4271a performance improvement in fwohci_pkt_get() for asynchronous read. 2001-07-02 11:12:09 +00:00
onoe a924a0db99 set/reset low level receive handler according to IFF_UP flag of network
interface.
2001-07-02 10:46:03 +00:00
onoe 3a2ef358d9 fix typo: CLear -> Clear 2001-07-02 02:36:48 +00:00
onoe 7605dd5368 FW_DEBUG only: move descriptor dump from DPRINTFN(1) to DPRINTFN(2).
fix indent in packet dump.
2001-07-02 02:26:40 +00:00
thorpej e00f3a5560 Remove unneeded include files. From Onno van der Linden. 2001-07-01 16:35:36 +00:00
uwe 87345845e1 Make mhzc_alloc_ethernet search the right address range.
Fixes: kern/11451.
Reviewed by: thorpej
2001-07-01 02:16:25 +00:00
gmcgarry 52f5073f28 Jumbo patch:
- data alignment fix
- kludge around broken multicast by using promisc mode
  (IPv6 router solicitation now works)
- add support as random source
- support device power-up and power-down
- vlan support
- misc. comment and style fixes
2001-07-01 01:57:29 +00:00
gmcgarry a48df4b355 Garbage-collect unneeded rnd.h include. 2001-07-01 01:50:05 +00:00
thorpej 4f9dcdfb8a Split the receive interrupt handler into two versions, one for the
SiS900/DP83815, one for the DP83820.  In preparation for changes
to the DP83820 version for handling jumbo Ethernet frames.
2001-06-30 22:35:05 +00:00
tron 29dc8fc7e3 Install "dev/tc/sfbreg.h" which is required for building the Alpha X11
server.
2001-06-30 21:16:52 +00:00
bjh21 8d829065a6 IFM_1000_TX -> IFM_1000_T, as (breifly) discussed on tech-net. 2001-06-30 17:53:58 +00:00
thorpej 4e30120ef0 Sync the Tx descriptors pre- and post- on the Tigon 2. 2001-06-30 17:02:54 +00:00
thorpej f1ea6f5be0 When we're done setting up the General Information Block, sync it.
Sync the NIC-maintained stats structure as appropriate, as well.
2001-06-30 16:34:59 +00:00
thorpej c05a96f530 Add macros to sync the various bits of the DMA'd control data. 2001-06-30 15:57:58 +00:00
thorpej d2a3ac835c Use macros (like those in every other network driver I have written)
to compute the offset of a structure in the DMA'd control data, and
the DMA address of that structure.
2001-06-30 15:39:51 +00:00
thorpej 83b199c106 Split the tx-end-of-frame routine into Tigon 1 and Tigon 2 verions,
for the same reason we split the tx encap routine.
2001-06-30 14:56:59 +00:00
thorpej ee9c81dd38 Split the transmit encap routine into two versions: one for the Tigon 1
and another for the Tigon 2.  This eliminates a conditional in the
loop around the DMA segments, and will make further cleanup easier.
2001-06-30 14:47:23 +00:00
thorpej 291a21d3fb Move the `ti_tx_ring_nic' pointer out of the ring-data structure
and into the softc.  Garbage-collect the `ti_cmd_ring' pointer,
since bus_space is properly used to access the command ring.
2001-06-30 14:16:55 +00:00
thorpej 6237e487ab When a transmit is complete, sync (and unload!!) the DMA map used
for the packet.  When setting up a packet for transmit, sync the
DMA map being used.
2001-06-30 05:48:24 +00:00