Commit Graph

6547 Commits

Author SHA1 Message Date
oster
23864e9422 Bail if rf_numParityRegions is not > 0. Cleanup a comment. 2000-01-08 05:13:26 +00:00
oster
0d2f49b054 Nuke stale comment. 2000-01-08 03:49:37 +00:00
oster
e7fe279817 Minor cleanup. 2000-01-08 03:34:31 +00:00
takemura
ba04c55ed3 Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
   relative or absolute.
 - Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
   WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
oster
db96c5344b Nuke some (now) incorrect comments. More minor cleanup. 2000-01-08 02:04:06 +00:00
oster
ef979643a7 Replace raidPtrs[unit] with just raidPtr, and assign the former to the
later early on in raidioctl().  Code is easier to read now too.
2000-01-08 01:52:42 +00:00
oster
b9a1fe405c Minor tillage on the raidioctl() stuff. More cleanup to follow.
No functional changes.
2000-01-08 01:37:37 +00:00
oster
a4ea38dbe8 Nuke an unneeded #ifdef (__NetBSD__) 2000-01-08 01:18:36 +00:00
oster
91273673e7 In RAIDFRAME_CONFIGURE, don't set values in raidPtrs[unit] unless
the configuration was successful.  Noted by Peter Galbavy of OpenBSD.
2000-01-07 13:57:20 +00:00
ad
d1a62749c4 s/NVRCSR/NVR_CSR/ 2000-01-07 10:43:13 +00:00
nisimura
ddd5fcbf66 Remove tinfo_t symbols which result in never used global common variables. 2000-01-07 08:12:15 +00:00
oster
bf2d4a40db rf_GetNextReconEvent() is already prototyped in rf_revent.h.
minor cleanup
2000-01-07 03:56:14 +00:00
oster
12dacda256 nuke one call to rf_get_threadid() and cleanup rf_State_Cleanup a bit. 2000-01-07 03:47:15 +00:00
oster
bf081bf6eb Nuke: #include "rf_threadid.h" and call to rf_get_threadid(). 2000-01-07 03:43:39 +00:00
oster
48301a8dae Nuke: #include "rf_threadid.h". 2000-01-07 03:40:56 +00:00
enami
11fe38b6ad Restore the system priority level on error return. 2000-01-07 03:25:46 +00:00
oster
e5ce17d0eb Nuke RF_DECLARE_GLOBAL_THREADID, rf_setup_threadid(), rf_shutdown_threadid(),
and rf_assign_threadid().  rf_threadid.h, your days are numbered.
2000-01-07 03:25:34 +00:00
enami
fa8c26f547 Don't define WSDISPLAY_FONTORDER_L2R as 0. The function wsfont_lock uses
the value 0 specially.
2000-01-07 03:13:23 +00:00
oster
86f362fb97 Nuke unused #define. 2000-01-07 03:04:41 +00:00
oster
5f144eaa4b Shorten IO_BUF_ERR macro by one (unused) arg. 2000-01-07 03:03:44 +00:00
enami
cadfd97e07 Replace WSFONT_L2R/R2L with WSDISPLAY_FONTORDER_L2R/R2L. 2000-01-07 02:57:17 +00:00
mjacob
1204bc3a13 Bump up level of some very verbose debugs so that SCSIDEBUG doesn't cause them
to print.
2000-01-06 23:02:51 +00:00
augustss
81a78604bf Implement the ENABLE control for processig units. 2000-01-06 21:13:55 +00:00
mjacob
4783eac2b8 add ST_MOUNT_DELAY options for st 2000-01-06 18:28:28 +00:00
ad
2794212f20 Got too excited with cut and paste in previous. Noted by itojun. 2000-01-06 11:38:02 +00:00
shin
66198937f8 replace WSFONT_L2R by WSDISPLAY_FONTORDER_L2R to compile again. 2000-01-06 05:27:19 +00:00
mjacob
f90308c0b9 Bump default login time to 60 seconds. Move the spot at
which we claim we've seen the loop up at least once so
that we don't hang forever coming up. Add in the basics
for MI target mode stuff. Force the outer layers to deal
with a FCP response coming back that has a CHECK CONDITION
but no sense data.
2000-01-06 03:02:11 +00:00
mjacob
92f150a791 roll revision level and add some taret mode changes 2000-01-06 03:00:11 +00:00
mjacob
02f6f85175 add the enable target mode command, plus some minor fiddles 2000-01-06 02:59:43 +00:00
mjacob
bc8be11468 add isp_print_qentry inline 2000-01-06 02:56:20 +00:00
oster
51380e0e8c - bail if we can't allocate memory for raid_softc's. Set 'numraid' as
appropriate for that condition.
- nuke some debugging stuff that we hope we'll never need again
- minor cleanups
2000-01-06 02:06:41 +00:00
mjacob
dc86769bb7 Add in MI target mode code modules 2000-01-05 19:50:05 +00:00
ad
59a1ab9791 Add two new members to 'struct wsdisplay_font': 'bitorder' and 'byteorder'. 2000-01-05 18:44:21 +00:00
ad
a0d0bf907a Use pcdisplay_cursor_init(). 2000-01-05 18:27:47 +00:00
ad
8f3fd0d6b3 Spelling. 2000-01-05 16:28:39 +00:00
ad
e75404417a Add and use pcdisplay_cursor_init(). Still a couple of nits with this, I
will resolve when I can test properly.
2000-01-05 16:14:35 +00:00
ad
ea89296a61 Back out previous. A proper fix will follow. 2000-01-05 16:04:00 +00:00
drochner
f6ee10996d regen 2000-01-05 12:15:00 +00:00
drochner
28828c88e8 add Kubota Denali 2000-01-05 12:14:33 +00:00
drochner
6f64d1e85f regen 2000-01-05 11:32:43 +00:00
drochner
2abcb85b5f add some stuff which was mentioned on the mailing lists recently 2000-01-05 11:32:06 +00:00
drochner
b32647d4ea replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[] 2000-01-05 11:19:36 +00:00
oster
d4dfa2a664 Make sure we really get something back from RF_Malloc before we use it. 2000-01-05 04:15:30 +00:00
oster
77ab4d1598 - update RF_CREATE_THREAD to handle a 'process name' argument.
- fire up a new thread for parity re-writes, copybacks, and reconstructs.
  The ioctl's which trigger these actions now return immediately.
