Commit Graph

6547 Commits

Author SHA1 Message Date
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
pk
85a78db7b1 Add support for selecting a PHY (i.e. built-in transceiver vs. external MII
device) by using media/instance parameters.
1999-12-18 14:05:37 +00:00
tsutsui
7374a44f77 Use bswap32() as SCR_BO() macro to avoid unexpected side effects.
SCR_BO(*src++) caused some trouble.
1999-12-18 07:57:03 +00:00
drochner
5257d9712e regen 1999-12-17 17:19:11 +00:00
drochner
289c969284 add Intel 450NX stuff 1999-12-17 17:18:48 +00:00
pk
60eeab910b Avoid feeding negative values to the `roundup()' macro.
Configure the MII management interface earlier.
1999-12-17 14:37:15 +00:00
pk
aaffba693c Fix status bit symbols strings.
Rename MII receives enable bit to be in sync with the STP2002 datasheet.
1999-12-17 14:34:25 +00:00
augustss
b58b4d7541 Regen. 1999-12-17 14:07:45 +00:00
augustss
593f478d64 Add a 3Com camera. 1999-12-17 14:07:21 +00:00
augustss
6b1620b095 Remove extra #endif so we can compile again. 1999-12-17 14:06:43 +00:00
augustss
b7b9264da6 Regen. 1999-12-17 14:00:12 +00:00
augustss
78ba345df3 Change the Galileo entries so the generated code can be compiled. 1999-12-17 13:59:44 +00:00
fvdl
8b98cf56b6 Deal with cable problems gracefully. From Onno van der Linden. 1999-12-17 08:26:31 +00:00
ad
3fc9d6b40e Indicate that rcons is a dead end and that doing something more wsconsish is
recommended.
1999-12-17 01:41:52 +00:00
soren
3017275313 Regen. 1999-12-17 01:04:47 +00:00
soren
fd4557865d Fix comment. 1999-12-17 01:04:29 +00:00
soren
bf75bd8856 Regen. 1999-12-17 01:03:45 +00:00
soren
fdab32f446 Add Galileo Technology system controllers.
Remove obsolete ID database URL.
1999-12-17 01:02:03 +00:00
abs
43838a47fd Add back cut Cardbus_conf_write/cardbus_conf_write lines. 1999-12-16 21:04:10 +00:00
ad
ea17a0d147 Remove part of a bogus comment and put it in a more appropiate spot. 1999-12-16 15:07:00 +00:00
ad
624ebb55cb Dispatch another nit. 1999-12-16 13:27:24 +00:00
mjacob
edf809c8b6 Dual LVD (1280) support. 1999-12-16 05:35:42 +00:00
augustss
fc03707eef Add even more debug output. 1999-12-15 23:00:05 +00:00
augustss
0164856f79 More debug printfs. 1999-12-15 20:05:08 +00:00
ad
38fdaf4b34 Fix comment. 1999-12-15 15:34:18 +00:00
ad
9bfaff072d Now I remember. Add a new flag, WSFONT_RDONLY that indicates the font
to be added to the table should not be modified; i.e. if modifications
are needed, a copy should be made.
1999-12-15 15:27:57 +00:00
ad
f607dfe4dd - Change prefix for Bt459 register defs to BT459_IREG to indicate that
these are indirectly accessed registers.
- Add defs for directly accessed registers to bt459reg.h.
1999-12-15 15:09:36 +00:00
kleink
2fd74b0fb4 Normalize symbol names used for multiple inclusion protection. 1999-12-15 12:28:54 +00:00
kleink
5dc4b19d4d Report the Capability List support bit of the SR and, if set, print the
the Capability list pointer register as such as well as the capabilities
implemented in the list.
1999-12-15 12:27:26 +00:00
tsutsui
b5084582c9 add one more htole32().
fixes "tlp0: filter setup timeout" on my macppc.
1999-12-15 12:23:32 +00:00
kleink
56060556e3 Report all AUDIO_PROP_* properties when attaching an audio device. 1999-12-15 12:09:34 +00:00
kleink
6a318fe223 Regen. 1999-12-15 11:55:35 +00:00
kleink
eec28e9605 * Add ESS Maestro2 product ID.
* Add TerraTec vendor ID.
1999-12-15 11:52:55 +00:00
pk
967d744acd Correctly encode the configured number of buffer descriptors. 1999-12-15 10:33:31 +00:00
explorer
387644d34d regen 1999-12-15 05:49:44 +00:00
explorer
5e4e92603b add another modem; from Dan J Fraser 1999-12-15 05:49:33 +00:00
oster
28c2380f21 Nuke a bunch of debugging cruft. No functional changes. 1999-12-15 02:02:16 +00:00
pk
9902ec50bb * Probe the MII device.
* Ask for an interesting set of interrupt conditions.
* Correct various other typos and omissions.
1999-12-14 23:58:15 +00:00
pk
ea69621efe Add a missing register offset. 1999-12-14 23:54:41 +00:00
ad
a8112faedb - Squash a few stylish nits.
- Move font flags to wsfont.h. There is a point to this. I'll remember soon.
1999-12-14 22:35:17 +00:00
ad
977e07ff58 Note that per-depth initialization functions shouldn't be called by mere
mortals.
1999-12-14 22:25:13 +00:00
ad
88ad70226e The ri_hw member was added to 'struct rasops_info'. This does the same thing
as ri_priv; since ri_priv is not used anywhere in the kernel, nuke it.
1999-12-14 22:20:28 +00:00
oster
fe0726b921 Whoops! Neglected to initialize the buffer queues for anything other
than raid0.  Fix that...
1999-12-14 15:27:00 +00:00
augustss
3c1b8138f7 Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.
1999-12-13 20:19:23 +00:00
drochner
ca8e2a94ea First cut on an EGA driver. For initial testing, lacks some EGA vs CGA/MGA
identification. Can share more code with VGA later.
1999-12-13 16:28:57 +00:00
drochner
106e6868db fix off-by-one error in font table initialisation
(mostly harmless because it is zero initialized in most cases anyway)
1999-12-13 14:04:06 +00:00
oster
c8753ea619 Rework how we do the 'wakeup' when an IO completes. 1999-12-12 20:52:37 +00:00
oster
706e3c13c0 Rename rf_DoAccessKernel() to raidstart() and cleanup arguments. 1999-12-12 20:52:16 +00:00
oster
e8a639b1df Rototill the IO throttle code. Rename rf_DoAccessKernel() to raidstart()
and cleanup arguments.  While we're here, cleanup raidstrategy(), and nuke
a bunch of unused debugging stuff.

RAIDframe + softdeps now play very nicely together.
1999-12-12 20:51:41 +00:00
tron
821c7a01f8 As suggested by Jason Thorpe back out revision 1.27 because it broke
PHY probing for the ThunderLan driver.
1999-12-12 17:55:21 +00:00
thorpej
014cd3fcc1 Take a stab at making this work on big-endian systems. 1999-12-12 17:46:36 +00:00
scottr
51fc367157 defopt RCONS_4BPP. 1999-12-12 08:17:28 +00:00
thorpej
afbb07a0e5 Use htole32() and le32toh(). 1999-12-12 02:53:56 +00:00
thorpej
3716f21b7e Use htole32(). 1999-12-12 02:50:40 +00:00
thorpej
a661b4e5dc Oops, forgot to byte-swap the receive descriptors. 1999-12-12 02:41:51 +00:00
explorer
4313f463a0 add 3com 575CT, which Dell (at least) seems to be shipping 1999-12-11 22:22:34 +00:00
thorpej
d4bb1032cb Handle the 21143 PMCSR, like we do in the PCI front-end. 1999-12-11 00:39:13 +00:00
thorpej
caae0e1aa1 - Don't try to run the chip in big-endian mode. Not all chips support
this consistently, and it doesn't always work even when the chip
  supports it.
- Make sure things DMA'd to the chip that the chip interprets are in
  little-endian mode.
1999-12-11 00:32:59 +00:00
thorpej
085bc011ab Add cardbus_get_capability(), cloned from pci_get_capability(). 1999-12-11 00:29:11 +00:00
kleink
c88b5146dc Add support code to have the Hardware Volume Control interact with the
software mixer Master Volume state in a defined way by lazily updating the
latter if input from the former was processed.
1999-12-10 19:13:00 +00:00
kleink
6d1d09f757 Add a symbolic name for the ES1946 rev. E in this place, too. 1999-12-10 16:50:52 +00:00
sommerfeld
d4cc45ba08 Fix hot-swapping for controllers which grab two ranges of port space.
(if the mapping of the second range succeeded, it would forget about
the window of the second address range, causing a subsequent insertion
event to fail..).

My Sony PCGA-CD51 now hot-swaps a lot better now.
1999-12-09 03:22:41 +00:00
oster
a0d72cb555 Trust only the data disk if the mirror is not known to be up-to-date.
(this should have been committed with a previous fix for the same
problem in another function in this file :( )
1999-12-09 02:26:09 +00:00
joda
9758d8ed66 check for NULL from malloc 1999-12-08 16:52:51 +00:00
mjacob
4b6c35ccaf Respond to a crucial security alert. 1999-12-08 11:01:44 +00:00
nisimura
fa5e192541 One small mod. escaped from the last commit. 1999-12-08 09:41:24 +00:00
simonb
9208af106d Protect against multiple inclusion. 1999-12-08 01:20:12 +00:00
thorpej
b67d4809ed Add a driver for the National Semiconductor DP83843 `PHYTER' 10/100
Ethernet PHY.
1999-12-07 19:36:37 +00:00
thorpej
ff4a32590d When checking the SROM checksum, if the standard location fails, try
the new standard location (according to the SROM format update document
for the 21143).  From Masanori Kanaoka.
1999-12-07 18:24:01 +00:00
thorpej
546480874c After reading the 21143 manual again, make sure SNOOZE is cleared in
the CFDA register, too.
1999-12-07 07:36:19 +00:00
thorpej
6e36651a27 Add the 21143 PMCSR offset, from Masanori Kanaoka. 1999-12-07 07:33:25 +00:00
thorpej
747d454ffe Add the PMCSR offset for the 21143, and make sure to bring the 21142
and 21143 out of sleep mode.  From Masanori Kanaoka.
1999-12-07 07:32:58 +00:00
thorpej
f773270d0d If, on the 21143, we find that we don't have an ISV SROM, try reading
it again, with 8 address bits.  21143 Pass 4.1 has a larger SROM,
for storing the CIS when used in a CardBus application.
1999-12-07 07:20:17 +00:00
thorpej
3d60aecdd7 Make sure to bring the chip out of sleep mode. From Masanori Kanaoka. 1999-12-07 07:11:49 +00:00
oster
bd19af5aad Nuke what's left of the DFSTRACE stuff. 1999-12-07 02:54:08 +00:00
oster
e65f9b7c87 More cleanup. DKUSAGE (what little was left of it) goes bye-bye. 1999-12-07 02:40:27 +00:00
oster
a38b721e5f Nuke the last few bits of RF_DEBUG_ATOMIC that should have
disappeared a while back.
1999-12-07 02:13:28 +00:00
augustss
8111aaeef9 Cosmetics and a couple of diagnostic messages. 1999-12-06 21:06:59 +00:00
drochner
0893832078 update for changed struct wsdisplay_accessops:show_screen signature.
no functional changes
1999-12-06 19:25:56 +00:00
drochner
162086b1cd do the screen switch asynchronously (via timeout(0)) if possible,
this hopefully helps for the (very rare) display corruption reported
in PR kern/8628
1999-12-06 18:54:50 +00:00
drochner
8996199a85 -allow the "show_screen" call to the display driver to complete
asynchronously, in the same style like the process attach/detach functions
-intercept the "cnpollc" call which originally went directly to the
 keyboard driver and keep track whether the console is in "polling" state
 (DDB!)
