Commit Graph

112348 Commits

Author SHA1 Message Date
bjh21
d2fb15abf0 bcrypt_gensalt() isn't defined in any X/Open standard I've got convenient
access to, so move it into the _NETBSD_SOURCE section.
2003-05-05 14:49:31 +00:00
bjh21
ff81b6d549 Header cleanup: Hide all of this file apart from the socket options
from POSIX/XNS applications.
2003-05-05 14:36:13 +00:00
bjh21
86abe62ffa Header cleanup:
* IPv6 functions are in POSIX-2001, so make them visible there.
* freehostent(), getipnodebyaddr() and getipnodebyname() are _only_ in
  XNS5.2, so don't expose them to XSH6 or POSIX applications.
2003-05-05 14:20:03 +00:00
bjh21
8724ced8ae inet(3): align signatures of inet_addr(), inet_network(),
inet_makeaddr(), inet_lnaof(), and inet_netof() with XNS and
                POSIX.  [bjh21 20030505]
2003-05-05 14:16:09 +00:00
bjh21
83939562ef Document signature changes to inet_addr() and friends. 2003-05-05 14:04:50 +00:00
bjh21
77de1304d5 Fix the signatures of inet_addr(), inet_lnaof(), inet_makeaddr(), inet_netof(),
and inet_network() to match XNS and (where applicable) POSIX.  This is largely
just the replacement of unsigned long with in_addr_t.

This constitutes a small ABI change on sh5, but scw (sh5 portmaster) thinks
that both the users of that port will be able to cope.  kleink claims the
change is ABI-neutral on other LP64 ports, and it's a no-op on ILP32 ports.
Hence, I'm doing it this way and avoiding the whole __RENAME dance.
2003-05-05 13:56:13 +00:00
hubertf
76a6e18152 use nm(1) to output decimal values immediately, instead of relying on a
(non-working) sh(1) construct.

Reviewed by simonb & bjh21.
2003-05-05 13:38:23 +00:00
he
4e26b71f48 Remove declaration of unused local variable: kernel_ptpt. 2003-05-05 13:29:44 +00:00
yamt
93fa2d7018 remove _KERNEL hack. 2003-05-05 13:23:10 +00:00
yamt
6f30440f90 keep things not needed by userland in #ifdef _KERNEL.
(e.g. prototypes for in-kernel functions)
2003-05-05 13:21:00 +00:00
fvdl
31826208ad Define PCI32_DMA_BOUNCE_THRESHOLD 2003-05-05 13:04:29 +00:00
fvdl
6bd0c9f44d Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h. 2003-05-05 12:55:41 +00:00
dsainty
ee6dbf8959 Regen. 2003-05-05 11:59:13 +00:00
dsainty
da6d9d4cb0 Add 3in1 MobileDrive product (inside the Dick Smith ProDrive) 2003-05-05 11:56:27 +00:00
tsutsui
cc824a41ce Remove .pdr section on converting kernels to ECOFF.
(sync with sys/arch/arc/conf/Makefile.arc.inc rev 1.9)
2003-05-05 11:41:07 +00:00
wiz
7a15b67bd3 EtherLink, not Etherlink; from Leandro Costa via jmc@openbsd. 2003-05-05 09:38:35 +00:00
martin
ae2073f3d8 Make all non-trivial bus space functions "static __inline" (consistently)
and turn all macros with local blocks and declarations into functions.
This fixes PR 19975.
2003-05-05 09:36:51 +00:00
martin
57482255bc When overwriting the cache line size configuration, do not use the magic
value 0x10, but instead calculate a line size that is properly aligned
to the IOMMU strbuf cache and our external cache line size.
From FreeBSD.
2003-05-05 07:51:26 +00:00
igy
f97f3c0df9 code cleanup 2003-05-05 04:34:48 +00:00
igy
a1b8c84497 using high vector page 2003-05-05 04:23:26 +00:00
dbj
3359b0ac58 force nm addresses in hex and add 0x prefix before handing numerical
expression to the shell.
2003-05-05 02:47:42 +00:00
fvdl
a4777405c5 unifdef bus/segv/ill logging. 2003-05-04 23:51:56 +00:00
fvdl
9756b6a911 Follow i386, and mask deferred level-triggered interrupts at the ioapic. 2003-05-04 23:46:41 +00:00
kristerw
204dc598d9 Change the type of the 'code' parameter of ahc_send_async() from u_int
to ac_code to agree with the function definition.
2003-05-04 23:37:27 +00:00
fvdl
2cd70f0da1 Block level-triggered interrupts at the ioapic if they are deferred.
Avoids interrupt storms seen on some systems. Many thanks to
Stoned Elipot for testing.
2003-05-04 22:01:56 +00:00
martin
d22ec31292 Move the bus speed query code into it's own function and make it default
to 33 MHz. Cosmetics, no functional change.
2003-05-04 21:36:26 +00:00
ad
bd17d709ab Xref amr. 2003-05-04 16:18:32 +00:00
ad
225c45d817 Enable the amr driver. 2003-05-04 16:16:18 +00:00
ad
a079c0eb98 - Fix the mailbox protocol. Not tested with newer 'Quartz' controllers.
- Handle failure during initalisation more gracefully.
- Create a watchdog thread to poke the board and check for status changes.
- Make ready for > 64kB transfers.
2003-05-04 16:15:35 +00:00
atatat
535d709586 Build main.c with LOCKDEBUG defined so that it gets the larger kbit
definition.  Since we're now passing it into pmap.c which is already
compiled that way, it would be nice if it was the right size.

