Commit Graph

111677 Commits

Author SHA1 Message Date
fvdl 0a98e2c329 Correct the previous commit, getmcontext has no local 'gr' variable like i386. 2003-04-17 09:36:47 +00:00
fvdl 0545901d27 configdirs was changed to an array of u_int8_t, so don't compare values
to 65535.
2003-04-17 09:32:43 +00:00
fvdl 4589db98fb Skip over inodes <= ROOTINO for getnextinode(). PR 21208 by Geoff Wing. 2003-04-17 09:21:01 +00:00
itojun bf3ca3dcee do not assume 32bit (%d fits into 12 chars); sumikawa@freebsd 2003-04-17 07:37:05 +00:00
wiz 9cc5547d96 postfix-2.0.8 out. 2003-04-17 06:26:04 +00:00
lukem 85828b646a clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-17 04:01:56 +00:00
lukem c6af0a620d clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 03:25:56 +00:00
lukem 08b87159f0 check strtol for ERANGE overflow too... 2003-04-17 02:59:29 +00:00
lukem 6d7ad1a836 clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 02:54:07 +00:00
lukem e7fa9814b3 clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 02:41:21 +00:00
thorpej b7394dfe47 Adapt to the sysmon_pswitch interface. 2003-04-17 01:34:14 +00:00
thorpej ea45f2ccc1 Oops, remove a debugging define. 2003-04-17 01:26:41 +00:00
thorpej 59ea64b6f0 * Don't do the ACPI_PCI_FIXUP unless it is explicitly enabled in
the kernel config file.  That code makes a total mess of any
  system with multiple PCI busses.
* Rework the way buttons are handled; register them with sysmon,
  and let it take the appropriate action.  This lets us gracefully
  shut down when the power button is pressed.
2003-04-17 01:22:21 +00:00
thorpej b0f79c65ce Start at a power management framework for sysmon. Right now we just
provide some VERY basic support for power/sleep buttons and lid switches;
if someone presses the power button, shut down the system semi-gracefully.

Eventually, we will send events for all types of button/lid events down
to a userland power management daemon, which will be able to define a
separate policy for each button/switch.
2003-04-17 01:02:21 +00:00
thorpej 9871c6a16c libcrypto no longer depends on libcrypt, so there is no need to build
it early.
2003-04-17 00:33:44 +00:00
thorpej aef8e968bf Don't link libcrypto against libcrypt; that doesn't work on systems
that don't support shared libraries.  Instead, build the NetBSD crypt(3)
library directly into libcrypto.
2003-04-17 00:32:22 +00:00
thorpej 90099f5fe1 hrink the Blowfish routines down to only what we need for __bcrypt(),
and don't export any of the Blowfish functionality outside bcrypt.c.
2003-04-17 00:31:04 +00:00
thorpej d1bb0be3e8 If libcrypto is defined, use the MD5 routines from libcrypto, rather
than from libc.
2003-04-17 00:29:43 +00:00
nathanw 2362be75a3 cpu_getmcontext: Test for the the presence of FP state in a LWP by
looking for MDP_FPUSED in l->l_md.md_flags, instead of
l->l_addr->u_pcb.pcb_fpcpu being non-NULL. The latter indicates that
FP state is live in the FPU *now*, but doesn't indicate whether there
is any state saved in the PCB.
2003-04-17 00:15:19 +00:00
thorpej 9cac2cc6d1 Add mpt(4). 2003-04-16 23:39:02 +00:00
thorpej e56e76188e Fix a typo. 2003-04-16 23:36:22 +00:00
thorpej f2e804cd79 Add mpt(4). 2003-04-16 23:34:30 +00:00
petrov 62ba316156 rasops32_putchar: don't paint character out of font limits. 2003-04-16 23:28:41 +00:00
dogcow 9dcae77e06 note addition of ip.checkinterface sysctl (and credit it to christos, since
he was the one who actually added it.)
2003-04-16 23:26:10 +00:00
thorpej 6f2e904450 Use the standard fixed-sized types on NetBSD. 2003-04-16 23:24:01 +00:00
thorpej 6c29c1f6fb In the polling case, don't call mpt_timeout() twice. 2003-04-16 23:17:30 +00:00
thorpej 98f531d377 mpt_dma_mem_alloc(): If we fail, only destroy request DMA maps that
were actually created.
2003-04-16 23:16:41 +00:00
thorpej 81a8dadfcf Correctly sync the MPT request buffers, and remove BUS_DMA_COHERENT
from the mapping of those buffers.
2003-04-16 23:02:14 +00:00
dsl 60c3e62a42 Add files for 2nd stage boot loader 2003-04-16 22:36:14 +00:00
thorpej f3fa84cd7c Xref mpt(4). 2003-04-16 22:34:01 +00:00
dsl b10e65e490 Uncomment line that deletes tempory file 2003-04-16 22:34:00 +00:00
thorpej 5ebfe547e4 Add mpt(4). 2003-04-16 22:33:29 +00:00
thorpej 9bb07287c3 Manual page for the LSI Fusion-MPT SCSI/Fibre Channel driver. 2003-04-16 22:32:15 +00:00
dsl 415cb92c98 Add functions needed by new boot code 2003-04-16 22:30:40 +00:00
dsl 2737b135d5 bootxx: bootstrap code - installable by MI installboot.
Loads /boot using filesystem accesses (rather than a list of block numbers)
2003-04-16 22:27:35 +00:00
dsl eb2692a8d2 bootxx: bootstrap code - installable by MI installboot.
Loads /boot using filesystem accesses (rather than a list of block numbers)
2003-04-16 22:16:36 +00:00
thorpej 3bef3105ca Note the new mpt(4) driver. 2003-04-16 22:12:17 +00:00
thorpej 7e4fd7b547 Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters.  Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley.  Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.
2003-04-16 22:02:59 +00:00
christos 80ecd573c0 PR/1796: John Kohl: statfs misbehaves under chrooted environments.
- Under chroot it displays only the visible filesystems with appropriate paths.
- The statfs f_mntonname gets adjusted to contain the real path from root.
- While was there, fixed a bug in ext2fs, locking problems with vfs_getfsstat(),
  and factored out some of the vfsop statfs() code to copy_statfs_info(). This
  fixes the problem where some filesystems forgot to set fsid.
