Commit Graph

68851 Commits

Author SHA1 Message Date
thorpej f6aaf54d60 Some controllers must have certain bits always be set in the IDEDMA_CMD
register for proper operation.  Add a prototype field in the pciide_channel
for this register and use it as necessary when writing the IDEDMA_CMD
register.
2003-12-19 19:09:20 +00:00
christos 778502d669 More unsigned long casts to make this work on ppc. Fix formatting of debug
statements to 0x when there are hex numbers printed.
2003-12-19 19:00:00 +00:00
christos 0ad7f14d46 PR/23802: KIYOHARA Takashi: Bad printf format with CBB_DEBUG. While I am
there, make all printfs consistent 0x%lx and (unsigned long) cast.
2003-12-19 18:16:43 +00:00
manu 61257a84f2 fixes for Brazilian keyboard from Rafael Diniz <rafael2k@terra.com.br>
http://mail-index.netbsd.org/port-hpcarm/2003/12/18/0000.html
2003-12-19 12:16:36 +00:00
tsutsui 10a356924e - add options COMPAT_16
- Netbsd -> NetBSD
- use options<space><tab>
2003-12-19 11:39:30 +00:00
tsutsui 77cc90f021 - Netbsd -> NetBSD
- use options<space><tab>
2003-12-19 11:38:18 +00:00
gavan f2c2467d5c Correct masks for PCIXSR decomposition 2003-12-19 10:08:11 +00:00
simonb b9fbceaf46 Unindent a code block that doens't need to be indented. 2003-12-19 06:02:50 +00:00
thorpej f94de27bbd Const poison the channel name. 2003-12-19 05:55:12 +00:00
thorpej deed3938a2 Move the PCIIDE_OPTIONS_* constants into pciidevar.h 2003-12-19 05:16:57 +00:00
thorpej 07ba04af94 Regen: Add product ID for the Silicon Image 3114 SATALink. 2003-12-19 03:43:07 +00:00
thorpej d6decc84cb Add product ID for the Silicon Image 3114 SATALink. 2003-12-19 03:41:21 +00:00
thorpej df5956af24 Use a register map to find the offsets of various per-channel
registers in the BA5 space.
2003-12-19 03:33:52 +00:00
thorpej 52f06d7766 If we're running on a Connectix Virtual PC, we might get a packet longer
than a max size Ethernet frame without getting a frame-too-long error.  VPC
seems to be adding 4 zeros at the end of every frame.  Detect this condition
and simply truncate the packet to a max size Ethernet frame.

I now have no problems with networking on NetBSD inside Virtual PC 6.
2003-12-18 18:39:36 +00:00
thorpej 54da81c66c A kernel configuration file suitable for Connectix Virtual PC 6. 2003-12-18 17:08:35 +00:00
pk 3c96ae431b * Introduce uvm_km_kmemalloc1() which allows alignment and preferred offset
to be passed to uvm_map().

* Turn all uvm_km_valloc*() macros back into (inlined) functions to retain
  binary compatibility with any 3rd party modules.
2003-12-18 15:02:04 +00:00
pk 5218af0651 Use uvm_km_zalloc(...) instead of uvm_km_alloc1(...,1). 2003-12-18 14:15:55 +00:00
uwe 53680504af Add MB_ICONQUESTION style to the message box. 2003-12-18 12:34:10 +00:00
uwe d3dfc4c864 Add MB_ICONWARNING style to the message box. Use explicit MB_OK. 2003-12-18 12:25:03 +00:00
uwe e696bfb83c Tweak error message. 2003-12-18 12:21:36 +00:00
uwe 545bd4c3b1 Add MB_ICON* styles to message boxes. Use explicit MB_OK.
Capitalize messages.   Minor tweaks.
2003-12-18 12:18:53 +00:00
uwe f578e43dec Capitalize error messages. Consistently use "can't". Minor tweaks. 2003-12-18 12:15:40 +00:00
pk 60181444ca Condense all existing variants of uvm_km_valloc into a single function:
uvm_km_valloc1(), and use it to express all of
	uvm_km_valloc()
	uvm_km_valloc_wait()
	uvm_km_valloc_prefer()
	uvm_km_valloc_prefer_wait()
	uvm_km_valloc_align()