- add progress accounting for the above actions.
- minor rototillage of rf_netbsdkintf.c to deal with all of the above.
2000-01-05 02:57:28 +00:00
mjacob
182c6629c1 oops, bad patch 2000-01-04 22:47:12 +00:00
mjacob
c763ef5b5d - If the user application issues an INITIALIZE ELEMENT STATUS which
succeeds, note that we now are valid.

- Don't attempt to try and run initialize element status from interrupt level-
  we don't really support that yet. Also, key more correctly off of ASC/ASCQ
  instead of just the sense key.

- Make the practice of doing an INITIALIZE ELEMENT STATUS automatically when
  we get params (from chopen time even) a policy decision that is not the
  default for now- this can be a dangerous practice as well as time consuming.
  It's dangerous in that you can have a hung open when all you really want
  to do is do a read of parameters- and parameters, including slot status,
  are perfectly fine to read even before an INITIALIZE ELEMENT STATUS is
  done- all the elements whos status your read are going to be marked with
  an exception- so leave it up to the application to decide how important
  this is.
2000-01-04 22:35:57 +00:00
chopps
d8a4f43d0f convert to support non-dma IO (for the isa Riscom/N2).
allow the user to set and use the internal baud rate generator
fix the transmission ring logic to support more than 1 frame per interrupt
add autodetection of the base clock frequency.
cleanup the receive ring logic
support dynamically resizing the low-water mark on the fifo in response
	to buffer underruns on transmit.
