Commit Graph

9240 Commits

Author SHA1 Message Date
thorpej 8c28f8f467 Add Aironet ISAPnP device ID. 2000-12-17 20:16:03 +00:00
bouyer 179157be03 Fix a reversed test.
Partial fix for kern/11726: now the kernel find the drives, but panics
after a device has been mounted.
2000-12-17 19:35:23 +00:00
ad b5aee7bd4c Thinko. 2000-12-17 14:46:43 +00:00
ad 3b02b279aa Regen. 2000-12-17 13:56:19 +00:00
ad d092cb0d0a Sync with PixelStamp drivers. 2000-12-17 13:56:05 +00:00
ad 553c5108d4 Add wscons drivers for the DEC PixelStamp graphics accelerators. 2000-12-17 13:52:03 +00:00
jmc 2967c3fac3 In fdcattach() reset the controller before moving on as some probes (ala pnpbios) may not have reset during match 2000-12-17 07:37:31 +00:00
eeh 519aef8cf4 Make sure bits in the flags are disjoint. 2000-12-17 06:18:21 +00:00
briggs d25ab824c8 Back out previous change. It appears to be in error. There is something
else that is causing the esp driver on the mac68k to fail miserably.
2000-12-17 04:38:29 +00:00
briggs 0debc0e91e At least the 53c96 does not work with the selatn3 command. Disable it
for both the 53c94 and 53c96.  This also addresses PR port-mac68k/11716.
2000-12-17 03:29:03 +00:00
augustss d1c538bc2f Don't repeat 'host controller halted' message. From OpenBSD. 2000-12-16 16:09:24 +00:00
oster b36a1a085e For the RF_ASSERT() and RF_PANIC() macros, call a function to do the
sprintf, instead of doing the sprintf in the macros.  This means just
1 copy of each of the error messages, chopping about about 16K off the
size of an i386 kernel.  Thanks to Simon Burge and Enami Tsugutomo
for providing the inspiration to do this.
2000-12-15 02:12:58 +00:00
lukem 146ab1ba9b s/pio/PIO/ and s/lba/LBA/ in messages output to users 2000-12-14 23:56:18 +00:00
thorpej 8489b5e4cf if_qflush() -> IFQ_PURGE() 2000-12-14 17:48:23 +00:00
thorpej 71cbcad899 ALTQ'ify. 2000-12-14 07:51:36 +00:00
thorpej b0c9cd5f7b ALTQ'ify. 2000-12-14 07:27:21 +00:00
thorpej a64a0f8137 ALTQ'ify. 2000-12-14 07:15:45 +00:00
thorpej 64778c5e5c XXX ALTQ (not done in 1394 layer yet). 2000-12-14 07:03:50 +00:00
thorpej 08afcfb9bd ALTQ'ify. 2000-12-14 06:59:01 +00:00
thorpej 1646284c95 ALTQ'ify. 2000-12-14 06:42:57 +00:00
thorpej 6b16911a43 ALTQ'ify. 2000-12-14 06:27:23 +00:00
onoe a7125e435c Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...
2000-12-14 04:11:25 +00:00
onoe 3bfa857782 regen 2000-12-14 04:06:05 +00:00
onoe 32b5d5c3bb add Aironet 4500/4800 2000-12-14 04:05:38 +00:00
onoe d5dd5139a3 Support 80211NWKEY and 80211POWER ioctl. 2000-12-13 20:21:10 +00:00
enami b31ace33b7 Add RCS Id. 2000-12-13 11:30:14 +00:00
mycroft 69d3816bec Make this compile again. *sigh* 2000-12-13 07:35:49 +00:00
augustss 34bb7b9a35 Don't try to access a device that is being disconnected when generating
the detach event.  Fixes (I hope) PR 11713 from itohy@netbsd.org (ITOH Yasufumi).
2000-12-13 04:05:14 +00:00
augustss eb210eda08 Make the ohci driver not hang suspend/resume. It still doesn't resume
correctly.  From itohy@netbsd.org (ITOH Yasufumi) PR kern/11714.
2000-12-13 03:09:06 +00:00
augustss 4df48420a1 Another Ethernet device. From nagae@tk.airnet.ne.jp in PR kern/11711. 2000-12-13 02:49:22 +00:00
augustss 9214be27c3 Regen. 2000-12-13 02:48:25 +00:00
augustss 9e199a03e6 Add another Melco LUA-TX device. 2000-12-13 02:47:26 +00:00
thorpej c5293456da Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.
2000-12-12 18:00:22 +00:00
thorpej d197326e7a Add a missing return after freeing an mbuf. From Dave Huang <khym@bga.com>. 2000-12-12 17:25:34 +00:00
onoe aa513e6338 add support(?) for PC4500 which is a 2Mbps product.
Though ifconfig -m no longer show 5Mbps/11Mbps for PC4500 by this fix,
I cannot find how to set fixed transmit speed to the firmware.
FreeBSD version of driver apparently ignore the value set by ancontrol(8).
2000-12-12 05:34:02 +00:00
onoe 99675e3dde cleanup headers: remove duplicate definition, split reg.h/var.h. 2000-12-12 05:11:15 +00:00
thorpej c0bcfa5994 Support SIOC{G,S}80211POWER. 2000-12-12 04:04:29 +00:00
thorpej 41d6a62c1c s/Ethernet/802.11/ when printing the address. 2000-12-12 01:32:34 +00:00
onoe c63194c7af To fix panic at "ifconfig an0 down",
define ANCACHE in if_an_pcmcia.c (XXX)
try not to access registers after interface down.
2000-12-11 23:58:55 +00:00
onoe 9c25e9208a Port 'an' driver for Aironet PC4500/PC4800 IEEE802.11 card from FreeBSD.
This is very adhoc work for IETF meeting.
- Since it seems that 'an' and 'wi' have similar hardware, low level
  functions should be shared.