in terms of it by macro expansion.
2003-12-18 08:15:42 +00:00
grant 44ed233ab5 KNF, spelling and english fixes to some comments. remove trailing
whitespace.
2003-12-18 01:10:20 +00:00
uwe 8b377aad68 Add MB_ICONEXCLAMATION style to the "Last chance..." dialog. Change
the text to "Push YES...", because that's a Yes/No dialog, not Ok/Cancel.
If the user cancels the boot, set error_message appropriately.

Add MB_ICONERROR style to the "BOOT FAILED" dialog.  Explicitly make
it MB_OK, don't rely on the numerology.
2003-12-18 00:00:19 +00:00
abs 7b5d232918 Small fixed to tense in comment. 2003-12-17 22:03:24 +00:00
thorpej 376fccb2a5 Add BA5 space tag/handles for Silicon Image SATALink. 2003-12-17 21:08:29 +00:00
lha 2b1cb68e2f Fix ICMPV6CTL_ND6_[DP]RLIST, they broke with new sysctl.
Makes ndp -r/ndp -p work again, patch from atatat
2003-12-17 18:49:38 +00:00
thorpej d6d47a7224 Some additional SATA-II registers. 2003-12-17 16:16:36 +00:00
bsh 7ff9ddf063 mask all interrupts during bootstrap *correctly*.
call s3c2xx0_intr_bootstrap() to initialize variables used by splfoo().
2003-12-17 13:21:33 +00:00
bsh 7020653430 add a function to initialize variables used by splfoo().
This should be called in bootstrap so that splfoo() doesn't touch illegal address.
2003-12-17 13:20:04 +00:00
yamt 009640868e set VBWAIT when waiting v_numoutput to be drained. 2003-12-17 10:38:39 +00:00
tls c58ee50077 Add "sk" driver for SysKonnect/Marvell GigE cards. 2003-12-17 09:18:45 +00:00
tls 0c041019a4 Add support for some more Marvell-based adapters to the sk driver:
D-Link DGE-530T
	Linksys EG1032v2
	Linksys EG1064v2

The Linux driver treats all of these the same.  Tested with a DGE-530T;
it works, though performance on at least one of my systems is atrocious.

Fix setting of ethernet capabilities into interface capabilites word in
attach routine.

Manual page: note that jumbo support doesn't work and checksum support
doesn't exist.
2003-12-17 09:17:07 +00:00
martin 6c7d761c0e Fix commented out pcmcia entries: adjust comments, add FULL_SPARC_BUS_SPACE,
adapt wd* at pcmcia to new atabus attachment, and add wi* at pcmcia.
Noticed by Michael Wolfson.
2003-12-17 08:08:02 +00:00
yamt ce11c3ce4e remove a redundant substitution. 2003-12-17 07:14:03 +00:00
uwe ad370cb0ff Provide dummy machine/mcontext.h. 2003-12-17 06:17:03 +00:00
simonb 4805123b12 Nuke register prefix for local variables, clean up indentation a little. 2003-12-17 04:04:40 +00:00
ad 35a755ce3a - Restore the display to a sane state when leaving mapped mode.
- OR updates into sc_changed, and protect with spltty()/splx().
2003-12-17 03:59:32 +00:00
uwe 6854a82ca1 Add btodb() define. 2003-12-16 18:59:10 +00:00
uwe 2b3e06be32 Add directory "res" to INCDIR_LIST and drop the "res/" prefix from
#include's in hpcmenu.rc.  This makes it possible to open hpcmenu.rc
in the eVC resource editor.
2003-12-16 18:23:36 +00:00
uwe 5f83499620 Protect __KERNEL_RCSID with #if !defined(_WIN32) for the sake of
hpcboot.exe, that uses this file too.  Compiling for WinCE defeats the
logic in cdefs_aout.h.
2003-12-16 17:16:43 +00:00
manu 966a0ee30b Darwin's sigprocmask is an hybrid between or modern sigprocmak (old set
argument, large sigset), and the older sigprocset (no old set argument,
small sigset). It feature old set argument and small sigset.

