Commit Graph

7150 Commits

Author SHA1 Message Date
enami c1b54794fc Add missing `cnt++'. 2000-03-07 03:37:39 +00:00
enami 7ce8a9f46b Also, fix indentation in previous commit. 2000-03-07 03:34:52 +00:00
oster 7c57ac56d7 Cleanup a couple of function declarations. No functional changes. 2000-03-07 03:09:47 +00:00
oster 51ffb0924c Create a new rf_close_component() to handle vnode operations for closing
components.  Teach rf_UnconfigureVnodes() how to use it, and tell
the copyback and reconstruction code about it too.
2000-03-07 02:59:50 +00:00
oster ddebc1cad0 Move rf_UnconfigureVnodes to rf_netbsdkintf.c where it will be more at home.
Add prototype to rf_kintf.h, and nuke old prototypes from rf_disks.c and
rf_driver.c .
2000-03-07 02:28:05 +00:00
oster 33a55d022b rf_ protect the component label print routine, and make it more easily
available to the rest of RAIDframe.
2000-03-07 02:12:13 +00:00
oster dbf5d1f7a6 Nuke unused code. 2000-03-07 01:54:29 +00:00
soren dfaacf6eab Fix bug in previous. 2000-03-07 01:08:55 +00:00
thorpej 8f8714687b Reenable the code that clears SLEEP and SNOOZE from the CFDA register. 2000-03-07 01:08:47 +00:00
soren 6cc1408bca Only print SROM size if TLP_DEBUG. 2000-03-07 01:06:12 +00:00
mycroft 4887635a10 A few things:
* Take advantage of the tulip_read_srom() changes.
* Don't frob the so-called `CFDA' register.  We're really looking for the
  PMCSR, which is in a different location anyway.
* Don't panic if we detach an interface for which we never called tlp_attach().
2000-03-07 00:43:36 +00:00
mycroft 5eee9ca94c Determine the size of the SROM by probing the chip using the standard Microwire
protocol.  Eliminates the need for srom_quirks and some other trash.
2000-03-07 00:39:17 +00:00
mycroft 064b1bd2e9 Fix obvious typo. 2000-03-07 00:33:13 +00:00
mycroft 8b13d21260 Do a CARDBUS_BM_ENABLE to be sure. 2000-03-07 00:32:52 +00:00
mycroft de8398315a Fix an obvious bug that caused I/O space to never be freed.
Also, don't use rbus_space_free() directly.
2000-03-07 00:31:46 +00:00
mycroft bcdcb370e5 Called the power function even for 5V cards. This at least gives the power
a chance to stabilize before we frob the card.
2000-03-07 00:30:57 +00:00
thorpej 42144199a1 - Make the pcppi and pckbd drivers cooperate a little more -- pckbd provides
a call to hook up a bell-ringer (since the keyboard itself has no bell).
  This eliminates the need for #ifdefs for the bell-ringer in the pckbd
  driver.
- Add cnbell() support to pckbd.
2000-03-06 21:40:08 +00:00
thorpej da4dc67d3e Add cnbell() support. 2000-03-06 21:37:16 +00:00
thorpej a183d34f04 - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
thorpej 91c44a72b8 Set ifp->if_baudrate as appropriate. 2000-03-06 21:02:37 +00:00
thorpej a6f861574a No longer necessary to futz with ifp->if_baudrate here. 2000-03-06 21:02:00 +00:00
augustss 41aade98ba Generate better error codes on bulk write. 2000-03-06 20:59:17 +00:00
augustss 119a2a3a80 Remove irrelevant comment. 2000-03-06 20:58:39 +00:00
augustss e0cb11e30e Use macros from usb.h instead masking out bit explicitely. 2000-03-06 20:58:18 +00:00
thorpej ad61d101be Factor out the tick handling code into a common function, and send
rt_ifmsg's when the link speed or link status changes.
2000-03-06 20:56:56 +00:00
bouyer c34cce88c4 Add support for the AMD 756 DMA/UDMA IDE controller, provided in
PR kern/9536 by Dave Sainty.
2000-03-06 18:02:26 +00:00
enami 68484a4ad9 - Remove redundant assignment.
- Don't disestablish shutdown hook if we can't establish it.
- Noneed to manage resouces individually.
2000-03-06 10:31:27 +00:00
enami 9066b12bbb Remove redundant assignment. 2000-03-06 10:21:46 +00:00
perry d97becf28e Make Creative Soundblaster PCI 128's work -- from Masahiro Ishiyama
Note that on device close, there's a sharp pop that probably should be fixed.

