Commit Graph

9506 Commits

Author SHA1 Message Date
thorpej b79ddef845 Also ignore receiver errors if VLAN_MTU is enabled; the 21040 appears
to require this.
2001-01-07 23:29:12 +00:00
martin 6b82e7fe42 64bit police.
Rumors say there are archs without ISA busses, so avoid including
(uneccesarily) isa bus headers in MI files.
XXX this is the minimal solution, layer interface calls will have
XXX to be revisited later
2001-01-07 21:47:24 +00:00
sommerfeld 4522010c18 Make certain we see COM_MPLOCK, MULTIPROCESSOR, and LOCKDEBUG
to avoid any confusion about whether or not we have a lock in the softc.
2001-01-07 18:09:26 +00:00
fvdl e2d1c1f926 Adapt all disk devices in MI directories to handle ODIOC* calls
for ports that have bumped MAXPARTITIONS (and thus define
__HAVE_OLD_DISKLABEL).
2001-01-07 18:09:01 +00:00
augustss 6861904096 Regen. 2001-01-07 15:01:06 +00:00
augustss 55c57a573f Add an Altima PHY. 2001-01-07 15:00:46 +00:00
augustss e90b26477e Regen. 2001-01-07 14:47:00 +00:00
augustss 6d5a1918f8 Add Epson 1640 scanner. (From FreeBSD) 2001-01-07 14:46:31 +00:00
augustss 5b6d98341e Try both the old (wrong) and new SOFT_RESET request type. 2001-01-07 14:26:19 +00:00
martin 218d552c4c Note ISDN devices. 2001-01-07 13:10:54 +00:00
mrg c5802f9f90 avoid unused variables if not RASTERCONSOLE 2001-01-07 05:41:50 +00:00
nathanw 46b2a2fcd4 Do ess_config_addr() in the ofisa front end, rather than in the match
routine. Prevents problems with non-SCR ess chips, as described in
PR 11630.
2001-01-06 22:50:00 +00:00
nathanw a30debae05 Add description of the pinout of a standard DB-25 parallel port,
relative to the bits described here.
2001-01-06 17:16:19 +00:00
takemura 1c518d67a0 Add WDC_CAPABILITY_SINGLE_DRIVE to ignore secound drive. Wdc on pcmcia will
be attached with this flag.
Some CF Card (for ex. IBM MicroDrive and SanDisk) doesn't seem to implement
drive select command. In this case, you can't eliminate ghost drive properly.
So you should use this flag to ignore the ghost by force.
2001-01-06 14:55:49 +00:00
augustss 94094c44ab Change debugging output a little.
Don't the for the wrong id when UMASS_DEBUG is set.
2001-01-06 12:14:39 +00:00
augustss f6f8ab2d11 Don't #define UAUDIO_DEBUG here. 2001-01-06 12:12:24 +00:00
martin 4c176b9806 Disable the daic directory for now, it breaks with OBJDIR builds.
This needs more thought.
2001-01-05 23:17:48 +00:00
christos 6d92451397 don't keep adding targets, but include bsd.kinc.mk... This time make obj borke. 2001-01-05 20:18:10 +00:00
martin 34875ea7b1 Now let it survive "make install" too. 2001-01-05 19:56:55 +00:00
martin 651aeb5899 don't let "make all" fail 2001-01-05 19:01:02 +00:00
bouyer 69153b6b36 Run at Ultra/66 on VIA controllers that can do it. PCI vendor/device/revision
is the same for the Ultra/33 and Ultra/66 version, so test writability of
the U66 enable bit (idea from Chris Cappuccio).
Thanks to David Carrel for testings.
2001-01-05 18:04:42 +00:00
bouyer cbf42ca2d1 Ops, make it compile again. 2001-01-05 15:34:05 +00:00
bouyer 5c800a0dab Add support for Ultra/100 on intel ICH2; from Tomokazu HARADA in kern/11747. 2001-01-05 15:29:39 +00:00
bouyer 2a63f0a46c Add support for Ultra/100 on the HPT370
XXX the datasheet for the HPT370 is wrong
While I'm there clear the DRIVE_DMA flag when we're going to use Ultra/DMA
where it was missed, so that wdc_print_modes() only prints what's used.
2001-01-05 15:20:53 +00:00
martin 242656c78a Enable the imported ISDN4BSD based ISDN subsystem.
This is the kernel part (userland to follow soon) of the latest (and
very probably last) release (version 0.96) of ISDN4BSD. ISDN4BSD has a
homepage at http://www.freebsd-support.de/i4b/.