We now emulates this correctly.
2003-12-16 16:13:59 +00:00
uwe a8250ce937 Drop adler32.c from SRCFILE_LIST, it's no longer in sys/lib/libz. 2003-12-16 15:26:37 +00:00
he a5915f4ecb Replace cmd_ioh with cmd_baseioh, to track changes to wdcvar.h, so
that this compiles again.  Untested for now.

Reviewed by leo.
2003-12-16 14:07:20 +00:00
yamt 6b95193071 - reduce code duplication.
- use boolean_t where appropriate.
2003-12-16 13:47:48 +00:00
manu d2b4a2c0fa Enable SA_SIGINFO for COMPAT_DARWIN 2003-12-16 13:38:25 +00:00
manu c3eb252046 GPR5 does not hold code, it holds the signal number (this is the first
argument to the signal handler). It's an extraordinary luck that test
programs worked so far.
2003-12-16 13:36:18 +00:00
keihan 35ef6c8653 netbsd.org -> NetBSD.org 2003-12-16 12:22:24 +00:00
abs 8724ebf7f9 Comment out #undef LARGE_NAT so LARGE_NAT can be set in a kernel config file
without having to edit this file as well.
2003-12-16 12:15:04 +00:00
sekiya af4ac18e50 Introduce abstraction layer for HPC registers and values, which addresses the
divergence between HPC revision 1.5 and revision 3.

The wdsc driver has been updated to reflect this layer (and may now work on
IP20).  The sq driver needs a bit more work before it can be committed.
2003-12-16 11:59:04 +00:00
yamt 98e9a8c373 g/c lfs_no_inactive. 2003-12-16 11:45:07 +00:00
sekiya c7a0d0b9f4 iocreg.h has moved. 2003-12-16 10:20:10 +00:00
dyoung 59eb8ab913 Synchronize with FreeBSD:
* add constants to enums

 * HAL update: stops panics, fixes ad hoc-mode beacons, some API
   changes

 * get and use mac/phy/rf front-end revision codes

 * add a custom ath(4) ic_node_getrssi callback which does RSSI
   averaging

 * do not immediately scan, but re-associate after missing beacons.

 * bug fix: don't if_init after detach.

 * HAL diagnostics ioctl, SIOCGATHDIAG

 * send DS parameters element in beacons

 * const-ify some pointers

 * consolidate rx-filter settings into ath_calcrxfilter

 * abstract FreeBSD `ticks', NetBSD `hardclock_ticks' with ATH_TICKS()

 * misc. other changes
2003-12-16 06:48:08 +00:00
sekiya b91ae185fb A slighly more descriptive iocreg.h now lives in ../ioc. 2003-12-16 05:27:40 +00:00
gavan 5232db351e The PIRSR is at location 0xffffe1ec, not 0xffffe2ec.
Source: Intel(R) 80321 I/O Processor Developer's Manual, page 578
2003-12-16 00:04:09 +00:00
jmc d9948df6dd Clean up tmp files on exit. Fixes PR#23723 2003-12-15 20:07:39 +00:00
martin b7019538c6 Add config files for Mr.Coffee JavaStatin 1 machines.
Unfortunately we need two slightly different ones for now (OBP vs. OF)
2003-12-15 19:33:01 +00:00
martin 170c19e9bf Rename the JavaStation network boot loader: bootjs.elf -> bootjs.net. 2003-12-15 17:34:36 +00:00
manu aad6b2204e Brazilian keymap, submitted by Rafael Diniz
http://mail-index.netbsd.org/port-hpcarm/2003/12/14/0000.html
2003-12-15 16:11:34 +00:00
tsutsui b386fab8f8 Use aprint_debug() instead of aprint_normal() for debug info. 2003-12-15 15:13:55 +00:00
sekiya a51a4e0a69 Part two in the Great Renaming. ip22.c becomes ip2x.c, and all generic ip2x
routines become ip2x_*.
2003-12-15 13:02:28 +00:00
sekiya 01a7cd0853 Change all IP22 preprocessor conditionals to IP2X preprocessor conditionals.
Part one of two -- part two will be renaming ip22_*() to ip2x_*().
2003-12-15 12:48:37 +00:00
sekiya 441e82538f IP20 belongs to the IP2x family, thus this should no longer exist. 2003-12-15 12:34:56 +00:00
sekiya 90e0aa001b Add ioc driver to IP2x config file, pull in ioc/files.ioc as well. Note that
IP2x now has blinkenlitzen.
2003-12-15 10:26:38 +00:00
sekiya 3568a47283 Move IOC-specific initialization code from sgimips/ip22.c to ioc/ioc.c. 2003-12-15 10:24:47 +00:00
sekiya aa10d0203e Add dedicated IOC (I/O Controller) driver. pckbc, zstty, and lpt will each
receive *_ioc.c attachments; machines without IOC (i.e., IP20) will use *_hpc.c
stubs.
2003-12-15 10:23:52 +00:00
scw 5f0d6f1b24 Work-around an obscure bug (reported by a couple of people, and reproduced
exactly twice by me) which causes the code at the top of copyin which
word-aligns the destination pointer to copy more bytes than necessary,
resulting in an alignment fault later on.

