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
thorpej
601bcf9813
Add a couple NeoMagic products. From OpenBSD.
2000-11-04 16:41:57 +00:00
augustss
f3030960da
Add quirks for a Fuji camera.
2000-11-04 15:54:36 +00:00
thorpej
05d5f37522
Shadow the AC'97 codec registers. This adds two capabilities:
...
* support devices that crash when reading the codec registers; a flags
interface is added to the host interface and one flag is defined
(AC97_HOST_DONT_READ).
* new API (restore_ports) for restoring the user's settings. This
can be useful after an APM resume after a suspend to disk.
From OpenBSD.
2000-11-04 08:07:14 +00:00
thorpej
0bb6525f5b
Add some more codec IDs. From OpenBSD.
2000-11-04 05:45:57 +00:00
ad
96d994ecae
regen.
2000-11-03 16:31:51 +00:00
ad
10885fbd47
Oops
2000-11-03 16:31:01 +00:00
ad
62d4f894dc
Regen.
2000-11-03 15:57:33 +00:00
ad
3789452cb3
Pequr Technology is now called ServerWorks.
2000-11-03 15:54:02 +00:00
pk
8ba559d056
st_touch_tape(): Pass XS_CTL_SILENT to st_mode_select().
2000-11-03 12:08:41 +00:00
pk
4c7351ec7d
* st_touch_tape(): start probing at the block size from the sense data if
...
we have it.
* st_unmount(): reset density to the device default. This prevents using
stale density values after changing to a medium with different density.
Section 9.3.3 of the SCSI specs states that a device shall return the
density value specified in the last succesfull MODE SELECT after an
unload operation, in case it is not able to automatically determine
the density of the new medium.
2000-11-03 10:46:18 +00:00
pk
e3aaa6c1ab
* Per st(4), retrieving status and setting modes on the control device
...
should succeed even if no media is loaded.
* In stopen(), check the return value of st_mount_tape().
2000-11-03 10:22:02 +00:00
toddpw
d3ca42abf0
Add support for Socket Comm. PC Card Ethernet, and tidy up naming.
2000-11-03 09:07:24 +00:00
tsutsui
39355e9743
Make this compilie with LANCE_REVC_BUG.
2000-11-03 06:21:32 +00:00
tsutsui
d952450835
Wrap function declaration with "#ifndef sun3/#endif"
...
because sun3 does not have bus_space(9) support and
it have not switched to MI intersil7170 driver.
XXX We should split this into intersil7170{reg,var}.h ?
2000-11-03 05:23:07 +00:00
augustss
9702e75aa1
Sync with FreeBSD: Add a scanner. Fix a pasto.
2000-11-03 04:00:15 +00:00
bjh21
930c4cf062
First attempt at multicast stuff. I suspect it doesn't work.
...
Use ether_ioctl -- saves 300 bytes of text.
2000-11-03 00:25:36 +00:00
bjh21
42e564ed45
Remove unnecessary includes.
...
Add a compiled-in RCSID.
2000-11-02 21:56:46 +00:00
bjh21
13234acd0f
Convert to using ether_ioctl().
...
G/C huge swathes of unused code and outdated comments.
2000-11-02 21:42:41 +00:00
mhitch
f5f7066fc8
When a read DMA transfer is interrupted by a disconnect on the IOASIC SCSI
...
and the buffer is not 8-byte aligned, it leaves a partial transfer in the
SDRx registers. This could cause data corruption in dump(8) because the
read-ahead buffers are allocated on a non-aligned address. When the read
DMA transfer is interrupted and the current DMA position is not aligned,
call the dma_end() routine to flush the SDRx register contents to the
buffer.
2000-11-02 21:00:04 +00:00
thorpej
b2429742a5
Print out product info on attach.
2000-11-02 18:55:46 +00:00
pk
f71476a62f
Introduce ST_Q_ERASE_NOIMM, a quirk indicating that the device rejects
...
an ERASE command with the `Immed' bit on.
Use it on the VIPER 21247 & 21531.
2000-11-02 13:34:59 +00:00
pk
e4958f1fe6
Prevent printing sense information twice.
2000-11-02 13:12:58 +00:00
msaitoh
5bf3b4ba22
regen
2000-11-02 07:16:16 +00:00
msaitoh
24429db457
add support:
...
MELCO LPC2-TX
Telecom Device TCD-HPC100
MACNICA ME1-JEIDA
2000-11-02 07:15:43 +00:00
msaitoh
41cfcbebb0
Fix two bugs.
...
- Doesn't fail ne_pcmcia_attach() if ne_pcmcia_ax88190_set_iobase() failed.
- Check whether LIOBASE register is writable or not (dirty hack!).
Fix PR. 11285
2000-11-02 07:04:46 +00:00
pk
9c058471c3
Remove useless check for SDEV_MEDIA_LOADED from st_read_block_limits().
...
This command should work whether or not media is present in the device.
2000-11-02 00:56:59 +00:00
pk
3867a66a9a
* In st_touch_tape(), don't bail out if the MODE SELECT fails since we are,
...
after all, probing the device for acceptable parameters.
* In st_loadquirks(), copy mode-specific quirks from the quirk table
to `st_softc'; otherwise all such quirks save ST_Q_FORCE_BLKSIZE are ignored.
2000-11-02 00:52:15 +00:00
eeh
507aaec04c
Adapt to the new line discipline scheme.
2000-11-02 00:01:44 +00:00
eeh
9350b8913d
Adapt to new line discipline scheme.
2000-11-01 23:57:14 +00:00
eeh
2a860a3de9
Adapt to the new line discipline scheme.
2000-11-01 23:54:57 +00:00
eeh
55fd5a2fb0
Pass along the bus frequency too, for devices that need it.
2000-11-01 06:18:45 +00:00
eeh
34ed153955
Fix warning in a debug printf.
2000-11-01 06:17:32 +00:00