It gives the user various ways to use the isdn connection: raw data (via
the i4brbch "raw b-channel" device), ppp (via the isp "isdn PPP" device),
voice/answering machine (the i4btel "telephone" device) and ip over isdn
(the ipr device, "IP over raw ISDN").

Supported are a bunch of common and older cards, more to be added soon
after some cleanup. Currently only the european E-DSS1 variant of the
ISDN D channel protocol is supported.
2001-01-05 13:09:15 +00:00
martin c3cb638bca Initial import of ISDN4BSD release 0.96 2001-01-05 12:49:52 +00:00
mjacob 6cb4620b76 (some of these changes were made in the previous revision- oops)
Say which mailbox command times out (polled or interrupting). Also,
give them a bit more time to timeout (5 seconds instead of 2).
2001-01-05 07:03:54 +00:00
mjacob 9d7f6e219f Ian McDonnell <apriori@world.std.com> made me see the error of my ways.
*Cough*. Ahem. I hadn't been setting error to XS_SENSE when there was
a check condition. Major blunder.
2001-01-05 07:02:00 +00:00
augustss 49f333783f Don't make local defines for stuff that's already in ac97reg.h. 2001-01-05 03:33:39 +00:00
augustss 5f3c3e0d6f Add definitions for some bits in ID and STATUS regs. 2001-01-05 03:32:46 +00:00
augustss cc9f003455 Add some codecs. 2001-01-05 03:32:11 +00:00
bouyer 4dc117d433 Ops, add COM_FREQ to a few PUC_PORT_TYPE_COM I missed.
Thanks to Bernd Ernesti for pointing this out.
2001-01-04 11:34:27 +00:00
veego 3e63d458f0 Use COM_FREQ for COM part of the last commited entry.
Why are there other drivers here which have PUC_PORT_TYPE_COM but don't
use COM_FREQ or even don't have the extra field?
2001-01-04 08:49:31 +00:00
veego 17718db1b9 Add support for boards with an Oxford Semiconductor chip.
This one was an I/O Flex PCI I/O Card Model-223 with 4 serial and
1 parallel ports.
XXX We need to move the PCI IDs to pcidevs.
2001-01-04 08:43:21 +00:00
mycroft f73703a4a6 Set the play and record parameters separately.
If the device is unidirectional, just ignore parameters in the other direction.
(XXX We need a better way of dealing with this.)
Only set curaltidx if we're setting usemode.
This makes both the Altec Lansing speaker set and the Telex bidirectional frob
work again.
2001-01-04 07:05:00 +00:00
mycroft c142ce184b Several things:
* Only match an alternate which is in the same direction.
* Use 16-bit ulaw and alaw conversions for output, if possible.
* Store the interface handle in the `alternate' table, so we use the right
  interface when creating pipes for devices with both play and record.
Record doesn't seem to actually return any data from the Telex frob, but at
least it doesn't crash or return EIO now.

XXXXXXXX
This is a big f*cking hack.  Play and record need to be separated completely
if this code is ever going to even pretend to support full duplex.
2001-01-04 06:20:49 +00:00
mycroft 6ff81e44ec No really, this is half-duplex for now. Lame. 2001-01-04 05:25:24 +00:00
mycroft ab1d9b87b0 Make some vague attempt to handle devices that do both input and output. This
probably needs more work, but at least my Telex frob can play music now.
Also, AUDIO_DEBUG -> UAUDIO_DEBUG.
2001-01-04 03:53:09 +00:00
enami 25481ad786 Redo previous; we need to notify kbd driver. 2001-01-04 01:33:37 +00:00
mycroft 29ecdf4b0c Regen. 2001-01-03 23:15:14 +00:00
mycroft cbfa3ad17d Add Chrysalis-ITS LunaVPN card. 2001-01-03 23:14:39 +00:00
enami 62a4aefda9 Avoid null pointer dereference so that boot -d works again. 2001-01-03 23:03:45 +00:00
enami 7eab063a4f Use device_lookup. 2001-01-03 23:00:24 +00:00
ad a06fc2bf4b Fix thinko in previous. 2001-01-03 21:17:05 +00:00
ad 5fcbd5f722 - Fix a number of bugs with the configuration stuff.
- Bash the passthrough interface into working order.
- Add an ioctl to retrieve the `tidmap'.
2001-01-03 21:04:01 +00:00
ad 8494f44b67 Make dumps work, and put the first part of detach into ld.c. 2001-01-03 21:01:28 +00:00
bouyer 286f4f934f Add a 'flag' member to struct puc_attach_args and struct port. For
PUC_PORT_TYPE_COM, use it to store the clock frequency (with 8 lower bits
to 0, used for real flags if needed).
Update all descriptions to set flags to 0 for LPT or COM_FREQ for COM.
Add support for the VScom PCI-800H 8 port serial adapter (which uses
a 14.7456 Mhz crystal instead of the standart 1.8432Mhz :)
XXX now that we can pass other frequency than COM_FREQ, the VScom PCI-800
entry could probably be updated to DTRT - does anyone have one ?
2001-01-03 15:13:15 +00:00
augustss c2b9d052ba Cosmetics. 2001-01-02 23:08:54 +00:00
augustss 3ea054452a Add placeholder for firmware. 2001-01-02 22:38:51 +00:00
augustss 0e9ef4adc0 Forgotten commit for EZ-USB loader. 2001-01-02 22:24:00 +00:00
augustss 32e4d7004e Add a transient driver for the YAP phone that downloads firmware into
the EZ-USB chip.  After downloading the firmware the device detaches
and then reattaches as a composite device (audio + HID).