The bug is difficult to reproduce, but as far as I can tell it seems
to be as a result of the condition codes being corrupted, possibly
following a page fault caused by the first ldrbt/strb instructions.
The subsequent ldr<cc>bt/str<cc>b instructions then _always_ execute.
I can't think of any obvious reason why this would happen, though.
2003-12-15 09:27:18 +00:00
scw fbdf861fac The last cpsr_all change was misguided. Just use cpsr_c wherever possible. 2003-12-15 09:18:21 +00:00
simonb 210a9530eb Use UART_SIZE instead of a (redefined) COM_NPORTS. 2003-12-15 09:13:41 +00:00
jdolecek e1a0411746 print complete contents of the second feature byte; this also fixes
printing of DMA32 bit
2003-12-15 08:38:01 +00:00
jmc 43bf89bfc6 Fixes from PR#23177. Various lint/logic fixes:
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing

Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
lonewolf bf0b94a750 Add pckbc/wscons/newport related attachments. 2003-12-15 05:29:20 +00:00
lonewolf 280382edf9 Add support for attaching newport/pckbc as console on IP22 (Indy).
XXX Does this work on Indigo2 too?
XXX Ugly hardcoded bus_space_tags and stuff.
XXX This whole file is one damn ugly mess.
2003-12-15 05:28:14 +00:00
lonewolf 613491354d Implement direct configuration for GIO devices.
XXX Still needs a way to handle Indigo2 spurious "productid 0x04 revision 0x00"
XXX phantom devices.
2003-12-15 05:26:56 +00:00
lonewolf 3e256e53b0 Support for SGI NG1 ("newport") graphics controller. 2003-12-15 05:24:51 +00:00
thorpej 1534ca51d1 Remove the notice that was in cmdide.c before SATALink support was split
out.  All of the code in this file was written by me.
2003-12-15 00:37:38 +00:00
thorpej 7fca07b0d8 Use the SControl and SStatus registers to query the SATA PHY for
device detection.
2003-12-15 00:36:23 +00:00
thorpej 9de2760c3e Add a (*drv_probe)() optional callback into the driver to probe for
drives on a channel.  Drivers should provide this if they have some
sort of intelligent probing mechanism.
2003-12-15 00:27:13 +00:00
he f9e95c8ced Stop the install from trying to strip the ECOFF executable.
The MIPS strip program seg-faults if that is attempted.
2003-12-14 22:57:54 +00:00
dsl 97356a5fa8 Defer writing of KTR_EMUL entry until first trace done by target process.
Stops ktrops sleeping with the pid table locked.
2003-12-14 22:56:45 +00:00
ragge 57fa6bb861 TOPDOWN_VM is now mandatory on vax. 2003-12-14 19:39:24 +00:00
thorpej e4aa90cdc6 Rename __wdcprobe() to wdcprobe1(). 2003-12-14 18:51:10 +00:00
martin 9eead0293e Make this look more like GENERIC. 2003-12-14 17:26:58 +00:00
thorpej 5af2747f1e Serial ATA register definitions. 2003-12-14 17:14:47 +00:00
fredb d19528e4e0 Adapt to MI ATA/wdc changes. Especially, now that the address of
each individual ATA register is in the attachment structure, we
can dispense with the custom bus_space mapping hack which set the
stride, then unset it for particular bus_space functions. (There
is really no stride; the data register is read and written to
consecutive bytes. The control register mappings just happen to
be separated by four bytes.) While we're here, de-__P(), and lose
a confusing shift.