Also, fix a memset bug that caused a segmentation fault when printing
the kernel's vm_map.
2003-05-04 15:09:45 +00:00
christos
a617975d48 print how big the mtu needs to be for ipv6 ppp. 2003-05-04 13:43:09 +00:00
fvdl
cfb43ff372 Default to -O2 for x86_64. 2003-05-04 12:05:50 +00:00
fvdl
041046e740 Default to -O2. 2003-05-04 12:03:41 +00:00
fvdl
7a214454f6 Correct save FP state for signals. 2003-05-04 12:00:14 +00:00
jmmv
6c34824459 Explicitly close open file descriptor before exiting. 2003-05-04 11:54:59 +00:00
yamt
777190167d fix handling of the case that readsize == 0. 2003-05-04 11:40:22 +00:00
tsutsui
2fb7363e5d Check arc_displayc_id before calling vga_isa_cnattach(). 2003-05-04 10:37:48 +00:00
tsutsui
ff776a0f93 Remove (deprecated) DMA functions in jazz/dma.c which are no longer used.
jazz/dma.h now only contains DMAC register definitions.
2003-05-04 10:07:50 +00:00
tsutsui
0bcf529e7f Rewrite jazzio asc SCSI driver to use MI ncr53c9x and bus_dma(9) with
BUS_DMA_ALLOCNOW flag for jazzio bus DMAC.

Tested on Soda's NEC Image RISCstation (which is an OEM of Acer PICA),
and should fix port-arc/13388.
2003-05-04 10:01:19 +00:00
gmcgarry
5e5ffccb2b ANSIify. 2003-05-04 06:36:50 +00:00
lukem
cd93af5dd7 use "rm -f $@ ; ln -s ... $@" instead of "ln -sf ... $@" 2003-05-04 06:36:37 +00:00
lukem
83fa31ab4c be consistent with other Makefiles here and invoke "rm -f" separately to ln -s 2003-05-04 06:32:39 +00:00
lukem
1d22d3e3ca replace "ln -sf .... $@" with "rm -f $@ && ln -s .... $@"
since the latter works correctly ...
2003-05-04 06:25:10 +00:00
simonb
8bfe136eca Remove a duplicate load of "a1" in page_zero (a PAGE_SIZE vs NBPG botch). 2003-05-04 04:56:33 +00:00
gmcgarry
dda0ea0697 Filename typo 2003-05-04 04:42:47 +00:00
simonb
f426b1ecfe Use 64-bit "sd" in mips_pagezero() if we're compiled for MIPS{3,4,64}
(the actual check is !MIPS1 && !MIPS32).

Do the ".set push", ".set mips3", ".set pop" dance if we use 64-bit
instructions.
2003-05-04 02:53:53 +00:00
gmcgarry
9687966318 Fix from Steve Peurifoy in PR#18849:
"Occasionally a blocking open of dcm port 0 will hang in ttyopen()
waiting for carrier detect to be asserted when it's already
present.

The problem is that dcmmint() will return before updating the
value of sc->sc_mcndlast if the device is not open.  If carrier
detect drops after the device is closed, sc->sc_mcndlast will
no longer correctly represent the "previous" state of the
signals when the next transition of carrier detect occurs.
A subsequent blocking open will wait forever for an event
which has in fact taken place."
2003-05-04 02:10:07 +00:00
thorpej
a6b1913724 Make the ARM_VECTORS_* unsigned. 2003-05-04 02:00:10 +00:00
gmcgarry
b01d08c7d6 Add description for NBUF. From Greg A. Woods in PR#17397. 2003-05-04 01:56:52 +00:00
thorpej
46ffc57a80 VM_{MIN,MAX}* are now the same for ARM32_PMAP_NEW with both new and
old VM layout, so merge the two cases.
2003-05-04 01:54:32 +00:00