- Made coda look more like a normal fs.
2003-04-16 21:44:18 +00:00
dsl c8db3bdc65 Partially reverse previous change.
Reset RTC only if ntp is running or adjtime system call has changed time.
2003-04-16 21:37:37 +00:00
dsl 8a94d0064f Remember if ntp has adjusted clock rate, hardware RTC may be wrong. 2003-04-16 21:35:07 +00:00
dsl 8eefc5d061 Flag that adjtime has happened, hardware RTC might be wrong 2003-04-16 21:34:15 +00:00
nathanw c4921eb479 Remove extra right paren. 2003-04-16 21:08:06 +00:00
is 5a5a2a6da3 make /dev/reload optional (it is implemented for a.out kernels only, at
the moment.)
2003-04-16 20:43:29 +00:00
is cf2e4206b1 make /dev/reload optional. (It is only implemented for a.out kernels at the
moment.)
2003-04-16 20:42:34 +00:00
thorpej ce68b169df * Change the APIs that handle the sync period to work with 100ths of ns,
rather than 10ths of ns.  This is necessary in order to represent
  Ultra320 SCSI.
* Add Ultra320 SCSI to the scsipi_syncparams[] table.

We're not going to bother bumping any version numbers with this change; only
the "hba" driver uses scsipi_sync_period_to_factor(), and the uses of
scsipi_sync_factor_to_period() are all internal to the scsipi code.  Most
things just pass the factor around, which is unchanged by this.

Reviewed by Frank van der Linden.
2003-04-16 20:25:59 +00:00
christos c0d7b8d87a move declaration of getcwd_common and constant to the header file. 2003-04-16 20:00:03 +00:00
dsl 35632a80ac lfs code is built from ufs.c 2003-04-16 19:52:58 +00:00
dsl 01761b17f4 Remove unnecessary caddr_t casts 2003-04-16 19:20:33 +00:00
dsl ab1f41a716 Add definitions (#defined out) to pass the result of the v3.x bios
extended disk information request to the kernel.
Binary compatible with the existing code, disabled because I don't
have a system with a bios that supports the request.
2003-04-16 19:16:42 +00:00