-pass a NULL callback to the screen switcher and the process attach/detach
 functions if the console is "polling", to tell them that asynchronous
 completion is forbidden
1999-12-06 18:52:23 +00:00
ad
801b079e37 If the vga driver isn't present in the kernel and PCDISPLAY_SOFTCURSOR
is set, then pcdisplay_cursor() should disable the hardware cursor first
time it is called.
1999-12-06 10:04:50 +00:00
danw
fa517eaed3 regenerate 1999-12-05 20:09:17 +00:00
danw
5a3161ddbc add Epson EEN10B ethernet 1999-12-05 20:08:39 +00:00
thorpej
9eea13a674 Mark exactly 3 uses of the SCR_BO() macro as being bogus; these 3 uses
already involve byte swapping on big-endian systems due to bus_space_*().

However, the use is self-consistent, and the value is not interpreted
by the chip, so it probably does not matter.  Leave them in for now; we
can always look at their removal later.
1999-12-05 19:40:18 +00:00
thorpej
8c1cbdbed5 Slight change to previous, to make it more obvious as to what's going on. 1999-12-05 19:33:13 +00:00
thorpej
d06db4b7da I have the feeling that OpenBSD has never tried the 53c825a, 53c875, 53c875j,
53c885, 53c895, or 53c896 on big-endian systems.
1999-12-05 18:40:46 +00:00
thorpej
389c599f35 Changes from the OpenBSD `ncr' driver to byte-swap the script on big-endian
systems.  Should make this go on e.g. the Apple Network Server.
1999-12-05 18:25:18 +00:00
mjacob
60416909de Oops. The compiler didn't catch this 'used before set'. Kudos
to Sean Doran for finding it and being nice in telling me.
1999-12-05 18:20:53 +00:00
drochner
c3026431e3 some cleanup:
-don't set capabilities at compile time
-since our accelerated putchar() doesn't underline, don't claim so
-remove bogus character range check - fonts are not limited to ASCII
-use rasops_unpack_attr() instead of relying on rasops internals
1999-12-04 14:01:56 +00:00
drochner
f0b63a4aa2 -use the right namespace for screen capabilities
-make attribute decomposing a bit more friendly if the caller doesn't
 care about underlines
1999-12-04 13:57:35 +00:00
ad
942f120fbf Lay it out like the other fonts. 1999-12-04 13:40:21 +00:00
ad
43e59084c4 - Stylistic cleanup.
- Make ifndef'ed out bits look less like a statement of intent.
1999-12-04 13:35:42 +00:00
ragge
6aabd4d0c2 CL* discarding. 1999-12-04 12:11:13 +00:00
castor
b8a6774e36 Add support for Lava Computers MFG 2sp-pci and quattro cards. 1999-12-04 05:43:44 +00:00
castor
165dc789fb Regen 1999-12-04 05:43:02 +00:00
castor
fce37d6113 Add vendor ID for Lava Semiconductor (http://www.lavalink.com) 1999-12-04 05:41:08 +00:00
thorpej
111b1dc2ee Regen. 1999-12-04 04:41:40 +00:00
thorpej
ddbe03436b Add some of the Compaq RAID controller IDs. 1999-12-04 04:40:57 +00:00
mjacob
53ecdaee6c Some queue related functions now use a u_int16_t. Turn some messages into
CFGPRINTF messages. Clear up the f/w download slightly. If less than
rev 5 2100 chip, turn off loop fairness. Clean up a botch or two.
1999-12-04 03:08:18 +00:00
mjacob
5854be051d Make sure we have a big enough buffer to sprintf into (noticed by
deraadt@openbsd.org).
1999-12-04 03:06:54 +00:00