XXX For now there is no firmware committed since the vendor (Silicon
XXX Portals) has not yet agreed that we can redistribute their firmware.
2001-01-02 18:52:44 +00:00
augustss 5b86e8bfa8 Add subroutines to download firmware into Cypress (formerly Anchor)
EZ-USB chips.
2001-01-02 18:49:56 +00:00
augustss f586756bcf Regen. 2001-01-02 09:53:16 +00:00
augustss d3fd188459 Add a new TI hub chip. 2001-01-02 09:52:55 +00:00
mrg d9a9b8d6d5 the tcds cards work in pmaxen. move tcds attachment to files.tc. leave asc
at tcds in files.alpha for now, and add a new `xasc at tcds' to files.pmax.
after pmax has moved fully to MI scsi (and `asc' is MI scsi), we should move
the device asc, etc., lines to files.tc.
2001-01-01 23:43:05 +00:00
ad c29358e0f9 Don't try to configure `uninteresting' devices. 2001-01-01 19:03:30 +00:00
augustss 8afb11bb20 Don't match on a bunch of scanners that should be handled by a
different driver.
2001-01-01 18:52:05 +00:00
augustss 47c95db1c3 Regen. 2001-01-01 18:51:08 +00:00
augustss f33102e85d Add another scanner. 2001-01-01 18:50:42 +00:00
augustss 5806434428 Call vdevgone() with correct minor range. 2001-01-01 18:34:12 +00:00
augustss 2f1e60b46c Support device detach.
Don't call scanjet_attach() for all HP scanners.
Also, ANSIfy while I'm here.
2001-01-01 18:28:49 +00:00
ad 2f5cf27275 PR 6402: some SCSI devices use \377 as blank, so adjust scsipi_strvis(). 2000-12-31 17:54:29 +00:00
augustss 9a52f80f0f Make the controller survive suspend/resume. Thanks to Steve Woodford
<steve@mctavish.co.uk> for testing.
2000-12-31 14:29:54 +00:00
ad 196d40d973 Regen. 2000-12-31 14:04:26 +00:00
ad fb04e415dd Fix Mylex products. 2000-12-31 14:03:24 +00:00
ragge 9bbf84e4ca Changes for dzkbd/dzms. This is not yet finished, but at least the
kernel is useable.
2000-12-30 22:11:46 +00:00
mjacob 462ff196a4 [ dummy checkin to add to previous CVS ]
It's probably not really a compiler bug- somebody pointed out
that it was the kernel making strings readonly. But I do think it's
a bug. The actual code was really more like:

	char *revname;

	...

	revname = "2X00";

	...
	revname[1] = '2'; <<<<<<<<< BOOOM


