Commit Graph

62744 Commits

Author SHA1 Message Date
christos
f8c9a1f999 Delint:
- add notreached comment
	- remove unused variables
	- cast to void * first to avoid casting warnings
	- fix bug in _yphostent where cur and sentinel were not
	  being initialized.
2000-04-02 21:30:37 +00:00
christos
a86a7b415a protect getopt_long. 2000-04-02 21:27:14 +00:00
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
christos
7c693afd21 oops, forgot the man page... 2000-04-02 20:34:18 +00:00
christos
f44fd4a857 add getopt.h 2000-04-02 20:33:21 +00:00
christos
eb217b928c bump minor for getopt_long 2000-04-02 20:31:20 +00:00
christos
bfb2439e73 Remove sections relevant to getopt, and add implementation differences. 2000-04-02 20:30:07 +00:00
christos
6dfafca13a New getopt_long from Thomas Klausner and Dieter Baron 2000-04-02 20:27:58 +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
59816535a2 Update libc.so version. 2000-04-02 15:39:54 +00:00
minoura
174ea88d9f Bump minor version (dlfcn change). 2000-04-02 15:38:36 +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
simonb
0b559da2d6 Include -r flag in usage message. 2000-04-02 12:46:04 +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
augustss
d8dcced006 Some const poisoning. Suggested by Dave Sainty <dave@dtsp.co.nz> 2000-04-02 11:10:53 +00:00
augustss
1e5140923a Allow setting data without clearing it first. From Dave Sainty <dave@dtsp.co.nz> 2000-04-02 11:02:21 +00:00
christos
2effe6c79a backout previous. the definition of struct option caused too many namespace
collisions. Instead, define getopt_long in getopt.h and getopt in unistd.h
where it belongs.
2000-04-02 06:32:41 +00:00
billc
cbfdcd8cc0 backout previous changes. 2000-04-02 06:31:58 +00:00
billc
38a39a9ac0 namespace collision with getopt change (struct option -> libwrap_option) 2000-04-02 03:53:15 +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
hubertf
d071991a9a Don't abort during quick depends pre-scan when -f is used 2000-04-01 23:31:39 +00:00
christos
a91d8b9ec7 Add getopt.h and collect all the getopt related stuff here.
Make unistd.h include <getopt.h> to get the getopt stuff.
This adds support for getopt_long from Dieter Baron and Thomas Klausner.
2000-04-01 22:37:14 +00:00
hubertf
f996345ebf Improve the last change.
Handling all kinds of wildcards properly would be hard, though it should
handle some cases better now. Esp. ones with '-' in the pkg(!) name, and/or
ones with dewer relational versions. I.e. the teTeX-share>1.97 case should
work now.
2000-04-01 22:12:45 +00:00
mjl
68fdf492b5 Correct data type mismatch of "rows" with extern declaration. Possible
LP64 issue (long vs int). Fixes OpenBSD PR/1167 :)
2000-04-01 20:44:43 +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
erh
5aef3fa29b Make mbstowcs and wcstombs work correctly when handed NULL pointers. 2000-04-01 19:42:57 +00:00
bouyer
3b69a8011b make it compile again after ATAPI changes. 2000-04-01 17:52:14 +00:00
augustss
93336646e4 Make this compile again. 2000-04-01 14:54:51 +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