Note also that the device is hanging the machine at times for brief
periods inside audio.c::audiogetinfo(), but I haven't yet figured out
why.
2000-03-06 03:18:11 +00:00
mhitch e65044e30d Get rid of hook for dk_establish() - pmax will now use device_register(). 2000-03-06 03:08:32 +00:00
mark c74ea28746 Support the W89C940F alternative ID. 2000-03-06 03:07:08 +00:00
mark 9e870c5a88 Regenerate from pcidevs. 2000-03-06 02:32:31 +00:00
mark 1a0eab6fa3 Add SYMPHONY 83C553 PCI-ISA bridge.
Add alternative ID for Winbond W89C940F.
2000-03-06 02:31:19 +00:00
soren d610ec4cb0 Add Norwegian keymap from Haavard Lygre. 2000-03-05 08:56:53 +00:00
elric 23af6e53fd Moved things around a bit so that TGA2 can be used as a console.
Addresses PR:  port-alpha/9542
2000-03-05 07:57:52 +00:00
elric 1dfdd10eae I got the mode sense bits of the monitor wrong they needed a twiddle (~). 2000-03-05 02:30:57 +00:00
tron c98328e9df Regen from "pcidevs". 2000-03-04 13:24:24 +00:00
tron 947ec630de Add AMD Athlon chipset related devices. Patch supplied by Dave Sainty in
PR kern/9533.
2000-03-04 13:23:26 +00:00
elric f939818426 Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c.  Disabled tga_bt463.c, which we don't
currently support.
2000-03-04 10:27:59 +00:00
elric b16807c51a Graphics card independant Bt485 code, derived from dev/pci/tga_bt485.c. 2000-03-04 10:25:57 +00:00
elric c4019af322 Definitions of standard TGA monitors as used by DEC. 2000-03-04 10:25:07 +00:00
elric 7428bb6ffd Definition of struct monitor, which contains syncs, and dot clocks. 2000-03-04 10:24:34 +00:00
elric fec44d6f55 Header for a generic RAMDAC that can be reused between different
graphics cards.
2000-03-04 10:23:39 +00:00
oster 1231bd6d14 Umm... don't allow attempts to configure the same RAID device multiple times.
The check was there, but the return() was missing :(
2000-03-04 06:03:21 +00:00
mhitch 3b06f6f887 Fix boot device detection. Device probes are not done when adapters are
configured, but after all adapters have been configured.  When multiple
adapters are present, only the last configured adapter could be matched
to the boot device slot.  The adapter attach routines now check if that
adapter slot matches the boot device slot and saves the softc pointer
for that controller.  Then when the disks are configured, dk_establish()
matches the appropriate controller.
2000-03-04 05:43:51 +00:00
oster 0049933f0f Reorganize some comments. 2000-03-04 04:22:34 +00:00
oster 194aba4e41 Garbage collect the (already disabled) "random" queue type. 2000-03-04 03:27:13 +00:00
oster 612e2e8f92 Nuke an unneeded #define. 2000-03-04 03:22:17 +00:00
is d8bf2eb8ef - we didn't write enable toe config1-3 registers before trying to set the
media.
- read out original settings to find out what the defaults (EEPROM) for this
  board were, instad of hardwiring to auto.
XXX the first might need further refinement. At least on my boards, 10baseT
doesn't work for 10baseT, only AUTO.
2000-03-03 21:37:18 +00:00
oster 88a8d06a0b Use the common disk allocation code, rather doing things the old way. 2000-03-03 03:47:17 +00:00