Commit Graph

115653 Commits

Author SHA1 Message Date
matt
63aca31d6b Add sngu_* and dblu_* access macros.
XXX sng* and ext* should be renamed to flt* and ldbl*
2012-08-08 16:56:53 +00:00
drochner
991b8a1b80 build fix for gcc -fno-common, from Radoslaw Kujawa 2012-08-08 16:29:50 +00:00
skrll
b076419f5e Update comment. 2012-08-08 16:09:42 +00:00
christos
6f2c8e3ee8 don't install includes if MKRUMP = no 2012-08-08 13:58:56 +00:00
martin
f23e8f7d1e Remove unneeded cn_tab definition (and NULL initialization) 2012-08-08 09:02:49 +00:00
nisimura
0a837560ec let MINI2440 kernel to have bpf(4) for DHCP. 2012-08-08 02:18:36 +00:00
msaitoh
aad31ba78e Add some Intel's KT (Serial over LAN) devices. 2012-08-07 19:38:28 +00:00
msaitoh
bab9b33652 regen. 2012-08-07 19:27:19 +00:00
msaitoh
6c41d7f0ee Add some Intel's KT (Serial over LAN) devices. 2012-08-07 19:26:36 +00:00
haad
7cfd277977 Fix problem reported by jym on current-user@ patch was provided by mhitch@. 2012-08-07 16:11:11 +00:00
jnemeth
942121f54c Add -A, -a, and -e options to modstat(8) along with kernel
changes required to support these options.  The -e option was
requested by martin@ in private chat in order to make writing tests
easier (i.e. don't bother testing MODULAR functionaility if it
doesn't exist).  While there, I added -A and -a since those were
quite similar.

     -A      Tells you whether or not modules can be autoloaded at the moment.
             This option does take into consideration the sysctl
             kern.module.autoload.

     -a      Tells you whether or not modules can be autoloaded at the moment.
             This option does not take into consideration the sysctl
             kern.module.autoload.

     -e      Tells you whether or not you may load a module at the moment.
2012-08-07 01:19:05 +00:00
msaitoh
ecb5621595 regen. 2012-08-06 18:53:08 +00:00
msaitoh
ef023183e2 Add 82GM45_KT for puc(4) 2012-08-06 18:52:40 +00:00
martin
2b64d8ed07 Move hdaudio and hdafg modules into x86 only section for now, untill
somebody creates a "all archs with PCI" ifdef.
2012-08-06 10:31:41 +00:00
skrll
3677c27bea Ensure correct alignment for stack buffers when long != 64-bit, e.g.
arm.
2012-08-06 08:27:49 +00:00
matt
9c2af1c9cc If earm*, compile new aeabi runtime routines. 2012-08-06 02:14:57 +00:00
matt
14a27ff97b Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
2012-08-06 02:14:15 +00:00
matt
e6e9862af2 Add aeabi.h header which descibes the C portion of the EABI run time API. 2012-08-06 01:55:13 +00:00
bouyer
5a6e0a7e6f Really init sc_ioptype in mfi_attach() 2012-08-05 22:47:36 +00:00
wiz
9d59cb3dc9 Avoid ambiguity by having only one comment close mark.
PR 46771 by bsiegert.
2012-08-05 21:21:41 +00:00
msaitoh
267b65f7eb regen. 2012-08-05 17:55:20 +00:00
msaitoh
50434dfb2c Use PCI_VENDOR_* and PCI_PRODUCT_*. Fixes PR#46303. 2012-08-05 17:42:01 +00:00
msaitoh
05501f0e72 Add entries for puc(4) devices. 2012-08-05 17:40:00 +00:00
bouyer
927cb9aa03 sg64.len is 32bits, so use htole32() 2012-08-05 17:23:25 +00:00
bouyer
b669f4cc30 MFI_IOP_SKINNY is an enum not a single bit value, so it can't be used as
a bit flag. As sc_flags is really used to hold an enum mfi_iop value,
change it to enum mfi_iop and rename to sc_ioptype. While there init it
in mfi_attach() instead of mfi_pci_attach().
2012-08-05 15:50:49 +00:00
pooka
232fe594f2 Make it easy to turn -DDIAGNOSTIC off (RUMP_DIAGNOSTIC=no) and -DDEBUG
on (RUMP_DEBUG=yes).
2012-08-05 15:37:39 +00:00
pooka
a43f04d34d Remove stubs which have been provided elsewhere for almost 2 years now. 2012-08-05 15:36:19 +00:00
bouyer
423da2b660 Regen: add MegaRAID SAS2208 2012-08-05 15:35:32 +00:00
bouyer
5cbb7afc42 Add LSI MegaRAID SAS2208 2012-08-05 15:34:50 +00:00
bouyer
e981d39ae5 Add some support for 64bit DMA but stick to 32bit DMA for now.
From OpenBSD mfi.c rev 1.119.
2012-08-05 14:54:01 +00:00
riastradh
bb195042a2 Use separate names for the multitudinous uses of `q' in exit1.
Now I can follow which process is which in this routine.

If I jiggle the whitespace so line numbers don't change, there is no
change in the output of `objdump -d kern_exit.o' for amd64.

ok abp
2012-08-05 14:53:25 +00:00
degroote
eed1f7342b Add pmf(9) handler to malo(4) wireless driver 2012-08-05 09:16:54 +00:00
riastradh
0b891b69f1 Force sys_close not to restart by returning ERESTART.
Print a diagnostic message if we ever get ERESTART out of fd_close
and convert it to EINTR instead.

Even if fd_close fails, it has already closed the file descriptor, so
restarting the system call is a mistake, with dangerous consequences
for multithreaded programs.

Should probably turn the message into a kassert eventually, and maybe
add one deeper in fd_close in order to more easily debug it before
all the data structures are destroyed.
2012-08-05 04:26:10 +00:00
matt
72be8acdc7 Add a macro for determining whether we can use LDRD/STRD instructions 2012-08-05 04:13:19 +00:00
matt
ce51494ef9 Add ABI version stuff. 2012-08-05 04:12:46 +00:00
riastradh
27d763f8ca Build hdaudio and hdafg modules. 2012-08-05 04:03:39 +00:00
riastradh
d237c30a6a ...and be sure to config_pending_decr if kthread_create fails.
This error branch looks suspect, though.  Shouldn't we bail at this
point rather than blithely try to proceed?
2012-08-05 02:47:52 +00:00
riastradh
17be18e233 Restore config pending stuff, adjusted to avoid the race.
Leave a note about what this code probably should look like for
anyone who comes rummaging around with the intent to really fix it.
I would do that myself if I had time and resources to test this at
the moment, and more comfort with our firewire stack, but I don't.
2012-08-05 02:36:16 +00:00
matt
3e95365cba back out elf note changes and use EF_ARM_ABIVERS to determine EABI usage. 2012-08-05 01:43:58 +00:00
bouyer
45b66ef963 If ch_ndrives is > 0, then ch_drive is not supposed to be NULL. 2012-08-04 21:21:09 +00:00
martin
1f4116c31b No need to statically initialize physmem here, it is set to the correct
value in pmap_bootstrap(), which is early enough.
Tested on my Centris 660AV.
2012-08-04 17:18:38 +00:00
reinoud
8a7df726af Fix IO lockups in NetBSD/usermode.
1) Don't block IO signals since the return path is not garanteed to enable the
signal again.
2) Since signals can get dropped, do a 2nd pass over the routines.
2012-08-04 14:53:32 +00:00
nonaka
3c7b0f08bb regen. 2012-08-04 13:03:38 +00:00
nonaka
c007ea7074 Add PLANEX GW-USH300N. 2012-08-04 13:03:17 +00:00
nonaka
04a483f9df Match NTT DOCOMO L-02C. 2012-08-04 12:55:06 +00:00
christos
912592a638 mention current status 2012-08-04 12:47:00 +00:00
christos
d9ddb5220c - fix typo in comment
- Don't call abort1 with NULL ld, after panic(9).
2012-08-04 12:38:20 +00:00
christos
0c222dcdd0 Don't increment the mount reference count here. Otherwise we are left with
refcount of one when we unmount, and vfs_destroy does not... Who is expected
to decrement this anyway?!?!
2012-08-04 12:31:57 +00:00
skrll
b98543086d define<tab> consistency 2012-08-04 09:24:19 +00:00
riastradh
0942a70b8b Add uatp(4) to i386 ALL kernel configuration. 2012-08-04 04:39:40 +00:00