Commit Graph

8339 Commits

Author SHA1 Message Date
mjacob
7358822ab5 Fix incorrect uint8_t vs. u_int8_t usage. Add in offset macros for outgoing
mailbox regs and a INT_PENDING_MASK macro.
2000-07-05 22:26:53 +00:00
mjacob
b520c663d0 add MBOX_GET_RESOURCE_COUNT command 2000-07-05 22:25:53 +00:00
mjacob
93778c19b8 pick up FreeBSD changes 2000-07-05 22:25:34 +00:00
mjacob
3626695b49 Roll platform minor. We are now always supporting ISP2100_FABRIC. Add
in new MBOX_WAIT_COMPLETE/MBOX_NOTIFY_COMPLETE macros (ready for SMPizing).
Define STRNCAT inline for our usage.

Stealing a bit of the xs_status flags to maintain command state that
is pertinent for the hBA- should really reserve them for private usage
in scsipiconf.h.
2000-07-05 22:25:06 +00:00
mjacob
a743834a38 Redo watchdogs to handle cases of false death of commands- time
each command now.. Get rid of SCCLUn stuff. Use an isp_done routine
to handle cases of watchdog and isp_done racing to completion.
2000-07-05 22:23:05 +00:00
mjacob
a7560ced04 Add back in a (corrected) isp_prtstst function. 2000-07-05 22:21:44 +00:00
mjacob
e946846577 Back out previous commit- the author is incorrect. There is no 'narrow'
Qlogic controller driven by this chipset. If they don't want the verbosity,
don't compile a DIAGNOSTIC kernel.

Major amount of mailbox command rewrites- hopefully should fix some of the
outstanding PRs.

Change header to note that this is no longer maintained at NASA/Ames.
2000-07-05 22:20:51 +00:00
mjacob
c466b99a9a Use new isp_handle_index function. Redo how firmware is checked for
and loaded. Remember to enable interrupts after isp_reset but before
isp_attach. Return CMD_EAGAIN on request queue overflow so we can retry
the command when there's more queue space.
2000-07-05 22:12:23 +00:00
mjacob
855b5ef9b0 Use new isp_handle_index inline function. Change order in whch
some things are done. Remember to enable interrupts after calling
isp_reset but before isp_attach.
2000-07-05 22:10:56 +00:00
mjacob
f73a4d37e2 split firmware into smaller files 2000-07-05 22:09:08 +00:00
bouyer
3c5afc2677 Back out previous, it has to be done in a different way. 2000-07-05 19:05:31 +00:00
bouyer
838676ce64 Apply patch from David Sainty <David.Sainty@optimation.co.nz>:
Some AMD controllers have a bug which can look up the machine when using DMA, so
disable DMA for some revisions (info provided by AMD).
"options PCIIDE_AMD756_ENABLEDMA" can be used to force DMA on these chips.
2000-07-05 18:58:41 +00:00
itojun
e93c7e8dd2 typo. From: jdolecek 2000-07-05 18:47:51 +00:00
itojun
5f1c4bb519 use memory mapped address, instead of i/o memory access, for control
registers.  rationale:
- Netwave cards choke if we map i/o memory to >= 0x400
- even though, CIS tuple talks nothing about it
- it is not possible to specify range in pcmcia_io_map
- it would be very bad to do a try-and-error bus_space allocation for
  i/o memory regions < 0x400
- we can have exactly the same functionality with memory mapped access
this should correct PR 10139.