This has been tested on Quadra 630. Reviewed by bouyer.
2003-12-14 15:31:23 +00:00
tsutsui cae6629a57 Include <bsd.own.mk> at the top so that machine-links are also created
on "make depend". Tested on my RaQ2, and fixes port-cobalt/23711.
While here, two more cosmetics:
- remove redundant definitions
- use NOMAN rather than setting MAN empty
2003-12-14 11:58:38 +00:00
tsutsui bd3274f615 Change unit and part variables for wd from u_int8_t to u_int. 2003-12-14 11:53:52 +00:00
dyoung ea63a1a6cd PR 23428: support National Datacomm Corporation NCP130A2 board.
Thanks T. M. Pederson for sending the patches.
2003-12-14 10:04:33 +00:00
dyoung 9280f4b428 Synchronize with FreeBSD sources from 12 Dec 2003. 2003-12-14 09:56:53 +00:00
dyoung 10d1fa6e70 Add ath(4) for Atheros 802.11a/b/g cards. 2003-12-14 09:54:01 +00:00
sekiya a15d89e48a Move IOC (integrated peripheral controller) init code into the IP22-specific
routine, as IP20 does not possess an IOC.  This will eventually be moved into
a dedicated IOC driver that attaches its peripherals as children, but the
changes involved are too intrusive right now.
2003-12-14 07:53:10 +00:00
sekiya 3e021de39c Uncomment dpclock, remove IP20 option. IP20 now boots as far as the
boot device selection prompt using the GENERIC kernel.
2003-12-14 07:31:02 +00:00
sekiya fa349eb13c Allow hpc to attach on IP20. 2003-12-14 07:28:17 +00:00
sekiya 264219f697 Bus-space'ify the memory controller driver, and add IP20-specific bits. 2003-12-14 07:21:51 +00:00
sekiya 4aeb14dce4 IP20 should handle the watchdog timer in the same manner as for IP22. 2003-12-14 06:11:35 +00:00
sekiya 8302dd42e0 The serial controller on IP20 lives in a different place. Modify
zs_get_chan_addr() to reflect this.

XXX hardcoded addresses are quite distasteful.  This should be passed in
through consinit() -- to avoid conflicts with Ilpo's soon-to-be-committed
framebuffer driver, I'll hold off until his code hits the tree.
2003-12-14 05:59:50 +00:00
sekiya 6f71ce82f5 For the purposes of machdep.c, consider IP20 to be a variant of IP22. ip20.c
and #ifdef IP20 will go away (short-term), ip22_* will be renamed to ip2x_*
(slighly longer-term).
2003-12-14 05:49:14 +00:00
thorpej b9ee1b0117 Move the wddone() prototype to wd.c 2003-12-14 05:38:20 +00:00
thorpej 777270ce9b Garbage-collect __ATA_DISK_PRIVATE; it is no longer needed. 2003-12-14 05:37:25 +00:00
thorpej d8f4e7306d No need to include wdvar.h anymore. 2003-12-14 05:34:29 +00:00
thorpej a58ada4aad Instead of calling wddone() directly, set a (*drv_done)() callback in
the ata_drive_datas structure and invoke that.
2003-12-14 05:33:29 +00:00
sekiya f9ff3d87e9 The ARCBIOS->FlushAllCaches() vector is NULL on at least one SGI platform
(ip20) and has no actual operational effect, thus it should not be invoked here.
2003-12-14 05:33:22 +00:00
sekiya f2b161aa21 Compile sgimips/ip[23]2.c iff the corresponding IP[23] is defined in the
config file.
2003-12-14 05:23:12 +00:00
thorpej 08227d36cb No need to include wdvar.h anymore. 2003-12-14 05:15:53 +00:00
thorpej 3dd2f16d75 Move struct ata_device from wdvar.h to atavar.h. 2003-12-14 05:14:39 +00:00
thorpej 09bbcae770 Move struct ata_bustype from wdvar.h to atavar.h. 2003-12-14 05:10:19 +00:00
thorpej be3146e7b3 Move struct ata_bio from wdvar.h to atavar.h. 2003-12-14 05:03:28 +00:00
thorpej 86046f9e1b Tidy up the whitespace. 2003-12-14 04:59:40 +00:00
tsutsui 4bad747a15 Regen: added ATI Radeon 9200SE. 2003-12-14 04:58:15 +00:00
tsutsui adedc23811 Add ATI Radeon 9200SE. 2003-12-14 04:57:16 +00:00
uwe 3fcefe2a85 Use callout_schedule instead of callout_reset to re-establish keyboard
callouts.