The variable revname is not a const. If I had said

	const char *revname = "2X00"
	...
	revname[1] = '2';

that would indeed be breaking const rules.
2000-12-30 19:47:20 +00:00
mjacob 8adadc9bda There's a compiler bug for sparc64 that makes the construct:
char *foo = "XXXX";
	...
	foo[1] = 'Y';

blow up (in the kernel) with the 2nd assignment. Work around it here-
it's probably just as well- I was spending more in cpu instructions doing
the assignment than I was saving in string space (it would have been
cheap on a pdp11 or a 68k- but the address loads and assignments on something
like sparc or alpha way outweigh the savings in space. Tsk.).
2000-12-30 19:30:09 +00:00
wiz 1a40e855c8 Undo pci_intr_map change in non-NetBSD part of the file. 2000-12-30 17:02:53 +00:00
wiz 1796fa4bd8 Fix pasto in comment. 2000-12-30 16:55:24 +00:00
wiz 2ad3fd958d Merge 2.18 to trunk. 2000-12-30 16:52:36 +00:00
mjacob c6b9ad5aeb Use bootverbose to now set whether or not we add
ISP_LOGCONFIG and ISP_LOGINFO messages into the
default logging mask.
2000-12-30 08:49:11 +00:00
castor 02d83a4c77 Fix PR port-hpcmips/11477 "only hpcmips panics with wireless network cards"
Adjust the payload of receive mbufs so the data following the
ethernet header is aligned.
2000-12-30 07:57:52 +00:00
sato a2fe1adf2a for calling sc->sc_acessops->pollc,
use wsdisplay_cd.cd_devs[unit] in accessing wsdisplay_softc
instead of casting pointer.
XXX: i compiled it in i386, hpcmips, alpha.
2000-12-30 05:38:50 +00:00
eeh 804add680f Regen. 2000-12-30 04:39:03 +00:00
eeh 6cfa6f67c1 Fix typo. 2000-12-30 04:38:02 +00:00
eeh 44f785d4cd Add Sun psycho bus controller. 2000-12-30 04:34:51 +00:00
mjacob e5482757b5 Fix at least alpha kernel builds. You can't pun a pointer to a dev_t on
alpha. This is also a bad idea. I really don't know the ws code at all
or I would just fix the whole issue.
2000-12-30 02:58:42 +00:00
sato 9785bf0526 notify console polling mode or not to lower level framebuffer driver.
notify EMUL mode or not to lower level framebuffer driver.
these may use framebuffer level hardware acceleration/software optimization.
2000-12-30 01:41:51 +00:00
augustss 2c65dfb9b5 Be less talkative in attach. 2000-12-30 00:37:24 +00:00
tsutsui b1cf284bd6 s/AP0_UDMA_MASK/APO_UDMA_MASK/ 2000-12-29 18:59:01 +00:00
eeh 60edf7be2c Add a bus type for psycho controllers. 2000-12-29 17:15:04 +00:00
augustss 271adbd54e Try to get rounding right when setting mixer values. 2000-12-29 14:49:28 +00:00
augustss 560f4a2254 Set the mixer delta field. 2000-12-29 13:28:41 +00:00
augustss b85fdbbc47 Add a field in mixer_devinfo_t that indicates the minimum delta to
change mixer value.  A value of 0 indicates that the driver doesn't
supply a delta.
The change is backwards compatible.
2000-12-29 10:00:08 +00:00
augustss 34ee8a0f06 Supply our own report descriptor (from Nick Hibma) for the Wacom Graphire.
The descriptor it reports is broken.
XXX Not tested, because I don't have the device.
2000-12-29 01:47:49 +00:00
augustss 79f0bd6e1f Update many URLs. 2000-12-29 01:24:55 +00:00
augustss e9853f047a Update location of specs. 2000-12-29 01:14:15 +00:00
sommerfeld 851de295eb Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
mjacob d4c32f2a63 Apply nearly all of Bill Sommerfeld's -Wformat patches. The one
change I didn't take is the %llu format- I can't have a common
across multiple platform module assume a %ll argument capability-
which really pointed out that I shouldn't be trying to *print*
something which could long long.
2000-12-28 22:27:46 +00:00
mjacob 3823efc25a Apply Bill Sommerfeld's -Wformat changes. 2000-12-28 22:23:41 +00:00
mjacob 0dae1b3d9a Turn ISP_LOCK/ISP_UNLOCK into ISP_ILOCK/ISP_IUNLOCK macros for routines
that are driven from a timeout (oops, they're on the interrupt stack).
2000-12-28 21:37:04 +00:00
augustss 20d1ae1adb Add two more quirks:
UQ_AU_NO_FRAC for audio devices that cannot handle adjustment for fractional
    sample size.
  UQ_AU_INP_ASYNC for input devices that claim to be adaptive, but are in fact
    asynchronous (an easy mistake to make unless you read the specs carefully :)
2000-12-28 11:56:22 +00:00
augustss 1e0da50daa Regen. 2000-12-28 11:53:25 +00:00
augustss bdcc0b7ad1 Add device no for YAP phone with firmware loaded. 2000-12-28 11:53:01 +00:00
augustss 4dbac77503 #define for USB_2_0 2000-12-28 10:40:36 +00:00
mjacob 8493d154d1 roll to 2.01.26 f/w 2000-12-28 08:30:40 +00:00
mjacob d81d268d13 Use the ISP_CFG_NOINIT flag to decide whether to complete the full init
process steps (this is used in some platforms where you want to bring
the adapter to ready (to get a WWN, e.g.) , but not engage either target
or initiator mode until some later time). Set the correct defaults WWNs.
2000-12-28 08:26:12 +00:00
mjacob a5498e1514 add an ISP_CFG_NOINIT flag 2000-12-28 08:24:17 +00:00
mjacob b551237fb6 add two minor ATIO2 offsets 2000-12-28 08:23:48 +00:00
mjacob 829a533bfb Restore the change fvdl made. Sorry about not noticing it. The
header (about 'Maintainer') is supposed to help encourage folks
to coordinate with me.
2000-12-28 08:11:52 +00:00
augustss 5236b76556 Make message about ignored endpoint a little clearer. 2000-12-28 01:01:42 +00:00
augustss d2098567fe Add audio terminal types. 2000-12-28 00:29:58 +00:00
tsutsui 59fcebab05 Regen. (Fix Acard UDMA IDE) 2000-12-27 15:36:42 +00:00
tsutsui 72347b9f8b Fix entries of Acard UDMA IDE controllers. 2000-12-27 15:32:33 +00:00
sato 4e15bd1d3a add Novac PCMCIA-IDE Card(Card for HD530P PCMCIA-IDE Box).
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'PnPIDE'.
2000-12-27 10:41:00 +00:00
augustss bd1b9290e5 Regen. 2000-12-27 04:16:19 +00:00
augustss 96a684549d Add a VIA chipset and Nvidia GeForce2 MX. 2000-12-27 04:15:53 +00:00
mycroft a6fe4b78f2 Um, we need rnd.h so that cs_softc is defined properly. Overrunning structures
is bad.
NOTE: #IFDEF IN SOFTC DEFINITIONS IS BAD.
2000-12-26 09:42:21 +00:00
jmc 5b7fb2728a Back out changes from 1.124 since the additions of *ports.master=-1 wasn't
documented as to why it was added in and it breaks the ability to set the
gain on playback. A longer term fix to set these correctly should be done but
none of the drivers today are doing this and not being able to set the playback
volume otherwise is a bit silly.
2000-12-25 00:01:39 +00:00
augustss 19c0d40186 Even stubs need improvements. 2000-12-24 06:42:34 +00:00
augustss 63fbac9a7d Add some placeholders for the EHCI (USB 2) driver.
Don't get your hopes up.  I've not even finished reading the
(100+) page spec, and I have no hardware.
2000-12-24 06:39:01 +00:00
bjh21 a48c9194bb Print the newline after the memory test. This makes it clear that the delay's
related to this driver rather than the next device to be attached.
2000-12-23 16:37:20 +00:00
bjh21 690a8dbae1 fix typo: sigmips -> sgimips 2000-12-23 13:41:33 +00:00
bjh21 d925692c76 Add arm26 fpu. 2000-12-23 13:40:21 +00:00
tsutsui aa223e5bce Regen. (Adding Acard UDMA IDE controllers) 2000-12-23 10:13:20 +00:00
tsutsui cf4a7f824c Add Acard UDMA IDE controllers. 2000-12-23 10:11:55 +00:00
wiz c8b0b91e7e Fix pathnames in comment. 2000-12-23 01:37:57 +00:00
ad 024d36d353 - Fix bugs, make this useful.
- Add ioctls to start and stop the co-processor (if present).
2000-12-22 13:30:32 +00:00
onoe 2079f9d276 improve an_cmd() slightly:
- strip unnecessary loop to get command result status
- ack command after clearing busy bit

XXX: it still sometimes get timeout to get status(0xff50) or statistics(0xff68)
     probably due to heavy load of firmware in receiving.
2000-12-21 15:37:18 +00:00
onoe 4ee7a7cdcd use pcmcia_devinfo() to print product info. 2000-12-21 15:32:46 +00:00
mycroft e2ef1b88bb Disable the 16-bit I/O space hack for ALL PROMISE CONTROLLERS.
This code is TOTALLY BROKEN and causes a NULL POINTER DEREFERENCE whenever it
is fired.
2000-12-21 01:19:24 +00:00
onoe c6607f2fef move definition of AN_INTRS from anreg.h to anvar.h
strip off AN_EV_CMD from AN_INTRS because it causes severe performance
problem.
2000-12-20 23:30:36 +00:00
bjh21 35a8d9d1b4 eh, podloader 2000-12-20 21:17:35 +00:00
thorpej e3d7d246bb Fix a debugging clause missed when fixing full-duplex support.
Noted by Wolfgang Rupprecht.
2000-12-20 21:06:41 +00:00
briggs 9a73f8b22b Make _sure_ that we do not use selatn3 when it is not present. Fixes a
problem on pmax reported by Izumi Tsutsui.  Tested also on alpha and mac68k.
2000-12-20 15:49:03 +00:00
aymeric e08387765d The key below <escape> is now ~ (KS_asciitilde) when shifted in the
french layout.
This is consistent with the XFree layout, and is very convenient.
2000-12-20 14:53:18 +00:00
haya 22be9ab855 Add IO Data CBIDE2 ata interface card. 2000-12-20 09:56:34 +00:00
haya 5f8d27d58b regen. 2000-12-20 06:24:37 +00:00
haya f899f18228 Add IO Data CBIDE2 ata interface card. 2000-12-20 06:05:13 +00:00
sommerfeld 824092cc68 Regen, because jhawk didn't 2000-12-20 05:03:37 +00:00
jhawk 391d469a00 Backout most of 1.46, because Jason checked in a load of crap from
his local tree that doesn't build with -current...
2000-12-20 04:36:26 +00:00
jhawk 6cca4087d9 s/NULL}/NULL }/
Did I mention this awk script really sucks?
2000-12-20 04:32:48 +00:00
eeh d1ab475964 Make the driver negotiate sync again and remove some (hopefully) superfluous
DELAY()s.
2000-12-20 03:19:34 +00:00
thorpej 814729d3ae Regen. 2000-12-19 17:11:38 +00:00
thorpej d4bbed68f8 " " -> "&sp" in two entries, per Rafal Boni. 2000-12-19 17:11:22 +00:00
thorpej 54e034de88 Identify the SMC 2632W as a Prism II. From Rafal Boni, kern/11776. 2000-12-19 16:55:57 +00:00
thorpej ef0031e520 Regen; add SMC 2632W. 2000-12-19 16:54:14 +00:00
thorpej 0ca5cacc47 Add SMC 2632W. From Rafal Boni, kern/11775. 2000-12-19 16:53:41 +00:00
pk c6bd81f8a6 Fix reversed logic when setting setting sync-negotiation ability flag 2000-12-19 14:08:17 +00:00
nisimura b3345434e4 Fix an error in xoffset calculation. Revealed in the case when
ri_width is less than ri_stride and screen is layouted RI_CENTERed.
2000-12-19 09:52:53 +00:00
onoe 684fe5613d cleanup attach procedure, use tsleep() instead of long delay (and ignore
timeouts).
stop driver after suspend.
XXX: should use command interrupt but no document...
XXX: status update sometimes failed perhaps due to collision.
	(RID 0xff50 or 0xff68 access failed)