2000-01-04 06:36:29 +00:00
chopps
a4d9bd9484 Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.
2000-01-04 06:31:39 +00:00
chopps
882236e45c add if_ntwo_isa driver for the Riscom/N2 card. 2000-01-04 06:30:04 +00:00
chopps
93bc2af93e Add Riscom/N2 isa driver, most of the probe code was adapted from the
freebsd if_sr.c driver.
2000-01-04 06:29:21 +00:00
sommerfeld
9aeb6a25d2 minor KNF tweaks 2000-01-02 02:08:07 +00:00
sommerfeld
b38548c58d On a cold suspend to disk, the Sony VAIO Z505 BIOS appears to not
preserve enough of the state of the PCIC to keep it interrupting on
card insertion/removal..

Add a power hook to notice if the CSC_INTR device register is zeroed
on resume, and if so, reset it to a sane value.
2000-01-01 21:57:45 +00:00
ad
6d88cc0622 - Make sense out of comment on dpt_wait().
- Trivial streamlining of logic in dpt_poll().
2000-01-01 19:56:59 +00:00
hubertf
e9e9f381a1 Add an entry for the Trident Microsystems CYBER 9525
(as found in an Toshiba Satellite 2650 XDVD).
1999-12-31 00:12:41 +00:00
hubertf
ac50ee0e91 Add an entry for the Trident Microsystems CYBER 9525
(as found in an Toshiba Satellite 2650 XDVD).
1999-12-30 23:53:42 +00:00
tron
a3f8a54bf4 Regen. 1999-12-29 21:29:02 +00:00
tron
5228e12283 Add vendor and product code for Solid Year USB keyboard provided by
Ichiro Fukuhara in PR kern/9070.
1999-12-29 21:28:31 +00:00
kleink
1e9bb239a3 Off-by-one error in limiting the DMAC buffer size for Audio 2 to 64K (actually
64K - 1); from Dave Sainty in PR kern/9064.
1999-12-28 19:26:26 +00:00
kleink
f6655d0f7e Fix a buffer KVA comparison botch in eso_mappage(); from Dave Sainty in
PR kern/9062.
1999-12-28 01:39:38 +00:00
matt
6b0de2aa24 Off by one error in station events. 1999-12-27 22:41:04 +00:00
itohy
38e8851905 - Unmuting an external input source (CD playback, line input, and speaker)
now prevents power down/save the device.
  The external input sources are muted by default at initialization.