While here, #if 0 the code in pfckbd_callout_hp to read (and ignore)
PFC registers G and H.
2003-12-14 04:03:16 +00:00
uwe b9588a2c89 There's no such thing as "JavaStation-10". Krups official name is
"JavaStation-NC".  Pointed out by Pete Zaitcev (long ago).
2003-12-14 03:25:46 +00:00
jonathan c4e9405150 Do 5704-specific setup of DMA control register for all 5704 variants,
including chips that matched only the asic-revision  fallback table.

When dong DMA setup for 5703 and 5704, use the new BGE_ASICREV() macro
to extract the ASIC revision.
2003-12-14 03:08:12 +00:00
uwe 85a134f3c1 Use CONFIG_HOOK_BRIGHTNESS* to support WSDISPLAYIO_PARAM_BRIGHTNESS.
Use CONFIG_HOOK_POWERCONTROL_LCDLIGHT to turn on/off the LCD in
response to WSDISPLAYIO_SVIDEO.

Implementation of these hooks for Jornada 680 is to follow shortly.
2003-12-14 02:52:15 +00:00
thorpej a644de6271 Liberally apply static. 2003-12-14 02:48:36 +00:00
thorpej 0848b66944 Cosmetic changes in some autoconfiguration messages. 2003-12-14 02:46:34 +00:00
thorpej 51132ab100 De-__P and use ANSI-style function decls. 2003-12-14 02:45:48 +00:00
thorpej 9a136c5211 Remove piixide, since these boards will never, ever have one. 2003-12-14 01:33:15 +00:00
thorpej 2f2ca9e66b Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
2003-12-14 01:32:01 +00:00
ad 188f029f3f Missing splx() calls. 2003-12-14 01:18:36 +00:00
thorpej 0c4c58a70b Fix syntax errors in CHECK_NMBCLUSTER_PARAMS(). 2003-12-14 01:14:24 +00:00
thorpej a5f1f3523b Liberally apply "static", and wrap a line. 2003-12-14 00:17:05 +00:00
jonathan 9c1a5c5570 Second part of hashed IP_reassembly changes:
When under pressure for mbufs or we have too many fragments in the IP
reassembly queue, drop half of all fragments. This multiplicative-drop
strategy ensures we return to a healthy state, even under borderline
denial-of-service from extremely lossy NFS-over-UDP peers.
The multiplicative-drop phase currently drops 50% of fragments, but
has pre-placed support for implementing drop-fractions other than 50%