2000-12-19 08:00:55 +00:00
mycroft 045091aa8f Add a big comment in the previous section of code... 2000-12-19 06:23:26 +00:00
mycroft 463d0e577e Back out previous change.
I removed this once before a long time ago, because it's wrong and breaks
PCMCIA on some machines.  It also doesn't fix the Multia problems.
2000-12-19 06:04:02 +00:00
eeh 0db43ad6ce Kill extra "attached" message. 2000-12-19 04:36:05 +00:00
onoe f9af49b21b I've inverted the logic of an_probe() in my previous commit to dev/ic/an.c 2000-12-19 01:59:21 +00:00
perseant 3475e639f3 Add register #defines similar to those in <dev/pci/tgareg.h>, referring to
a 32-bit sfb_reg_t, for easy comparison between tga and sfb Xservers.
2000-12-19 01:25:46 +00:00
mjl aaad4d0284 Add quirk for Avance Logic ALS100+, which doesn't like it's irq/drq
being set in pnp mode.
2000-12-19 01:09:15 +00:00
mjl 324ff9ac52 Regen 2000-12-19 01:08:13 +00:00
mjl a006fdf328 Correct ALS100+ entry. 2000-12-19 01:07:52 +00:00
thorpej ba4b6847df Fix a problem with the ALTQ changes that can cause bogus memory
refernces.  Problem reported by Luke Mewburn.
2000-12-19 00:06:01 +00:00
thorpej 4dbafc4a71 Remove an IF_PREPEND() that slipped through. 2000-12-18 23:57:13 +00:00
briggs 7ea0edc288 If the target rejects a tag message, turn off tagged transfers for that target.
Also, adjust message/command construction in ncr53c9x_select() to work no
matter how the structure alignment works out (needed at least for m68k).
Tested by me on mac68k & alpha, and sanity-checked by eeh.
2000-12-18 23:39:44 +00:00
thorpej 57a13edc11 Use separate interrupt handlers for play and record the chip has
support for it and we're configured for separate play and record
DRQs.  This makes full-duplex audio work on the Windows Sound System
(found in many Alpha systems).