- Change "power.power.*" to "power.save.*".  Sorry, spec change....
- Shorten tsleep(9) ident string for "ps l".
1999-12-27 03:21:56 +00:00
soren
841d4966c3 Lower-case Bus-Master for consistency. 1999-12-26 21:46:23 +00:00
tsutsui
f1a6ac445d Use htole32() and le32toh() instead of SCR_BO().
XXX Should we still keep non-NetBSD part?
1999-12-26 10:41:22 +00:00
augustss
5034afeb8e Regen.
And Merry Christmas!
1999-12-25 21:56:37 +00:00
augustss
878c0331ff Alphabetize. 1999-12-25 21:55:59 +00:00
augustss
60ca103a0c Regen. 1999-12-24 21:03:00 +00:00
augustss
e3ab0a35b1 Some minor name changes. 1999-12-24 21:02:38 +00:00
augustss
337c668339 Regen. 1999-12-24 18:03:32 +00:00
augustss
8dde7d012c Add a few Ethernet adapters. 1999-12-24 18:03:05 +00:00
augustss
6e2f22c70f Turn on the MAXP bit in the controller to allow 64 byte packets at
the end of a frame.
1999-12-24 13:56:35 +00:00
augustss
3150a2103c Reverse the sign on the wheel data. I got it wrong from the start. 1999-12-24 01:14:01 +00:00
leo
384bdc532b Implement the DIOCKLABEL ioctl. Through this ioctl it it possible keep the
disklabel on the last close or to drop it.
1999-12-23 21:23:19 +00:00
augustss
aafe48897d Regen. 1999-12-23 19:46:27 +00:00
augustss
c1ea7e7feb Add the WebGear Aviator2.4 card. No driver yet, though. :( 1999-12-23 19:45:56 +00:00
matt
711fcf6e2f Add some defensive code to the unsolicited event printing 1999-12-23 18:14:59 +00:00
pk
2afd4d3aec * remove full duplex modes for the internal transceiver
* internal transceiver needs to be reset for the BMSR_LINK bit to
  be even remotely reliable
* because of previous, maintain link state, so we won't be sensing speed
  all the time when interface flags need to be changed (e.g. entering/exiting
  promiscuous mode)
* in auto-speed mode, report link condition changes on the console
1999-12-23 16:39:56 +00:00
wrstuden
ba7b2b4124 Make the bitfields in here work on big-endian machines. How this ever
worked is unclear.

Patch from thorpej, tested by me.
1999-12-23 00:15:12 +00:00
augustss
0e7b1b9ec1 Use the flags `locator' to govern if devices are detected early or
late during cold boot.
1999-12-22 23:54:09 +00:00
pk
7ab5ad7988 Streamline media code a bit by some `pseudo-mii' code designed to handle
the on-board transceiver.
1999-12-22 16:05:12 +00:00
pk
f037f3be7e Shuffle some code around to allow two PHYs to attach. Only one PHY can
be used at a time, but it's now possible to select one by using ifconfig(8)'s
`instance' parameter.
1999-12-21 21:07:42 +00:00
drochner
caaf1beab2 change decoding function to return multiple symbols per keypress
(through the "internal" structure), derive a METAESC flag from the
layout variant and translate ALT-<key> into ESC <key> if the flag is set
1999-12-21 12:02:04 +00:00
drochner
54e8bcd294 add a symbol for keyboard variant bits which are not handled by the
mapping code
1999-12-21 11:59:13 +00:00
drochner
fc4003355e introduce a METAESC keyboard variant bit 1999-12-21 11:57:59 +00:00
drochner
b95651b752 set carrier early if used as console or kgdb line, fixes PR kern/6547
by Andreas Gustafsson, gson@iengines.com
1999-12-21 11:04:36 +00:00
pk
03c8221ad0 Use BMSR to test for `negotiation complete'; the alternative bit in the
LXT vendor register 20 is latching high and resets to low on read causing
subsequent status request to return `IFM_NONE'.
1999-12-21 10:47:00 +00:00
pk
bbbbfe896e * Remove spurious blockade in the path to get the transceiver status word.
* Make sure to flip the 10baseT/100baseTX bit when doing autoselect.
* Miscellaneous cosmetics.
1999-12-20 22:23:39 +00:00
pk
d135edf1a7 #define the bit positions of the MIF I/O lines. 1999-12-20 22:19:11 +00:00
haya
35a9d47da9 Maintanance for Ricoh RL5C475. VAIO 505TX uses this chip. 1999-12-20 08:11:42 +00:00
mjacob
67944140cf oops, got the initiator and initiator/target f/w reversed for the 1080 1999-12-20 04:25:56 +00:00
tsutsui
2f3ba68db9 Add more SCR_BO(). NCR53c875 now works on macppc.
XXX All SCR_BO() macros should be replaced with htole32() or le32toh().
1999-12-20 03:37:06 +00:00
augustss
a1352b2625 Make sure tsleep() is not called during cold boot. 1999-12-20 02:12:23 +00:00
mjacob
5babd2b8c9 get back to looking at config flags 1999-12-20 00:49:58 +00:00
mjacob
955d4bb00b clean up some f/w revision stuff. clean up some dualbus stuff. 1999-12-20 00:39:16 +00:00
mjacob
83931d33df clean unused fwrev stuff 1999-12-20 00:38:21 +00:00
mjacob
8f18ef5b45 restore (by request) CFGPRINTF to DIAGNOSTIC level kernels 1999-12-20 00:37:49 +00:00
mjacob
be6fe10ee6 get back to looking at config flags 1999-12-20 00:33:17 +00:00
mjacob
775b699ee1 add in initiator mode only f/w versions 1999-12-20 00:22:56 +00:00
augustss
33f8460f90 Change the way the initial configuration value is picked.
Idea from Matthias Drochner <M.Drochner@fz-juelich.de>
1999-12-18 23:22:54 +00:00
augustss
33cf622176 Add another debug printf. 1999-12-18 22:51:58 +00:00
augustss
e284dc9cfd Make these files compile on 64 bit archs. 1999-12-18 22:47:11 +00:00