- There are PCI/ISA cards of Aironet but not supported yet.
- The wiconfig interface is changed so that wiconfig cannot be used.
- 'ancontrol' of FreeBSD is not ported.
- Only infrastructure mode is tested.
- WEP is not supported.

Though I only have an Aironet card, Cisco card should be expected to work.
2000-12-11 23:16:50 +00:00
thorpej 17bf4cff64 Add support for 802.11 authentication frames, required to interoperate
with Aviator Pro cards on Windows.  Written by Steve Weiss for OpenBSD,
ported to NetBSD by me.
2000-12-11 17:53:19 +00:00
ws 8132c2a6aa Fix the previous differently:
The intent was to protect the full range of ports on the board by the
barriers.  But the start address was wrong.  Fix it.

While here, change two other barriers to also protect the full range
(not only the nic ports), and add yet another similar barrier.
2000-12-11 17:07:38 +00:00
ad 2940363203 Report soft-errors-per-unit once per minute at most. 2000-12-11 13:19:50 +00:00
augustss 6e11678a15 Get rid of UQ_ASSUME_CM_OVER_DATA quirk; it's handled differently now. 2000-12-11 05:41:00 +00:00
eeh af770220fa Fix for chips that don't grok NCRCMD_SELATN3. 2000-12-10 19:25:07 +00:00
jdolecek 48f421c3fa do not try to get/set sample rate on codecs which don't support variable
rate audio - always report/use fixed rate of 44100 for them, so that the
other audio code DTRT
2000-12-10 15:43:02 +00:00
castor dac94f4d7b Make sc->wi_txbuf an array of u_int16_t instead u_int8_t so alignment
is handled correctly.  Thanks to Martin Husemann for nagging me to
do the right thing.
2000-12-09 22:59:44 +00:00
matt 632d2ad2ee Don't use __hpcmips__, but hpcmips 2000-12-09 20:35:31 +00:00
mjacob af2807f9f7 Finally fix this driver to be sensible about the ENDIAN dance. It's not
quite simply a question of the Qlogic being little endian and having
to have stuff swapped on big endian machines- it also has to do with the
fact that the SBus and PCI DMA layouts are wierd with respect to this.