Submitted by Juergen Weiss <weiss@uni-mainz.de> in kern/11178.
2000-12-18 21:31:32 +00:00
thorpej 7cc029e16c Use IST_LEVEL as appropriate. Fixes PCMCIA interrupt problems
on the DEC Multia.  From Juergen Weiss <weiss@Uni-Mainz.DE>.
2000-12-18 21:17:44 +00:00
thorpej df6482a625 ALTQ'ify. 2000-12-18 20:32:08 +00:00
thorpej cc6e5d835f Adapt to ALTQ-related API changes (driver is not fully ALTQ'ified yet). 2000-12-18 20:23:04 +00:00
matt 9efc721402 Don't use atapi_print since if there are no wdc's, it won't be present. 2000-12-18 19:57:47 +00:00
abs cf699a23e5 Add a 'value engineered' generic pcmcia CD-ROM drive, badged 'AMACOM'.
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'CD-ROM'.
I'd be encouraged at some progress towards 'generic devices', except
someone else is bound to produce something that identifies the same, but
requires a quirk. Can I go back to my sparc now?
Make two other comments consistent while here.
2000-12-18 17:21:11 +00:00
mjl e2372c3a0b Regen 2000-12-18 17:00:44 +00:00
mjl ca4a96b3da Add Avance Logic ALS100+ 2000-12-18 16:55:46 +00:00
tsutsui 3bd1aace1b Add missed le32toh() in uhci_device_isoc_abort(). 2000-12-18 15:55:30 +00:00
thorpej f41028779b Add back the code that clears "odd" in VCHR. This shouldn't be
necessary, but we haven't made X cope with the wierd size yet.
2000-12-17 22:23:12 +00:00
pk 4bcb826e27 Cast a `bus_addr_t' argument to `u_long' for `%lx' format (XXX..) 2000-12-17 21:50:14 +00:00
thorpej 19c3f4691f ISAPnP front-end for the Aironet 802.11 cards. Note this is currently
untested.
2000-12-17 20:34:40 +00:00
thorpej 5b67bb41a2 Regen; added Aironet 802.11. 2000-12-17 20:17:20 +00:00
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