The threshhold for the `drop-half' phase is the new variable,
ip_maxfrags which is calculated as nmbclusters/4.

ip_input.c now keeps ip_nmbclusters, a cached copy of nmbclusters.
Before using limits derived from nmbclusters, we check if nmbclusters
and ip_nmclusters are equal. If not, we recompute Ip parameters
derived from nmbclusters.  Based on a suggestion by Jason Thorpe.
ip_maxfrags is currently auto-recalcuated.

The counters ip_nfrags and ip_nfragpacketsr are now declared static
and uninitialized (bss), to discourage tampering with them.
2003-12-14 00:09:24 +00:00
thorpej 084803988a Remove the IDE controllers that only exist in southbridge chips (which
none of these boards have).

XXX piixide stays for now, because that's where the Intel i31244 SATA
controller is.  That will change, eventually.
2003-12-13 23:31:21 +00:00
thorpej 22267f63f3 Collapse the atabus declaration into "atabus* at ata? channel ?". 2003-12-13 23:28:11 +00:00
thorpej a291e39668 The Netwinder can only have a Symphony IDE chip on it, so remove all the
others (leave the generic "pciide" there, but commented out).
2003-12-13 23:26:04 +00:00
thorpej 9e321b3a18 Collapse the atabus declaration into "atabus* at ata? channel ?". 2003-12-13 23:24:47 +00:00
thorpej 98f7d12017 Split out the Silicon Image SATALink support into its own driver,
"satalink".
2003-12-13 23:13:40 +00:00
ad 9aa9b8ebf5 Add drivers for the desktop bus, DC-7085 and pm display. Make it possible to
select between rcons or wscons at compile time. Ok'ed by simonb.
2003-12-13 23:04:37 +00:00
ad 57ed05ac29 Make this compile again. 2003-12-13 23:02:50 +00:00
ad 3234027240 Add write barriers (a no-op on vax). 2003-12-13 23:02:33 +00:00
thorpej 523e3bb618 I haven't had this laptop for a long time now. 2003-12-13 22:48:02 +00:00
he 1423e83c49 Adapt to rename of WDC_CAP_LBA48 to ATA_CMD2_LBA48 in atareg.h,
and don't use types which will be promoted when passed as ...,
causing a warning.
2003-12-13 22:34:30 +00:00
chs 6b91282609 ramdisk doesn't fit in 400k anymore, make it 500k. 2003-12-13 22:06:23 +00:00
hannken c0395cd920 Use ioctl(..., DIOCGPART, ...) instead of vn_stat() to get the size of the
underlying block device. vn_stat() gives the wrong size for the root fs.

Remove fssdetach() and fss_attached.
2003-12-13 18:59:29 +00:00
kochi c2adc9e9b9 Merge ACPI-CA 20031203 2003-12-13 18:10:59 +00:00
rearnsha 94c1474569 The machdep.debug sysctl variable uses code CPU_DEBUG
(not CPU_CONSDEV).
2003-12-13 12:07:41 +00:00
martin b4467b848f Don't touch the PROM VA on JavaStations. From Valeriy. 2003-12-13 10:26:13 +00:00
martin d741bf72ed Remove a comment - this is no longer experimental and works with an
unpatched tree.
2003-12-13 09:31:20 +00:00
sekiya f398c5e022 Remove MIPS3_L2CACHE_ABSENT. 2003-12-13 01:30:50 +00:00
simonb 701a167dd3 In sysctl_kern_lwp adjust offsets into the mib entries so that
they are now correct.  Fixes problems with "ps -s" not working.
Also use KERN_LWPSLOP instead of KERN_PROCSLOP.

Both changes from Andrew Brown.
2003-12-12 23:21:44 +00:00
jmc f3a436d0a1 Add a .WAIT after common so libs get built before they're needed 2003-12-12 23:00:09 +00:00
martin cc7556d487 Fix compilation for ports w/o __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS. 2003-12-12 22:35:13 +00:00
martin ef9590543d Add support to build bootjs.elf - the secondary bootstrap used to netboot
JavaStations. Based on patches from Valeriy E. Ushakov.
2003-12-12 22:15:59 +00:00
thorpej 2731c72b47 Cast an expression with sizeof() to long. 2003-12-12 21:36:32 +00:00
scw 6aec1d6812 Make fast-ipsec and ipflow (Fast Forwarding) interoperate.
The idea is that we only clear M_CANFASTFWD if an SPD exists
for the packet. Otherwise, it's safe to add a fast-forward
cache entry for the route.

To make this work properly, we invalidate the entire ipflow
cache if a fast-ipsec key is added or changed.
2003-12-12 21:17:59 +00:00
scw 4b9d54ff56 Add KEYCTL_DUMPSA/KEYCTL_DUMPSP support.
setkey(8)'s -D and -P options now work as expected with fast-ipsec.
2003-12-12 21:04:03 +00:00
scw 1cbe65fa6a Pull in netinet/ip_ecn.c if FAST_IPSEC is defined. 2003-12-12 20:54:30 +00:00
nathanw d7a0075027 Trap 0x8 (T_DOUBLEFLT) and 0x11 (T_ALIGNFLT) should be TRAP, not
ZTRAP; while the error code is always 0, the processor indeed pushes
the 0 on the stack, according to table 5-1 in the IA32 SPG.
2003-12-12 20:17:53 +00:00