the memory mapped access idea was from WIDE wildboar/bsdi cnw code.
2000-07-05 18:42:19 +00:00
bouyer
fa436f165c HPT: use pciide_channels[i] not pciide_channels[0]. My HPT370 now probes
both channels (but still doesn't work properly; I suspect I got a broken one).
2000-07-05 16:11:35 +00:00
nisimura
30c1d4ba1c - Withdraw ZS_IOASIC_DMA conditional which has never been useful.
- Sanitize ZS register access.
2000-07-05 07:50:57 +00:00
nisimura
728e424e54 Repopulate 4 files, zs_ioasic.c and zs_ioasicvar.h from arch/alpha/tc,
zskbd.c and zsms.c from dev/dec/, respectively.  No functionality
change this time.
2000-07-05 02:48:50 +00:00
onoe
807a12c8cd change the argument of SIOCS80211NWID and SIOCG80211NWID ioctls from
u_int8_t array to struct ieee80211_nwid to prepend length field.
The length field is necessary because IEEE 802.11 spec doesn't prohibit
even '\0' for SSID.
Though the name and the value of SIOC... macro is unchanged, this change
breaks binary compatibility.  The only affected userland program on the
tree is ifconfig(8).
As Jason suggested on tech-net, it is better than live with problems
since there are no releases for this ioctls yet.
2000-07-05 02:35:53 +00:00
onoe
af32c63489 remove unneeded include "opt_awi.h" 2000-07-05 02:27:25 +00:00
enami
88a0f6ee93 Match with promise ultra100/ata contoller. I haven't actually test this
contoller with ultra100 drive, but it works at least with ultra66 or more
older drive
2000-07-04 16:34:33 +00:00
enami
fa92d1c635 Regen. 2000-07-04 16:30:42 +00:00
enami
a710a5e35e Add device ID of promise ultra100/ata controller. 2000-07-04 16:27:32 +00:00
tsutsui
904f3cd34f Add wlan. 2000-07-04 15:57:02 +00:00
pk
e7adcbdb13 enet dma: claim interrupt as appropriate. 2000-07-04 14:58:36 +00:00
onoe
7411709050 Support WEP functions for awi driver. 2000-07-04 14:47:58 +00:00
onoe
793eb28211 Support WEP functions for awi driver.
arc4 implementation by Kalle Kaukonen has been added.
	define "wlan" in files.
		XXX: only awi depends on wlan for now.
	Allow authentication for adhoc (IBSS) mode.
Disable adhoc mode without bssid (mediaopt adhoc,flag0) for FH radio.
	FH cannot work without synchronization by beacons.
Align IP header for ethernet encapsulation (IFF_FLAG0) mode.
Print available access points for IFF_DEBUG.
2000-07-04 14:27:56 +00:00
is
87803a8f14 amigappc: siop -> asiop 2000-07-04 14:18:06 +00:00
onoe
0e23cbd506 Remove unneeded include <sys/kernel.h> from FreeBSD by <phk@freebsd.org> 2000-07-04 14:16:21 +00:00
tsutsui
93d627808a Update some entries:
- add amigappc devices
- add sgimips devices
- add cmpci, cy82c693, cz, fwbus, fwohci, sysmon, viaenv, viapm and xmi
- add necpb for arc
- add pcons for sparc64
- add xsii for pmax
- ncr for vax is renamed to si
- si for sparc is now MI

XXX siop for amigappc should be renamed to asiop?
2000-07-04 14:01:31 +00:00
augustss
8f0fb77674 MAke sure bass&treble start in their mid position. 2000-07-04 10:02:45 +00:00
thorpej
a02e08bf4f Remove work-around for Lite-On PNIC in tlp_filter_setup() that is
apparently no longer necessary (probably due to other fixes that
have happened in the filter setup path) and is in fact harmful.

Based on a patch from Krister Walfridsson, who claims this makes
his newer NetGear FA-310TX work (although, my older NetGear FA-310TX
still does not, but fails in an entirely different way).
2000-07-04 04:18:17 +00:00
itojun
33d6ee7269 sync with sys/dev/ic/adwlib.h change (s/ADV_TICKLE/ADW_TICKLE/)
not sure if it is right.  comments?
2000-07-04 04:17:03 +00:00
thorpej
49014bf59f Restructure the PHY entry points to use a structure of entry points
instead of discrete function pointers, and extend this to include
a "reset" entry point.  Make sure any PHY-specific reset routine is
always used, and provide one for the LXT-970 which disables MII
interrupts (as is done for a few other PHYs we have drivers for).
2000-07-04 03:28:59 +00:00
nisimura
87eac96162 Make sure to settle tcdsreg.h and tcdsvar.h in /usr/include/dev/tc/. 2000-07-04 02:31:21 +00:00
nisimura
1de4ec68b4 Repopulate TCDS dual channel SCSI adapter to MI dev/tc, squashing
internals for better layering between TCDS DMA ASIC and ASC SCSI
controller.
2000-07-04 02:22:08 +00:00
thorpej
d0827b0ed7 sparc/dev/sireg.h -> dev/vme/sireg.h 2000-07-04 01:29:14 +00:00
nisimura
0c92b006c6 Fix negative timeout symptoms caused by integer multiply overflow,
which is revealed with larger HZ systems like NetBSD/pmax (256Hz)
and NetBSD/alpha (1024Hz) as reported by PR#8645.  Polled tape
drive access is done with maximum 6 hour timeout which ended up
with negative time and then confused SCSI bus severely.
2000-07-04 01:10:18 +00:00
pk
93f987a210 The `si' driver has been transformed into an MI VME frontend. 2000-07-03 23:30:33 +00:00
dante
fa845b7795 Fix a off-by-one error in sc_freeze_dev[].
Thanks to kwesterback@home.com
2000-07-03 18:14:18 +00:00
gmcgarry
cc05a49fb0 Regen. 2000-07-03 06:05:44 +00:00
gmcgarry
72cbe1224d Devices found in NEC Versa Note VX 2000-07-03 06:01:17 +00:00
augustss
feb8219648 Regen. 2000-07-03 01:07:25 +00:00
augustss
3c9acfbb29 Add some Alcor products. 2000-07-03 01:07:04 +00:00
sommerfeld
06f1d399e2 Take just the low-order 32 bits of cpu_counter() here. 2000-07-02 21:04:33 +00:00
takemura
0d28ab1838 Common part of APM (advanced power management) support for Hpcmips. 2000-07-02 09:48:12 +00:00
cgd
1ce8331ad9 nuke some final __BROKEN_INDIRECT_CONFIG bits that weren't caught by
unifdef last time.  (bloody things just won't stay dead!)
2000-07-02 06:25:46 +00:00
wiz
235a799246 re-add README that got lost in 2.12-to-2.14 merge. 2000-07-01 01:59:54 +00:00
wiz
c01704a9db remove unnecessary #ifdef __NetBSD__'s in #ifdef __FreeBSD__;
move one #include <vm/vm.h> into #ifndef __NetBSD__
2000-07-01 01:53:37 +00:00
wiz
d307475c33 resolve conflicts. 2000-07-01 01:38:58 +00:00
wiz
5457abf9cb Import release 2.14 of the bktr driver. Changes: mostly integration
of NetBSD changes; support for new Hauppauge tuner types.
2000-07-01 01:30:43 +00:00
joda
5f9b72f44c match 3Com 3CRWE737A (AirConnect) 2000-06-30 16:40:31 +00:00
joda
c8edea398b regen 2000-06-30 16:33:38 +00:00
joda
35c8e4d91e add 3Com 3CRWE737A (AirConnect) 2000-06-30 16:33:17 +00:00
ad
e211fdee79 Use my proper name in copyrights. 2000-06-30 13:36:47 +00:00
veego
a9d80391d0 Move the include of <vm/vm.h> into the ifndef __NetBSD__ part. 2000-06-30 08:12:10 +00:00
mjacob
7b0ccbb669 need uvm_extern.h for a function definition 2000-06-30 00:01:22 +00:00
pk
8c46f6d687 #include "opt_ahc.h" 2000-06-29 23:12:19 +00:00
fvdl
dd3e309684 Fix some missed vm/vm.h -> uvm/uvm_extern.h conversions. 2000-06-29 19:27:55 +00:00
thorpej
756aa08443 Since the RFA is allocated in a normal mbuf, as opposed to DMA-safe
memory that is explicitly mapped in a DMA-coherent manner, we must
make sure to PREREAD sync the RFA after noticing a clear "complete"
bit.  Without this, the clear bit will linger in the cache, and the
CPU will not notice when the chip updates the bit via DMA later.

From Izumi Tsutsui on port-arm32@netbsd.org.
2000-06-29 16:53:48 +00:00
bjh21
72d99f2b0c Add all arm26 devices with drivers 2000-06-29 12:49:18 +00:00
oster
ce2b2827e5 Nuke a printf that *I* added at least as early as Nov, 1998, and which is
as bogus now as it was then.
2000-06-29 00:22:27 +00:00
thorpej
0b82c9610f Don't check for a BAR address past PCI_MAPREG_END; some devices
have BARs way out in left field.
2000-06-28 17:32:48 +00:00
mrg
314f1e97c5 remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 17:12:48 +00:00
mrg
b5e0d5686e remove include of <vm/vm.h> 2000-06-28 17:09:41 +00:00
mrg
a14baa8257 remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 17:05:20 +00:00
mrg
261538ecac remove include of <vm/vm.h> 2000-06-28 16:39:25 +00:00
mrg
666116dd21 <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:38:37 +00:00
mrg
7e81221f5a remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:27:51 +00:00
mrg
7c15053eed remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:08:42 +00:00
thorpej
e24d6ebc19 Fix a couple of brain-o's in error cases, and use PCATCH for
the sysmon mutex wait.
2000-06-28 06:51:17 +00:00
augustss
d28770775b Make it compile with AUDIO_DEBUG after the mmap API change. 2000-06-27 21:25:02 +00:00
mrg
f324eef2d2 remove include of <vm/vm.h> 2000-06-27 17:55:38 +00:00
tron
bddc013764 Add special IRQ handler for CMD PCI0648 and PCI0649 taken from the
experimental version of Manuel Bouyer's driver.
2000-06-27 05:57:05 +00:00
simonb
bfc5613f54 Revert some of the previous mmap() changes that were in "#ifdef FreeBSD"
parts of this file.
2000-06-27 05:14:31 +00:00
mrg
e185413725 remove redudant <vm/pmap.h> includes. <vm/pmap.h> -> <uvm/uvm_pmap.h> 2000-06-27 04:18:48 +00:00
fvdl
4cc6a62a33 Remove debugging code that wasn't supposed to be in the commit of version 1.55 2000-06-26 19:38:14 +00:00
mrg
f4e210fb2c remove redundant vm includes 2000-06-26 15:26:35 +00:00
mrg
4c698e84f6 <vm/vm_param.h> -> <uvm/uvm_param.h> 2000-06-26 14:58:58 +00:00
mrg
89d0a3e519 remove redundant vm includes. 2000-06-26 14:38:50 +00:00
mrg
2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
bouyer
8a0d96e59e Add support for the CMD PCI0648 and PCI0649 IDE controllers.
Thanks to Matthias Scheler for testing.
2000-06-26 10:07:52 +00:00
bouyer
2e861ca3ce Correct 80 pin handling for promise Ultra/66: when the bit is set
we *don't* have a Ultra/66 cable.
2000-06-26 09:55:26 +00:00
simonb
889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
gmcgarry
10eccb55ca cmpci requires mulaw dependency. 2000-06-25 23:34:27 +00:00
sommerfeld
fda426af2c Defopt TLP_MATCH_* 2000-06-25 18:49:22 +00:00
wiz
3628d5523b printf argument was in wrong position. Noted by Roger Hardiman
<roger@cs.strath.ac.uk>. (This code was ifdef'd out by default.)
2000-06-25 17:47:39 +00:00
mrg
c543a66253 remove some redundant <vm/vm_xxx.h> includes 2000-06-25 13:26:19 +00:00
eeh
44330020aa Make PCI HME work. 2000-06-25 01:10:04 +00:00
eeh
79dffec702 Get PCI HME working. 2000-06-25 01:05:16 +00:00
pk
c7477bfbe5 Fix spelling and formatting. 2000-06-25 00:23:13 +00:00
joda
1e343745fc regen 2000-06-24 12:16:55 +00:00
joda
103a704990 add Intel 82801BA devices 2000-06-24 12:16:21 +00:00
thorpej
6a6fdc8681 Kill SPLUSBCHECK -- it's not portable, and quite annoying on some
platforms which otherwise function just fine.
2000-06-24 04:12:53 +00:00
thorpej
f82e306928 Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI).  Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.
2000-06-24 00:37:19 +00:00
is
a4c83bd5bf s/sc->sc_ethercom.ec_if./ifp->/ where appropriate and formerly forgotten,
for better readability.
2000-06-23 14:07:03 +00:00
is
139e08bead Only "complain" about successful multicast setup if IFF_DEBUG was set. 2000-06-23 13:54:50 +00:00
matt
3259331d60 There's only for 15 blocks of bootstrap, not 16. 2000-06-21 14:57:21 +00:00
tron
bc83dce0c6 Regen. 2000-06-21 09:16:16 +00:00
bouyer
0273966f04 Add CMD PCI0649 product ID. 2000-06-21 08:58:57 +00:00
bouyer
dbc130250d Patch from Eduardo Horvath: don't bus_dmamap_sync the script dma map if
it lives in the on-chip RAM !
2000-06-20 17:16:22 +00:00
ad
318f9b048b Feck. 2000-06-20 15:04:50 +00:00
augustss
4f82723a61 Regen. 2000-06-19 14:58:37 +00:00
augustss
e38812aaad Add XTNDAccess IrDA. 2000-06-19 14:58:02 +00:00
augustss
88e928528c Unswap functiona arguments that got swapped during ANSIfication. Now
mixer controls work again.
2000-06-19 11:43:48 +00:00
pk
5f887c484e The sparc clients of this driver (si & sw) now use bus_space_*(). 2000-06-18 19:22:33 +00:00
soda
849b74a926 add vga_extended_attach function on arc port, to make mmap() available.
XXX - is it better to remove "#ifdef arc"?
2000-06-17 07:11:50 +00:00
cgd
eee18e1f6c beat back the undead: __BROKEN_INDIRECT_CONFIG had risen, and was
terrorizing innocent hackers...
2000-06-16 23:41:33 +00:00
matt
6bda02ae4b Fix typo. 2000-06-16 23:33:47 +00:00
matt
bd24eacf64 Move dec_boot.h to here from arch/pmax/include and add the VAX boot block
info.  Eventually Alpha boot block information as well.
2000-06-16 23:09:57 +00:00
matt
485dc14ad7 No real change. Alphabetize the list of directories. 2000-06-16 19:33:50 +00:00
pk
6e94b922a1 Comply with bus_dma(9) specs. 2000-06-16 11:47:34 +00:00
soren
0011842ea8 Regen. 2000-06-16 08:13:50 +00:00
soren
567c710f2b Add some S3 chips. 2000-06-16 08:13:25 +00:00
soren
18b4be2a92 Update from Onno:
- Add a tr_reopen() and use that instead of tr_init() for callouts.
- As tr_reinit() and tr_reopen() are used as callouts, protect them at splnet.
2000-06-15 19:55:27 +00:00
ragge
8aeaa34651 "files" file for the XMI bus. 2000-06-15 19:01:33 +00:00
augustss
fca2f40972 Regen. 2000-06-15 17:58:45 +00:00
augustss
032bdde358 Add Compaq's Personal Jukebox (I got one as a birtday present!) 2000-06-15 17:58:14 +00:00
pk
297445c2a2 Turn on the hash filter enable bit in the RX configuration register
when loading the multicast hash filter (noted by itojun@iijlab.net).
2000-06-15 15:34:32 +00:00
matt
91e31abb8a Add preliminary ieee1212reg.h (csr architecture which is the base spec for
1394).
2000-06-15 03:43:40 +00:00
soren
d157be73ff Update from Onno: add media selection. 2000-06-14 22:54:37 +00:00
thorpej
17de155949 Make sure we use firmware->host communication channel in cz_intr(), from
Bill Studenmund.
2000-06-14 17:54:33 +00:00
pk
f67e2cd132 Eliminate a race condition reported by mouse on port-sparc. 2000-06-14 08:01:26 +00:00
soda
c521ba58c1 yet another change for NEC RISCstation 2250 of arc port. 2000-06-14 00:34:33 +00:00
tron
3e3d2d7344 Regen. 2000-06-13 22:44:51 +00:00
tron
d643d25eb9 Add CMD PCI0648. 2000-06-13 22:44:19 +00:00
soren
0ea5e0720a IBM Tropic Token Ring PCMCIA attachment. XXX Needs work.
Many thanks to Onno van der Linden for his help in getting this working.
2000-06-13 20:03:47 +00:00
soren
ca34a6a69a Call frontend enable/disable functions in the ioctl path.
Use _sc prefixes for some softc members.
A few minor cleanups.
2000-06-13 20:00:02 +00:00
nathanw
a5598651e8 Arrange to use the right RAMDAC cookie at console initialization time.
[I thought I committed this months ago....]
2000-06-13 17:21:06 +00:00
soren
45bdc51fa2 Regen. 2000-06-13 15:37:29 +00:00
bouyer
22a10be43e sheduler->scheduler, as pointed out by Klaus Klein 2000-06-13 13:59:15 +00:00
ad
3553879fc2 Use my proper name. 2000-06-13 13:36:42 +00:00
soren
a6c8d6231e Regen. 2000-06-13 02:18:19 +00:00
soren
d15c2a6a04 Include vendor name for IBM products. 2000-06-13 02:18:00 +00:00
sommerfeld
9769dedd5b Let this build on LP64 if DEBUG is defined. 2000-06-12 23:45:45 +00:00
gmcgarry
6ab5c3364c - add mmap support
- correct bug which wouldn't free allocated DMA segments
2000-06-12 22:40:20 +00:00
nathanw
31c0cc5f46 Regen. 2000-06-12 22:33:41 +00:00
nathanw
72d31d8d37 Add AMD 79c978 PCnet-PCI Home. 2000-06-12 22:33:06 +00:00
bouyer
26bbb4f200 Regen. 2000-06-12 21:25:20 +00:00
bouyer
034590578d Shorter description for the HPT366 2000-06-12 21:25:01 +00:00
bouyer
b21bc1b5b6 - add a pciide_irqack() callback, which clears the IDE DMA status bit once
the IRQ has been cleared on the drive.
- use pa->pa_class instead of re-reading PCI_CLASS_REG when possible
- Add support for Highpoint HPT366 and HPT370 (370 untested), based
  on patches from Roger Brooks  <R.S.Brooks@liverpool.ac.uk> posted on
  current-users Mach, 15. Given how Highpoint docs have been wrong for the
  366, the 370 is likely to not work.
  Thanks to Chris Cappuccio <chris@dqc.org> for sending me the Highpoint
  docs, and to Total Archive (http://www.totalarchive.com/) for sending
  me hardware.
2000-06-12 21:20:51 +00:00
bouyer
8642ac97bf Regen. 2000-06-12 21:12:59 +00:00
bouyer
1970e14b93 Add HPT366/370 device ID.
XXX Is 'TRIONES' the rigth vendor name ?
2000-06-12 21:12:30 +00:00
bouyer
12d3bf8c1a Add a callback (*irqack), for controllers that need special action to ack
the interrupt once it has been ack'd on the drive.
2000-06-12 21:10:40 +00:00
bouyer
221a99f782 Handle "scsi bus mode change" interrupts on 895 and higther.
Thanks to Hal Murray for reporting the problem and testing the fix.
2000-06-12 20:13:41 +00:00
ad
397fa0e4e2 Fix a couple of pastos. 2000-06-12 11:07:45 +00:00
mrg
b9140fbc0c KNF a line. 2000-06-12 05:25:48 +00:00
mrg
305e44c869 check for when cnopen() will call itself recursively, and panic instead of losing badly. 2000-06-12 05:02:22 +00:00
bouyer
7bb3d03448 Relax condition on 'sn' for atapi probe, it can be different from 0x1 with
some controllers/devices. Fixes a problem reported by Markus Illenseer.
2000-06-11 17:09:34 +00:00
oster
7a0d138818 Nuke a (mostly) now-incorrect comment. 2000-06-11 03:35:38 +00:00
sommerfeld
ea313649ff defopt MIIVERBOSE 2000-06-11 02:13:34 +00:00
ragge
cc483219bc Must be able to compile without "mtc". 2000-06-10 19:44:55 +00:00
sommerfeld
8e8ecc1bb5 portability fix: when rotating, don't do shifts >= wordsize. 2000-06-10 17:01:15 +00:00
wrstuden
eb21ed4746 Adapt to going back to decemal device numbering. 2000-06-09 18:00:45 +00:00
wrstuden
8d04cd3f90 Rather than assinging 64 tty's per pci card, assign tty's as found.
Cyclades says driver should work with up to 128 tty's per pci card
even though they only support 64 now. Also matches FreeBSD behavior.

Print located tty's using new tty naming scheme - ttyCZ?? where ?? are
two hex letters.

Make firmware load on macppc - one le32toh() was missing.
2000-06-09 16:53:23 +00:00
drochner
7b82c5ef6c add EGA display type 2000-06-09 16:07:55 +00:00
onoe
73a779fa1f Restore the original copyright notice by Bill Sommerfeld
<sommerfeld@netbsd.org> since it is based on the original code.
2000-06-09 14:36:25 +00:00
onoe
7b45a44396 Add Farallon SkyLINE Wireless LAN Card for awi(4) driver.
Tested on FreeBSD 3.4-RELEASE by Dirk-Willem van Gulik <dirkx@webweaving.org>.
2000-06-09 13:05:02 +00:00
enami
5a4b9fcbbf Prevent a process being swapped out during I/O if the data buffer is
allocated on stack.  This potential problem is noticed by Noriyuki Soda
and the idea and sample code to fix is given by Jason R. Thorpe.
2000-06-09 08:54:19 +00:00
gmcgarry
f44d7a9a53 Rename remaining references from xe to xi. Clean up debug messages. 2000-06-09 08:22:13 +00:00
onoe
4da3935bae cleanup haeders.
add opt_awi.h to define AWI_DEBUG, AWI_WEP_ARC4.
show the firmware version at attach.
create a framework to support WEP (encryption code is not included for now).
a new wiconfig compatible ioctl interface replaced the awictl interface.
fix memory leak in selecting AP
fix bugs in ESSID selection
changes from FreeBSD-current by Warner Losh:
  revision 1.2
  date: 2000/04/17 22:58:15;  author: imp;  state: Exp;  lines: +16 -1
  Provide mem* for compat with NetBSD to fix LINT
fixes from FreeBSD-current by Guido van Rooij:
  revision 1.4
  date: 2000/05/29 19:58:10;  author: guido;  state: Exp;  lines: +5 -2
  Fix a panic resulting from an obvious null pointer deref.
  Apparently some other panics still exist in this driver, but with
  this fix, it was at least possible to run the Nokia card at SANE 2000.
2000-06-09 05:31:15 +00:00
soda
0f76c56f2d increase number of parameters of pckbc_cnattach(), since offset of command port
is not 4 (KBCMDP), but 1 on jazz based platforms of arc port.
2000-06-09 04:58:32 +00:00
soda
8ac7bdd00c changes for NEC RISCstation 2250 of arc port. 2000-06-09 04:48:12 +00:00
soda
77625cf7ec long long constant needs "LL" suffix. 2000-06-09 04:45:53 +00:00
augustss
b8f4f2be87 Regen. 2000-06-09 00:21:08 +00:00
augustss
def28a5cd2 Add some PCI devices found in the IOpener (commited from the IOpener itself :). 2000-06-09 00:20:18 +00:00
cgd
1e158fae9a nuke bogus use of s = spl0() / splx(s). reviewed by Jason Thorpe. 2000-06-08 22:43:15 +00:00
gmcgarry
6dd21e55a9 Make attach messages consistent with PCI drivers. Make function pointer
usage consistent with other drivers.
2000-06-08 22:15:52 +00:00
ragge
944b6966e9 Fix a transmit bug and get a little more out from the receive logic. 2000-06-08 19:58:49 +00:00
cgd
625dbd8f87 in allegedly-MI code, if we're gonna use '#pragma pack(N)', #pragma pack()
should be used to reset the packing.  (#pragma pack(4) was used here
before.  "wrong!")
2000-06-08 18:22:15 +00:00
haya
b6a821f042 Change IPL when bridge's interrupt handler calls child device's
interrupt handler (This solution is not very good).
2000-06-08 10:28:28 +00:00
cgd
d8dcb11d4f don't include ISA headers. these have been properly abstracted so that
the ISA headers are unnecessary, and they're used by PCI VGA.  There may
not be any ISA at all.
2000-06-08 07:01:19 +00:00
scw
295ed77595 The OPTi controller supports a 32-bit dataport after all.
Also detect when the chip is sitting on a 25MHz PCIbus and
set the timing registers accordingly.
2000-06-07 20:42:52 +00:00
ad
887d4555cd Regen. 2000-06-07 19:53:17 +00:00
ad
4837200a8c Add vendor/device ID for 3ware Escalade IDE RAID controller. 2000-06-07 19:52:07 +00:00
tsutsui
3f94f56142 Adapt struct scsipi_adapter changes. 2000-06-07 14:40:20 +00:00
mrg
a67130a218 regen. 2000-06-07 09:55:22 +00:00
mrg
09b843b7f6 fix a couple of the sun entries. 2000-06-07 09:52:16 +00:00
haya
dca97557cd Add CB_BCR_RESET_ENABLE in bridge control resister's bit definition. 2000-06-07 09:02:46 +00:00
thorpej
b15bbb90f9 Add missing break; 2000-06-07 04:31:49 +00:00
soren
13ed0863f8 Regen. 2000-06-07 01:58:17 +00:00
soren
e2c1012576 Add Trident 9397DVD. 2000-06-07 01:57:30 +00:00
thorpej
23ef490928 Deal with the fact that tsleep() may be a macro. 2000-06-07 00:33:51 +00:00
thorpej
c85d6d7ca3 Improve the Cypress name a little. 2000-06-06 22:56:06 +00:00
thorpej
a452638f06 In pciide_mapreg_dma(), check to see what type the BAR is before
mapping the registers, as suggested by a comment in that function.
2000-06-06 22:47:22 +00:00
jdolecek
d98bf28b13 Make the frontend print a newline (follows similar change for isa and pcmcia front-ends) 2000-06-06 20:09:20 +00:00
soren
10e30038a9 Fix braino in previous, pointed out by Jaromir. 2000-06-06 18:42:47 +00:00
soren
a4f554c4ac Add CS4235 MPU id. 2000-06-06 18:08:51 +00:00
soren
ba5df2479b Shorten names of VIA controllers to fit in 80 columns with versions. 2000-06-06 17:48:12 +00:00
thorpej
c40fa3c4d4 Actually program the DMA mode of the drives into the Cypress
controller.  Fixes a long-standing problem where IDE DMA wasn't
working on the AlphaPC 164SX.
2000-06-06 17:34:22 +00:00
soren
3b8b24cffe Only wait 100 ms instead of 1 s for the SEEPROM to come ready. This is
still plenty for cards with SEEPROM's and reduces the delay on platforms
without, which conveniently also avoids triggering the O2 watchdog timer.
2000-06-06 17:29:40 +00:00
soren
b4b667c0a0 Make ID printing a little more robust in case of problems reading
AC97 registers.
2000-06-06 17:25:52 +00:00
soren
d862695c41 Make 3Com names a little more consistent. 2000-06-06 17:21:42 +00:00
soren
f0d0078f1b Add Olicom GoCard. 2000-06-06 17:19:59 +00:00
soren
cd4324537d Density codes are usually given in decimal, so print them that way. 2000-06-06 17:16:02 +00:00
soren
8b0390203b Some minor diagnostics cleanups. 2000-06-06 16:41:33 +00:00
soren
63649c5744 Make the frontend print a newline. 2000-06-06 16:27:49 +00:00
soren
1ec719ccc0 Add power management hooks. 2000-06-06 16:26:57 +00:00
sommerfeld
f1802cf848 Fix previous change: guard against missing subdevices of pckbc. 2000-06-06 16:21:22 +00:00
soren
4b7ec26c89 One comment too much.. 2000-06-06 16:16:36 +00:00
soren
c4df411abd Add comments for a few drivers and the lines for the Tropic attachment. 2000-06-06 16:15:31 +00:00