Commit Graph

36690 Commits

Author SHA1 Message Date
augustss
0a425e1f3d Generate an error message if starting a transfer fails. 2000-04-02 21:25:41 +00:00
thorpej
2bc5adb20e Instead of checking vm_physmem[<physseg>].pgs to determine if
uvm_page_init() has completed, add a boolean uvm.page_init_done,
and test against that.  Use this same boolean (rather than
pmap_initialized) in pmap_growkernel() to determine if we are
being called via uvm_page_init() to grow the kernel address space.

This fixes a problem on some i386 configurations where pmap_init()
itself was needing to have the kernel page table grown, and since
pmap_initialized was not yet set to TRUE, pmap_growkernel() was
choosing the wrong code path.

Fix tested by Havard Eidnes.
2000-04-02 20:39:14 +00:00
thorpej
d8be1024c1 Make this compile again after the callout changes. 2000-04-02 19:54:29 +00:00
mycroft
8aeb8df354 Add a flag to tell whether a MAC address was actually found in the CIS.
XXX This whole piece of code should go away ASAP.  We should use a callback
as in the PCMCIA code.  In fact, we should use the PCMCIA code...
2000-04-02 19:11:37 +00:00
thorpej
dc680eb373 Slight correction to last: really only do it if it's a 21142 or 21143. 2000-04-02 19:02:34 +00:00
nathanw
f5b5bbbf21 Add code to read and write bt463-style ramdacs; pick ramdac interface
functions based on type returned from tga_getconf().
Adapt to change in ramdac interface.
Fix race condition in tga_sched_update().
Make tga_sched_update() work before interrupts are enabled.
2000-04-02 19:01:11 +00:00
nathanw
bc3260fcb0 Restore ramdac-type field to TGA configuration structure. 2000-04-02 18:59:32 +00:00
nathanw
c0a4c9e67d Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.
2000-04-02 18:57:36 +00:00
nathanw
c66f54d73d Adapt to change in ramdac interface. 2000-04-02 18:55:01 +00:00
nathanw
2b4ac6a7b9 Add ramdac_register() to interface structure. 2000-04-02 18:54:33 +00:00
mycroft
e70fd4b33c During the socket probe, read the ident register twice.
I don't understand why, but sometimes the clone chips in hpcmips boxes read
all-0s the first time.
2000-04-02 18:29:14 +00:00
augustss
7246364f07 With SCSIVERBOSE, only print sense data if there actually is a problem. 2000-04-02 17:58:17 +00:00
augustss
7797648425 Change the initial field in struct ata_atapi_attach and struct scsipi_link
slightly to allow scsibus and atapibus to attach to the same device.
Furthermore, only attach a scsibus when the bus type is BUS_SCSI.
2000-04-02 17:25:52 +00:00
mycroft
229fcf5bbe When using MII on 2114[23] chips, zero the SIA TXRX register to disable the
internal Nway engine.  This fixed a major performance problem.
Thanks to Matt Thomas for pointing this out.
2000-04-02 17:23:33 +00:00
minoura
78b105698a Move dl* function definitions to libc on ELF.
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html.
2000-04-02 15:35:47 +00:00
tsubai
b18b370715 Make sure color rgb:0/0/0 is black. 2000-04-02 12:53:05 +00:00
tsubai
7df13bfec7 Enable wdc1 (needed on StarMax). 2000-04-02 12:36:38 +00:00
tsubai
e352cada4b Make this compile again. 2000-04-02 12:03:04 +00:00
tsutsui
fa07b81e43 Make to match also MII_OUI_DAVICOM.
(This seems to work, but any GENERIC does not have dmphy...)
2000-04-02 03:06:19 +00:00
enami
28d49dce4e Add missing protect from disk interrupt while calling scsipi_free_xs. 2000-04-02 03:05:55 +00:00
itojun
f564201ae9 sync with ata driver change (dma_start args). 2000-04-02 02:07:52 +00:00
is
389ed19c62 Start to define an INSTALL kernel. 2000-04-01 20:21:27 +00:00
soren
5932e9f765 Match new prototype of pciide_dma_start in pciide.c. 2000-04-01 20:17:12 +00:00
bouyer
3b69a8011b make it compile again after ATAPI changes. 2000-04-01 17:52:14 +00:00
bouyer
b2cd1f029a Bump delay() from 100 to 1000000 before attempting a IDENTIFY just after a
reset - solves a problem reported by cpg@aladdin.de.
2000-04-01 14:50:32 +00:00
tsutsui
ef28a8deb8 Typo. (callout_rest -> callout_reset) 2000-04-01 14:41:13 +00:00
tsutsui
294b27df46 Fix typo. (s/sc_adapter/sc_link/) 2000-04-01 14:38:42 +00:00
bouyer
26f6c9a9cf - DMA code cleanup: pciide_dma_finish() doesn't stop/unload the current DMA op
if an IRQ was not detected, unless the force flag was given. Use this to
  detect if the IRQ was for us (closer to shared IRQ for controllers which
  don't have their own IRQ handler in pciide.c) and to poll for DMA xfer.
  Also makes the timeout recovery code simpler.
- ATAPI cleanup: don't call controller-specific functions from atapiconf.c
  (wdc_*), so that it's possible to attach an atapibus to something else
  than a wdc/pciide (Hi Lennart :).
  Overload struct scsi_adapter with struct atapi_adapter, defined
  as struct scsi_adapter + atapi-specific callbacks. scsipi_link still points
  to an scsi_adapter, atapi code casts it to atapi_adapter if needed.
  Move atapi_softc to atapiconf.h so that it can be used by the underlying
  controller code (e.g. atapi_wdc.c).
  Add an atapi-specific callback *atapi_probedev(), which probe a drive
  in a controller-specific way, allocate the sc_link and fills in the
  ataparams if needed. It then calls atapi_probedev() (from atapiconf.c)
  to do the generic initialisations and attach the device.
- While I'm there merge and centralise the state definitions in atavar.h.
  It should now be possible to use a common ata/atapi routine to set the
  drive's modes (will do later).
2000-04-01 14:32:22 +00:00
tsutsui
3d917bfc34 Add OVERLAY and RAID_AUTOCONFIG. (sync with GENERIC) 2000-04-01 14:00:29 +00:00
augustss
7311856f29 Add a delay before reading the number of ports from the controller to
avoid getting 0 from it.
2000-04-01 09:27:35 +00:00
takemura
9afabc7add Recompile binaries for Mobile Pro 700. 2000-04-01 02:37:23 +00:00
castor
5e29a96b48 Make standalone in_cksum work on little-endian machines, too, courtesy of
Jeff Smith, <jeffs@geocast.com>.
2000-03-31 19:55:09 +00:00
ragge
fe43e9f08f Fix spelling error. 2000-03-31 18:40:58 +00:00
soren
0551ccb4d4 Typo. 2000-03-31 15:00:49 +00:00
soren
278498c05f Some cleanups. 2000-03-31 14:51:49 +00:00
jdolecek
c42f28d24a Since last duplicate prototype cleanup, we need to include
<netinet/ip_mroute.h> to get ip_mforward() prototype if MROUTING
is defined.
2000-03-31 14:31:03 +00:00
jdolecek
a59a99b6dc Slighly improve previous - only include <netinet/ip_mroute.h> if MROUTING
is defined.
2000-03-31 14:27:17 +00:00
tsutsui
8c8679f1ac Remove declaration of kd_rom_intr(). It is not needed on sun3. 2000-03-31 14:24:03 +00:00
tsutsui
49e70b6653 Add include <vm/vm.h> and <uvm/uvm_extern.h> for
declaration of uvm_swapin(), which is no longer in <sys/proc.h>.
2000-03-31 14:18:53 +00:00
hubertf
ca4c16d936 Note that the Handspring Visor is a Palmpilot compatible PDA. 2000-03-31 13:08:01 +00:00
jun
657c5b4130 add Mobile Pro 700 2000-03-31 13:01:17 +00:00
pk
b6a73eb3a1 Make this compile without RASTERCONSOLE too. 2000-03-31 12:58:54 +00:00
jun
ad4db7ca62 add NEC Mobile Pro 700 2000-03-31 12:53:06 +00:00
jun
2c3c66ea0c regen. 2000-03-31 12:46:23 +00:00
soda
18dbe75d6e cancel previous change, and add a comment about it.
$INCS variable is introduced by cgd to export kernel headers which
are needed from userland. In other words, $INC should only have
headers for kernel <-> userland programming interface.
Headers for kernel internal implementation should not be exported
to userland.
2000-03-31 11:44:05 +00:00
jdolecek
c2acbd102b include <netinet/ip_mroute.h> for ip_mforward() - needed after
last duplicate prototype sweep (prototype for ip_mforward() used to be in <netinet/ip_var.h>)
2000-03-31 08:34:20 +00:00
scottr
4d23f7686d Attach all displays, keyboards, and mice, not just the first
ones found.
2000-03-31 08:27:43 +00:00
tsarna
56e25c18bb Add and enable auvia 2000-03-31 04:47:52 +00:00
tsarna
07dea214dc Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.
2000-03-31 04:45:28 +00:00
oster
cf0b47bd0e Minor cleanup of unneeded verbosity. 2000-03-31 02:05:24 +00:00