At any rate, now finally fixed- works on Mac G4, tested it on a SS10
for sparc, checked on alpha to see if I've broken anything, and as
soon as I get another spare afternoon I'll finally install a sparc64
version which should just work (as it'll be like the Mac).
2000-12-09 08:06:31 +00:00
imp c6e883d603 Change $Id: to $NetBSD$ 2000-12-09 06:54:27 +00:00
tsutsui fd97da6384 Add (missed) bus_dmemem_free() in rtk_detach(). 2000-12-09 02:02:20 +00:00
mycroft 1ac1248e45 Turn off the damned TI `VCC protection' bit. 2000-12-08 21:51:02 +00:00
drochner aa2b1723f5 regen 2000-12-08 18:38:15 +00:00
drochner 917a1a2bfe add IBM microdrive 2000-12-08 18:37:24 +00:00
martin d9d7c42e0c Remove esp specific function from ddb when esp @ sbus is not included
in the kernel config. Makes compiling sbus-less kernels possible again.
2000-12-08 17:29:12 +00:00
haya 2b0374c5d9 WORKAROUND: CardBus bridge avoids turning off the power of channel in
shutdown hook when the bridge chip is TI113X.  Because PowerBook 2400
hangs here.
2000-12-08 10:24:14 +00:00
itojun 0db3a835e2 regen 2000-12-08 08:13:45 +00:00
itojun 313bdadaa7 add STSN internet access device (no driver yet) 2000-12-08 08:13:34 +00:00
augustss e5de940d42 Add a DIAGNOSTIC message. 2000-12-08 02:33:44 +00:00
augustss a48cc8927a Don't access (in core) disk label of a removable disk that is not there. 2000-12-08 02:30:51 +00:00
augustss 330a5e12fa Don't call ether_ifdetach since we're not an ether driver. 2000-12-08 02:24:07 +00:00
augustss dfd78cfc78 Set the debug level to 0. 2000-12-08 01:53:44 +00:00
abs 25808cb569 Wrap call to mpu_intr in NMPU - nowbuildswithout 'mpu at fms' in config 2000-12-07 14:12:30 +00:00
augustss 28ca8986f0 Regen. 2000-12-07 01:02:42 +00:00
augustss 2532d95d53 Add an Atmel hub and a Logitech mouse. 2000-12-07 01:02:12 +00:00
jdolecek 80a6068f99 add I/O Data USB-ET/T (which uses KL5KUSB101B) to the list
Patch sent in kern/11635 by ORI Manabu
2000-12-06 21:44:08 +00:00
jdolecek 08ab4a9ad7 regen 2000-12-06 21:39:28 +00:00
jdolecek c3dbd34e68 add I/O Data USB-ET/T id, sent in kern/11635 by ORI Manabu 2000-12-06 21:38:03 +00:00
matt 3f127261f3 Un __P'ed. 2000-12-06 18:57:37 +00:00
mjacob 3741d38c44 Correct omission by the previous committer. 2000-12-06 06:33:56 +00:00
drochner 0d60fd2773 regen 2000-12-05 18:11:02 +00:00
drochner ae62042f01 add some chips I met in the last weeks 2000-12-05 18:10:19 +00:00
drochner 2d8bb6f643 add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(
2000-12-05 17:53:46 +00:00
augustss f680fa762c Make sure to increment reference count while the (lengthy) opening
operation is happening so we don't lose on disconnect.
2000-12-05 14:01:33 +00:00
tsutsui e8bfefe60c - Since rtk_rxeof() was rewritten, we don't have to reserve a few bytes
before the Rx buffer.
- Reduce delay on EEPROM access.
- Some more cosmetics.
2000-12-05 11:11:49 +00:00
augustss d801d9ec2b Regen. 2000-12-05 03:12:47 +00:00
augustss d604cf563b Add another Epson printer. 2000-12-05 03:12:11 +00:00
oster 7a8eea351b Fix a couple of warnings about uninitialized variables. Thanks go to
Frank van der Linden for pointing these out.
2000-12-05 01:35:56 +00:00
fvdl 56fd0b02d5 Avoid format warnings. 2000-12-04 20:25:40 +00:00
fvdl 245940b894 Clean up warnings in 32bit compile (bus_space_handle_t is 64bit wide
but will only contain 32bit values; casting via u_long is safe)
2000-12-04 20:17:10 +00:00
fvdl e58fff48bf Avoid compile warning on sparc64 32bit. sc_buffer doesn't seem to be
used at all, this line can probably be removed.
2000-12-04 20:12:55 +00:00
ad 7433fb33e8 In wsdisplay_switchtoconsole(), ensure that the switch happens
synchronously. Suggested by drochner.
2000-12-04 13:22:17 +00:00
fvdl b6d9ce390e Comment out 2 cases of unitialized variable use (only used when
debugging is switched on, though).
2000-12-04 11:35:46 +00:00
fvdl d26269e0a6 'error' was not initialized in the _ioctl function, potentially returning
!= 0 values in the non-error case.
2000-12-04 11:18:49 +00:00
fvdl 0888965bb7 Remove uninitialized variable usage (it was redundant anyway). 2000-12-04 11:05:32 +00:00
augustss 0a739c7166 A portability define. 2000-12-04 03:38:56 +00:00
augustss f4d0a8c54a Regen. 2000-12-04 03:37:07 +00:00
augustss e2925e0555 Add YAP Phone. 2000-12-04 03:36:42 +00:00
eeh 2a50931a1c Turn on TAG QUEUE support and add some debug stuff. 2000-12-03 23:31:13 +00:00
eeh 03e0f9950a Fix bug in non-dma select code i added. 2000-12-03 23:25:24 +00:00
jlam 9cfd45593f Set range of memory protected by read/write bus space barriers to the
correct size, instead of extending past the mapped region.
2000-12-03 23:15:23 +00:00
ad e931ce9485 Oops. 2000-12-03 15:51:53 +00:00
ad 433cc4cf9e Nit. 2000-12-03 15:51:36 +00:00
tsutsui 311a1a842c Clean up receive interrupt routine:
- Use MGETHDR + MCLGET + memcpy rathar than m_devget + m_adj + m_copyback.
- Call bus_dmamap_sync(9) correctly for Rx buffer.

Mostly from thorpej's if_rtp.c.
2000-12-03 14:24:17 +00:00
ad 3bcc9b9f3a Fix a comment. 2000-12-03 13:34:37 +00:00
ad 9ecde86321 I2O HBAs provide an abstracted view of the bus; use SCBUSIOLLSCAN to give
them an oppertunity to re-scan it before we do.
2000-12-03 13:30:36 +00:00
ad af9d4c4fa4 - Only configure un-claimed devices. Implement re-configuration.
- Adhere to the spec better in some places. Also, work around some quirks
  noted in the Linux I2O code.
- Register event handlers for the executive and RBS devices.
- Fix a number of buglets and tidy a little.
- Implement a message pass-through interface and some other useful ioctls.
2000-12-03 13:17:03 +00:00
ad 1e6732dca4 - Force the memory mapping uncacheable.
- We don't need a record of the I/O space mapping.
2000-12-03 13:05:14 +00:00
ad a5248b66cf Make it possible to detach ld devices. 2000-12-03 13:03:30 +00:00
ragge 8dcc655ab0 Remove lkc, add lkkbd/lkms. 2000-12-02 17:19:27 +00:00
ragge 47dabcfc3f Support files to use wskbd/wsmouse on VAXen with DZ-like chips.
From Matthew Fredette (fredette@MIT.EDU).
2000-12-02 17:03:55 +00:00
ragge 23eb2da75d Accept the "Utför" key as a giant ctrl-alt key. On LK201 "Ctrl" and
"Compose" cannot be pressed at the same time.
2000-12-02 16:57:41 +00:00
fvdl 2b69243845 Add AHC_NO_TAGS option to switch off tagged queueing. Done because
tagged queueing has a severe performance impact (60%) on write
throughput with UBC. Needs investigation.
2000-12-02 14:53:01 +00:00
augustss a51ea43fd6 Make this compile again (on i386). 2000-12-01 04:37:54 +00:00
pk d736ce5086 We don't need <sys/proc.h>, <sys/user.h> and <machine/cpu.h>. 2000-11-30 23:21:39 +00:00
pk 55fa60c3e5 De-__P(). 2000-11-30 23:12:43 +00:00
pk 58b6f2ef7d KNF patrol && De-__P(). 2000-11-30 23:06:44 +00:00
pk 03903e1da8 KNF patrol. 2000-11-30 23:01:03 +00:00
thorpej ec15125b5b Don't restrict I/O space to 16-bits on the Promise Ultra/33 boards.
Empirical evidence suggests that the board works just fine with
an I/O address >= 0x10000.
2000-11-30 18:11:40 +00:00
tsutsui 786dc5161c Clarify RX status header length and some cosmetics. 2000-11-30 15:51:57 +00:00
tsutsui fd4d074b27 After rev 1.16 rtk driver uses the CRC from the chip,
so no need to adjust Rx address for it. Fixes kern/11301.
2000-11-30 15:33:04 +00:00
thorpej 64222ad03a Fix some printf formats, and remove SPARC-specific debugging stuff. 2000-11-30 14:41:46 +00:00
pk 7006bcd449 Fix two cases of reversed arguments to printf(); 2000-11-30 09:58:03 +00:00
enami 99a39489d8 Pass the right size of object (in this case, a trailer) to fwohci_buf_pktget.
Since the fp_trail is a pointer to trailer, we have to pass sizeof(*fp_trail)
instead of sizeof(fp_trail).
2000-11-30 06:59:08 +00:00
enami a89beb967d Make this file compiles on alpha even if FW_DEBUG is defined. 2000-11-30 06:42:26 +00:00
enami 4792308b32 Pass the right max segment size to bus_dmamap_create. 2000-11-30 06:36:43 +00:00
eeh 9e7aa98aa6 Add TAG QUEUE support to the ncr53c9x driver. 2000-11-30 00:19:25 +00:00
thorpej 14f5ab8928 ANSI'ify. 2000-11-29 18:22:17 +00:00
wiz 972c941cf6 Fix typo in comment reported by Tetsuya Isaki in kern/11587. 2000-11-29 12:49:56 +00:00
matt 435b4c7b35 Fix c896 support. If the first mem bar is 64bit, then the second one will
be too.  And offset for the 2nd being after the 1st by a 64-bit bar, not
32-bit.
2000-11-29 02:00:38 +00:00
thorpej 454f740bd4 Use AC97_REG_* constants rather than defining them ourselves. 2000-11-28 16:57:16 +00:00
thorpej 997701c6c1 Define additional AC'97 registers. 2000-11-28 16:54:17 +00:00
haya 92f11ef3d3 BUG FIX: change enable sequence for 16-bit pcmcia cards. This change
provides better (not perfect) reset sequence.  The most significant
change is asserting output enable reg before power up.  Stop routing
interrupt during reset.
2000-11-28 09:11:36 +00:00
thorpej 443bd6369f Device driver for the built-in audio on Intel ICH, ICH0, ICH2,
and i440MX chipsets.  Based on a driver by Michael Shalayeff,
modified somewhat by me to use bus_dma properly, and fix some
audio encoding emulation bugs.

Thanks to Manuel Bouyer for testing and feedback.
2000-11-28 05:12:29 +00:00
matt 1aa6c9fb10 Add prep support. change all __foo__ to foo. We don't __foo__ in the kernel 2000-11-27 21:51:02 +00:00
haya 02aaf95f67 BUG FIX: pccbb turns off PC Cards' power on the bus in shutdown hook.
Some machines cannot reboot without this fix.
2000-11-27 09:04:32 +00:00
chs aeda8d3b77 Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00
thorpej 25491e6a22 Power management (well, suspend/resume) is now implemented. Remove
it from the TODO list.
2000-11-27 02:37:14 +00:00
sommerfeld 248928c7cf Add a powerhook to reload AC97 registers after a resume.
Sound now works after suspend/resume on my Sony PCG-Z505S
2000-11-27 01:56:53 +00:00
augustss 7ec52ba411 Improve a debug message. 2000-11-26 21:05:02 +00:00
augustss 88bf6139e5 Regen. 2000-11-26 21:04:43 +00:00
augustss 63dfc5b570 Add an Intel camera (rfom OpenBSD). 2000-11-26 21:04:20 +00:00
ad 04a83acaf7 lsu -> ld 2000-11-26 19:24:24 +00:00
ad 57ea462da2 lsu -> ld, by popular request. 2000-11-26 17:44:02 +00:00
ad ee170a5528 Avoid a possible stall. 2000-11-26 16:16:04 +00:00
takemura 3c9d9276dc Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
simonb d76cf8b502 Add multiple include detection - all userland installed headers are now
safe.
2000-11-26 06:03:24 +00:00
christos 12269bd46c Don't try to use ultra-dma on sis chips with revision 0xd0. It loses
immediately with a lost interrupt on udma mode 2, downgrades to mode 1
at which point it silently corrupts data on high disk activity. This
happens on two out of 3 machines I own that exhibit high disk activity.
2000-11-26 04:59:18 +00:00
nisimura 2e93099aff Replace sfb_copycols() which can run better job in some degree.
It still fails on certain conditions, thus is left commented out.
copycols() is done by a generic routine which works correctly.
2000-11-25 11:43:42 +00:00
tsutsui 1e1862bc57 Add another font from 4.4BSD-Lite2/luna68k. 2000-11-24 15:47:15 +00:00
nisimura b974ee7790 Add TC option card descriptions, which are commented out before NetBSD/pmax
yields local implementations to them.
2000-11-24 05:02:26 +00:00
chs fa19fe52db adjust the spinlock macros in the non-MULTIPROCESSOR, non-LOCKDEBUG case
so that gcc will think that static spinlock are used.
this allows us to remove the ugly conditionalization of
static spinlock declarations.
2000-11-24 03:59:07 +00:00
chs f6b62f776c avoid division and remainder operations for devices where
the sector size is DEV_BSIZE (ie. practically everything).
2000-11-24 00:17:35 +00:00
nisimura 0661e6718b - fix an error in uninitialized variable reference.
- add a missing function argument declaration.
- minor comment adjustments.
2000-11-22 06:59:08 +00:00
soren efadefb53f In uhci_intr(), only warn about power state confusion if the
interrupt was actually for us.
2000-11-22 05:50:59 +00:00
soren a622a1b6d2 Remove obsolete comment. 2000-11-22 00:32:24 +00:00
tsutsui 690b28f91e Add a couple of fonts used on Sony NEWS.
Generated from (recently removed) sys/arch/newsmips/dev/fnt{,24}.c.
2000-11-21 11:44:45 +00:00
nisimura ce10334de9 Fix errors in color lookup table initialization. Glyph is rendered
in visible color now.
2000-11-21 07:42:02 +00:00
soren 290a66c213 Reduce probe noise. 2000-11-21 05:23:37 +00:00
soren 1a5d87c9fa Regen. 2000-11-21 00:25:43 +00:00
soren 219abdb871 Typo. 2000-11-21 00:25:35 +00:00
soren 6faa85c6d3 Note 3Com card support. 2000-11-21 00:25:20 +00:00
soren 6f8985cf15 Regen. 2000-11-21 00:25:04 +00:00
soren 7736bcc821 Add Prolific printer adapter. 2000-11-21 00:24:12 +00:00
soren e38c89a886 s/iRDA/IrDA/ 2000-11-21 00:20:30 +00:00
jdolecek 1964a728da add moxa 2000-11-20 19:27:16 +00:00
jdolecek c27af44fc0 Add an attachment for MOXA 168P isa multiport card. This code was
written by Christoph Badura.
This was reported to work by user of this code. It's not tested
by me, but it's probably more useful in tree anyway.
2000-11-20 19:24:39 +00:00
onoe 2819c7b688 Use DMA from mbuf instead of copy in transmit.
Still use memcpy in receiving because we must use buffer fill mode
	and many packets may share single receive buffer.

XXX: Workaround(?) for CXD3222: it fails to DMA for selfid packet according
to code placement. I'm not sure about the reason (cache? timing? bug?).

Fixed the bug: transmitter sometimes stop and OACTIVE bit of if_fw
never be cleared.
Fixed the bug: freeing free buffer.

Enable ieee1394_drain and ieee1394_watchdog for loss of fragment.
2000-11-20 12:12:18 +00:00
chs c62d17a551 rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00
onoe 4e1e677996 regen.
CXD32222 -> CXD3222 (Sony OHCI Controller)
2000-11-20 06:23:13 +00:00
onoe e51b1f604e CXD32222 -> CXD3222 (Sony OHCI Controller) 2000-11-20 06:22:13 +00:00
bouyer d81861796a Add support for Intel ICH2 2000-11-19 15:32:24 +00:00
sommerfeld acc196c4a9 Initialize ring buffer pointers when the ring buffer is allocated.
(comsoft() can be invoked before comopen() on serial consoles; a character
received before the console is opened "for real" can result in a fatal trap
unless the ring buffer pointers are initialized early)
2000-11-18 15:46:23 +00:00
thorpej 0aea00f57c Regen. 2000-11-18 05:29:27 +00:00
thorpej cec0022eeb Add some 3D Labs products, from XFree86, via groo@netbsd.org 2000-11-18 05:29:00 +00:00
bouyer 1e533cd38c Pull up FreeBSD changes:
1.39:
Have if_ti stop "hiding" the softc pointer in the buffer region. Rather,
use the available void * passed to the free routine and pass the softc
pointer through there.
1.33:
Add support for the Netgear GA620T copper gigabit card.
1.32:
Tweak probe message so that 1000baseSX and 1000baseT cards are
explicitly identified.
1.31:
Update the Tigon driver to support 1000baseTX gigE over copper AceNIC
cards. This basically involves switching to the 12.4.13 firmware, plus
a couple of minor tweaks to the driver.

NetBSD changes:
get rid of ti_inuse, the mbuf ref counting code should call ti_free() when
needed.
Use hardware 802.1q support.
2000-11-17 19:33:25 +00:00
bouyer 54e36dbaa6 Update to firmware 12.4.13+wpaul, from FreeBSD 2000-11-17 19:23:35 +00:00
bouyer 42681a6a9f Supports ETHERCAP_VLAN_MTU. Tested on sbus hme on Ultra/1.
Thanks to Andrei Petrov for the hint !
2000-11-17 19:08:00 +00:00
jdolecek 4046a1bd78 if AC97_CODEC_DOES_VRA is not supported, only print warning than
hw Variable Rate Audio is not supported and continue attaching the driver.
This is I believe more correct than what was done in rev 1.5
2000-11-15 21:06:33 +00:00
augustss ef36370776 Regen. 2000-11-15 14:36:50 +00:00
augustss d57ee8b358 Add Sony memory stick. 2000-11-15 14:36:09 +00:00
pk 503701f0d3 OF_nextprop: make OUT argument type `void *' 2000-11-15 14:27:26 +00:00
thorpej b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
matt c0122f4013 Add fwlynx PCI attachment 2000-11-14 23:40:44 +00:00
matt ffd7494144 Add openfirm 2000-11-14 23:37:58 +00:00
matt 617742b256 Add a fwlynx device. Move the file for fwohci to files.ieee1394 2000-11-14 23:37:20 +00:00
matt 1936d0565a some cleanup. Add back OFIOCGETOPTNODE. 2000-11-14 21:10:05 +00:00
matt a790bc7690 Add OFIOCGETOPTNODE (now that I know how to implement it). 2000-11-14 21:07:26 +00:00
itojun 99fac6ed3e need uvm/uvm_extern.h for PAGE_SIZE 2000-11-14 19:44:34 +00:00
thorpej cfe0892ed3 NBPG -> PAGE_SIZE 2000-11-14 18:42:55 +00:00
thorpej 60f33f91c2 Pull in <uvm/uvm_extern.h> 2000-11-14 18:35:10 +00:00
thorpej 275539f03c NBPG -> PAGE_SIZE 2000-11-14 18:21:00 +00:00
bouyer 34a57dc139 Regen. 2000-11-14 16:20:55 +00:00
bouyer 41e8f20175 Add Alteon and netgear 1000baseT variants of the gigabit ethernet adapter.
From FreeBSD
2000-11-14 16:20:20 +00:00
augustss 1ae6bcbbf0 Acerscan 320U doesn't do strings right. From FreeBSD. 2000-11-14 15:33:04 +00:00
augustss ab324086df Set the open flag when opening the scanner. 2000-11-14 13:57:16 +00:00
onoe f1c77e81db Add support for link fragmentation and reassemble for IEEE-1394.
XXX: drain is still not yet implemented, thus memory leak will occur
    in case of any of fragment lost.
2000-11-14 11:14:55 +00:00
pk fbf62501af Mark the "TOSHIBA, XM-4101TASUNSLCD" CD-R for a-sync operation only. 2000-11-14 08:52:35 +00:00
matt 7d085e8e51 Add openfirmio which is an ioctl interface to OpenFirmware. 2000-11-14 06:45:54 +00:00
matt 3b275bc230 Add OF_nextprop and OF_setprop prototypes. 2000-11-14 06:44:12 +00:00
matt 1365092255 de __P'd. 2000-11-14 06:42:27 +00:00
pk 4c54ce2034 Define ncr53c9x_ioctl() and use it to start sync negotiation. 2000-11-13 15:24:22 +00:00
bouyer 089961e7c5 - use jumbo rx if mtu is too big to fit in one mbuf, not when larger than
ETHERMTU.
- add support for ETHERCAP_VLAN_MTU.
2000-11-12 18:32:43 +00:00
pk ad9bda9339 Change `nvram size' data type to `bus_size_t'. 2000-11-11 11:59:42 +00:00
pk 035ceca5b2 Add note about time-of-day and interval timer programming on this chip
are combined into the same (write-only!) control register.
2000-11-11 11:18:07 +00:00
pk 526def8fd1 Add a function to retrieve the size of the on-chip NVRAM area. 2000-11-11 11:03:31 +00:00
augustss 6836c0bd28 Update frlengths after a isoc transfer.
Suggested by Yuri <yuri@tsoft.com>
2000-11-10 14:11:49 +00:00
augustss 1bfab105b0 Don't try to set CM_OVER_DATA feature if features cannot be set.
From Ryutaroh MATSUMOTO <ryutaroh@ss.titech.ac.jp> in PR # 11428.
2000-11-10 14:08:32 +00:00
augustss 0510b1739c Update documentation link. From OpenBSD. 2000-11-10 13:53:23 +00:00
augustss 9a10107274 Some OpenBSD defines. From aaron@monkey.org 2000-11-10 13:52:28 +00:00
enami da071ce468 Remove lonely splx in fw_detach. 2000-11-10 03:45:09 +00:00
hubertf a7398324e3 Regen for ELSA WaveLan IDs 2000-11-10 01:03:29 +00:00
hubertf e00d559554 Add ELSA WaveLAN card & a noname clone(?) 2000-11-10 01:02:32 +00:00
ad c8c52e320a Match controllers hiding behind a Symbios 53c1510; thanks to Jonathan Lemon
<jlemon@flugsvamp.com> for providing clarification.
2000-11-09 18:19:40 +00:00
itojun 611c77c7df unused variable 2000-11-09 17:20:24 +00:00
ad 01dc7ef4f3 TODO 2000-11-09 15:04:55 +00:00
ad 0129c52c7d - A few minor changes (typos and the like).
- Use SPLs in iop_msg_send() and not the interrupt mask - it accesses
  shared resources lower down.
2000-11-09 12:51:36 +00:00
ad 9a41c41bed Install only headers that are useful to userspace (ioctl interface is not
finished, but will be here soon).
2000-11-09 12:34:05 +00:00
eeh 71b0c155a0 Support for MI console magic framework. 2000-11-08 23:41:42 +00:00
eeh faa5920bd2 Use the MI console magic sequence framework. 2000-11-08 23:13:03 +00:00
ad 45b672fb47 Add iop, iopsp. 2000-11-08 19:56:20 +00:00
ad 5854b30016 Add glue for iop. 2000-11-08 19:46:27 +00:00
ad 3785a081f1 Recurse into i2o/. 2000-11-08 19:45:49 +00:00
ad d49fd13524 Add support for I2O adapters and SCSI/FC-AL/BSA class devices. This needs
more testing with different configurations, and work in a number of areas
(which I'm not able to do for a little while), but is at least functional
and stable on i386 with DPT adapters.
2000-11-08 19:45:30 +00:00
matt 918971bc20 Initial import of some of the definitions for the Serial Bus Protocol V2.
Which is used for SCSI over IEEE1394.
2000-11-08 19:27:08 +00:00
ad 891c4efd74 - Pull in some updates from FreeBSD - mainly clarifications. Thanks to
Mike Smith <msmith@freebsd.org> for pointing these out.
- Ensure that we get AENs: reserve one CCB/command block for parameter
  retrieval, and chain AEN retrievals that are the result of an interrupt.
2000-11-08 19:23:50 +00:00
ad 142ab5b1ec Move lsu stuff to more logical locations, and push queueing into the lsu
driver.
2000-11-08 19:20:33 +00:00
matt d0c3ebd9d8 Make the test for dmareg >= 0x10000 quirked on IDE_16BIT_IOSPACE 2000-11-08 18:22:27 +00:00
wrstuden 88cbfbe36d Move guts of pciide_print_modes() to wdc_print_modes() so that non-pciide
wdc drivers (like macppc's obio IDE interface) can use it. Also add
support to both wd attach line and to wdc_print_modes() to print
Ultra/{33,66,100} for respective UDMA modes (From Manuel Bouyer).
2000-11-08 17:57:36 +00:00
thorpej d764c4d540 One more fix to multicast hash computation. Submitter confirms that
with this fix, multicast does indeed work properly on the EPIC.

From Zdenek Salvet <salvet@ics.muni.cz>.
2000-11-08 15:20:29 +00:00
onoe 5b19fc8512 Add powerhook and shutdownhook to support Notebook.
Use PAGE_SIZE instead of OHCI_PAGE_SIZE for each DMA mem.
	OHCI_PAGE_SIZE(2kB) will be round up PAGE_SIZE, anyway.
	XXX: need more sophisticated way to manage buffer.
Clear IntEvent first not to lose SelfIDCompleted in multiple bus reset.
Be careful not to clear BusReset int event in SelfID duration to follow
the OHCI spec.
Initiate BusReset if selfid is not completed within 3sec after busreset.
2000-11-08 06:00:18 +00:00
matt d522d7acc9 Add fwlynx & fwnode. 2000-11-07 18:45:46 +00:00
tsutsui b666be4488 Add more names:
MI:       hifn, intersil7170, neo, siop_common, sysmon_envsys, sysmon_wdog
i386:     mca
newsmips: dmac, spifi, xafb
2000-11-07 15:33:53 +00:00
soren 232e2c5ef9 Regen. 2000-11-07 13:53:59 +00:00
soren 0dc9fd53b9 Just print 'Intel' for their other OUI. 2000-11-07 13:53:42 +00:00
augustss 5a356af882 Regen. 2000-11-06 22:32:49 +00:00
augustss 75367f830a Add some OUIs and models. From OpenBSD. 2000-11-06 22:32:26 +00:00
onoe 5d7a16ff8c make it compilable with FW_DEBUG 2000-11-05 23:04:00 +00:00
chs b6b3ee8657 remove what looks to be a bit of leftover debug code. 2000-11-05 23:00:10 +00:00
chs 1c76b8d14d fix types in debug code. 2000-11-05 22:59:27 +00:00
matt f0bd09f42d Merge in my some of my stuff. 2000-11-05 22:35:56 +00:00
matt 43ff857e29 Don't allow use of mapreg is they are at or above 0x10000 in I/O space. (in
other words, if the address uses bits in the top 16 bits, don't use it).
2000-11-05 21:14:59 +00:00
mhitch d458239a94 When doing the cacheflush for MIPS1, adjust the length to account for
an unaligned buffer.  The last word of the buffer was not getting flushed
if the buffer was unaligned and fit in a single DMA segment.  Now dump(8)
works on both MIPS1 and MIPS3 DECstations.
2000-11-05 21:02:13 +00:00
jdolecek 0f1770e08d make compilable without FW_DEBUG 2000-11-05 19:43:32 +00:00
onoe e83458422f First Prototype implementation of network interface part for IEEE1394 (if_fw).
Current status:
	Only OHCI chip is supported (fwohci).
	ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
	sometimes works but not stable.
Not implemented yet:
	IRM (Isochronous Resource Manager) functionality.
	Link layer fragmentation.
	Topology map.
More to do:
	clean ups
	MCAP
	charactor device part
	dhcp

There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.
2000-11-05 17:17:12 +00:00
thorpej 1363813e0d Two things off the TODO list. 2000-11-05 16:44:08 +00:00
thorpej cde4f7415c Add mmap support (i386-specific for the moment). 2000-11-05 16:24:45 +00:00
thorpej 5a8a59d459 Weed out the Dell and HP versions which are known to work in
WSS emulation mode (i.e. won't work in AC'97 mode).
2000-11-05 16:13:17 +00:00
thorpej 70b3814a53 Add NeoMagic 256 audio. 2000-11-05 06:46:03 +00:00
thorpej f945fc008d Driver for NeoMagic 256 audio. Based on the OpenBSD driver, which is
in turn based on the FreeBSD driver, ported to NetBSD and somewhat
modified by me.  Thanks to Matt Thomas for testing.
2000-11-05 06:43:45 +00:00
thorpej aac73109ae Feh, fix st00p1d braino in last. 2000-11-05 05:41:25 +00:00
thorpej fce3c3a6a8 pcweasel carries the sysmon_wdog attribute. 2000-11-05 04:07:30 +00:00
thorpej 8e0eb1dc12 viaenv carries the sysmon_envsys attribute. 2000-11-05 04:06:53 +00:00
thorpej e67f5e66bc Split the envsys and watchdog parts of sysmon into their own
files.
2000-11-05 04:06:13 +00:00
scw 3b5fce6c46 Invert the sense of i82586_init()'s return value so that
it matches what ether_ioctl() expects.
2000-11-04 19:48:38 +00:00
thorpej 95b9ab0ebc Add a device driver for the Middle Digital, Inc. PC-Weasel serial
console board.  This glues into the `pcdisplay' driver and provides
support for the watchdog timer function on the PC-Weasel.
2000-11-04 18:47:20 +00:00
thorpej 7575e3d5e9 Update comment regarding watchdog timer toggle. 2000-11-04 18:44:28 +00:00
thorpej c48d521bdb Add a watchog timer framework to the system monitor. 2000-11-04 18:37:19 +00:00
veego 232ac6b3d1 Print the vendor and chip id in the DPRINTF with 0x%x and not just %d. 2000-11-04 18:28:19 +00:00
thorpej f3c38af11b Regen. 2000-11-04 16:43:14 +00:00