Commit Graph

52247 Commits

Author SHA1 Message Date
thorpej
23dfa29697 Add the serial port on the Middle Digital, Inc. PCI Weasel. 2001-12-16 22:22:04 +00:00
thorpej
fd8e4d1653 Regen:
Add Middle Digital, Inc. vendor ID.  Add product IDs for the
Middle Digital PCI-Weasel Virtual VGA, Serial Port, and Control
registers.
2001-12-16 22:00:41 +00:00
thorpej
f7b4a308a9 Add Middle Digital, Inc. vendor ID. Add product IDs for the
Middle Digital PCI-Weasel Virtual VGA, Serial Port, and Control
registers.
2001-12-16 21:59:47 +00:00
fvdl
a3cd944f25 Also correct the attach flags to enable IO space on the ServerWorks
CNB20LE.
2001-12-16 21:33:06 +00:00
gmcgarry
bdfdbd8233 Make this compile with new toolchain. 2001-12-16 20:58:25 +00:00
reinoud
608b11c8f4 Minor bootloader update but most of all updated UnixFS disk selections so
now also other patitions are possible; The scripts `native/wd*' were all
broken !!! Guess Mark Brinicombe had some plans but forgot to subit them...
2001-12-16 20:54:29 +00:00
jdolecek
563ebe0896 our NTFS seems to read Windows 2000 NTFS just fine 2001-12-16 18:29:03 +00:00
thorpej
3bce84cf10 Consider __NO_LEADING_UNDERSCORES__ provided by the new ELF toolchain. 2001-12-16 18:11:12 +00:00
soren
3faa83dcb4 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-16 17:53:17 +00:00
bjh21
d7be12c439 Report a display type of WSDISPLAY_TYPE_VIDC, since we'll probably share
interfaces with the VIDC20 drivers in acorn32 eventually.
2001-12-16 15:15:44 +00:00
ichiro
0a1465a39c handle vendor and product lookup with common routine 2001-12-16 15:11:19 +00:00
soren
dafad2c49b Obsoleted by @@@'s kernel makefile work. 2001-12-16 14:02:46 +00:00
martin
729b826ecd Fix packet accounting (now netstat -i and netstat -ib show reasonable
values).

Implement a secondary connection-reestablishement mode, which is only
entered after (1) we have successfully transfered payload data over this
connection and (2) if initial retries did not reestablish a session.
In this mode we retry (infrequently) forever, until adminstrator stops
us (by "ifconfig ppppoe0 down"). XXX - need to display this mode in
pppoectl.

It is now possible to pull the DSL modems plug for say 15 minutes, plug
it back in again and just wait. The connection will be reestablished within
three minutes.
2001-12-16 11:40:52 +00:00
takemura
3c28255e30 BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
2001-12-16 09:58:34 +00:00
ichiro
10c8cdf485 missing Misc Attribute of PCMCIA functions
FUJITSU CF Ether ITCFJ182A supported "Power down"
Power down supply current are 20mA
2001-12-16 06:07:50 +00:00
ichiro
ff638ce5fd support FUJITSU CF EthernetCard
ITCFJ181A

mbe0 at pcmcia1 function 0: Fujitsu J182A Compact Flash Ethernet
mbe0: Ethernet address 00:00:0e:c5:01:ea
2001-12-16 05:44:33 +00:00
ichiro
a4ad95c757 regen 2001-12-16 05:43:16 +00:00
ichiro
dc739ee7b9 add FUJITSU CF EthernetCard
ITCFJ181A
2001-12-16 05:42:46 +00:00
enami
d3efa85632 G/C no longer used saved credential for file i/o. 2001-12-16 04:51:34 +00:00
tsutsui
7d563fd40e malloc() + memset() -> malloc() with M_ZERO flag 2001-12-16 04:17:02 +00:00
tsutsui
20d126a5b4 Fix comments for ref-count of PT pages. 2001-12-16 03:53:21 +00:00
tsutsui
f7312c690f cosmetics (typo, KNF etc.) 2001-12-16 03:41:57 +00:00
gmcgarry
ac1f9fcc8c When attaching as console, unmap the device on failure. 2001-12-16 02:02:05 +00:00
martin
c8006a73d3 Remove some spurious (debug?) output. 2001-12-16 00:55:40 +00:00
bjh21
b17e1abb0f Use the MI DP83905 support for media selection on those cards that use it. 2001-12-16 00:23:59 +00:00
bjh21
7f32875295 if_media support for the DP83905 AT/LANTIC (a souped-up DP8390). 2001-12-16 00:22:43 +00:00
bjh21
2ca506c0ca if_ne_pbus needs the "mx98905" attribute. 2001-12-15 23:48:38 +00:00
fredette
d3a28a576e Rather than using nlist(3), use a magic structure with a magic
number that installboot(8) can search for.  Suggested by cgd@netbsd.org.
2001-12-15 23:09:50 +00:00
fredette
c9e7d7b7ba On the sun2, added support for loading larger kernels,
and pull objects from the libgcc in DESTDIR.
2001-12-15 23:02:34 +00:00
bjh21
7bc474a92b mod() was unused. g/c it. New code should use abs() anyway. 2001-12-15 22:41:44 +00:00
fredette
175ee0ab88 Fixed a bug where we weren't checking for required or
forbidden locators correctly, especially physical addresses.
2001-12-15 22:39:17 +00:00
fredette
9976af904a Remove some devices that aren't needed in INSTALL or RAMDISK
kernels, reenable NFS v3, and enable kernfs in INSTALL.
2001-12-15 22:22:13 +00:00
bjh21
eefdf030c9 Simplify the pixel-clock-rate-setting code, so it always works out the
parameters from first principles rather than using a static table for some
rates.  This makes it work correctly on ARM7500, for which the table was
bogus (ARM7500 has a different refclk from VIDC20).
2001-12-15 22:21:46 +00:00
fredette
74e4ac42de Be sure to mark in the prototype attach args
that a physical address is required for each
device on this bus.
2001-12-15 22:13:11 +00:00
martin
7801c694b0 Enable additional error messages for the discovery phase, clarify some
others. Change one timeout slightly - we need to make all others user
settable.
2001-12-15 20:43:31 +00:00
martin
f19c69323c Make reconnects after LCP keepalive detected an error actually work. 2001-12-15 20:40:37 +00:00
bjh21
7de3bbbbe3 Use the MX98905 bug workaround for EtherN and EtherI cards. 2001-12-15 20:30:06 +00:00
bjh21
c72d5d40dd Add code to support the bugged Macronix MX98905 chip, as used in several
podulebus Ethernet cards.  This replaces the NE2000 memory-access routines
with ones that don't try to transfer more than 255 bytes at a time.

This code should perhaps be merged into ne2000.c, but presumably most NE2000
clones won't need it.
2001-12-15 17:47:34 +00:00
soren
875bff0962 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
soren
3514260fd4 Regen. 2001-12-15 13:18:10 +00:00
soren
c425f6ea72 Add Cologne Chip Designs ISDN controller. 2001-12-15 13:17:49 +00:00
soren
6a76b36417 Use regular read/writes for stream variant calls. 2001-12-15 12:39:55 +00:00
soren
e324e87ca8 Fix typo in comment. 2001-12-15 12:01:55 +00:00
soren
3022b71f80 Correct copyright header. 2001-12-15 11:45:24 +00:00
soren
df984ecc52 Use bus_size_t's for bus space read/write offsets. 2001-12-15 11:41:09 +00:00
wdk
505a7027b6 Revert back to invalidating cache during BUS_DMASYNC_POSTREAD instead of
during BUS_DMASYNC_PREREAD.

Fixes problem where SCSI bus probe didn't read meaningful identity data.

Technically there should be no difference between invalidating before or
after the DMA, but for reasons known only to the R3000 this fixes the
problem.   Some thought needs to be given to whether there is a performace
difference between these two cases.
2001-12-15 11:33:13 +00:00
wdk
c49454c890 Declare KGDB hook functions. 2001-12-15 11:17:03 +00:00
wdk
b697919ea7 Add bus_dmamap_sync for pre-read and pre-write case. This was previously
left out as it was a no-op on the R3000 processor.  However, recent changes
to the Mips cache ops highlighted we should DTRT in case the MI/MD layer
choses to invalidate the cache ahead of the DMA instead of after it.
2001-12-15 11:11:49 +00:00
chs
ae5b4093b5 when counting PTEs, look at all the segments in a region, not just the first. 2001-12-15 09:00:50 +00:00
explorer
6b9f60a2db install into /usr/include/dev/ir, since Jason made irdaattach look here. 2001-12-15 01:03:28 +00:00
fvdl
e3e7b4bd55 Set np->n_size before calling nfs_vinvalbuf, to avoid recursion
and confusion about the actual filesize. From Matt Dillon's
similar change in FreeBSD.

XXX n_size is really redundant in -current and must die. This commit
XXX is more of a placeholder for a pullup into the 1.5 branch.
2001-12-15 00:32:49 +00:00
augustss
c6df7d4358 Regen. 2001-12-15 00:31:43 +00:00
augustss
385b05e2f9 Add another Altima PHY. From Peter Seebach. 2001-12-15 00:31:03 +00:00
augustss
c70fc55cba Add a hack for ScanLogic SL11R IDE adapter. From FreeBSD. 2001-12-15 00:26:14 +00:00
augustss
3a31906841 Regen. 2001-12-15 00:25:00 +00:00
augustss
4a4ae0b6b7 YAD. 2001-12-15 00:15:01 +00:00
augustss
18c6adb0b6 YAD (Yet Another Device) 2001-12-15 00:07:45 +00:00
augustss
f79701e3fa Regen. 2001-12-14 23:57:00 +00:00
augustss
154a59571d Add SS1001. 2001-12-14 23:56:42 +00:00
augustss
356c54687b Integrate fix from PR 10155.
Add ACCTON SS1001.
2001-12-14 23:56:21 +00:00
thorpej
f77397d481 Use __sh__ instead of __sh3__. 2001-12-14 23:30:02 +00:00
briggs
ea6ecf9933 Match MPC107, too. 2001-12-14 22:42:01 +00:00
briggs
b7409e5213 Re-enable wscons stuff. Add rtk* as it's now confirmed to work on sandpoint. 2001-12-14 22:41:33 +00:00
nathanw
8d1585affa The Olympus C-1 engine cameras seem to need the PQIRK_ONLYBIG quirk. 2001-12-14 22:15:52 +00:00
thorpej
3d25834fb6 Fix a typo. 2001-12-14 20:51:01 +00:00
christos
878eb1362a PR/14946: Rafal Boni: Make this work again.
Notes:
    - I added bsd.obj.mk and made it work with objdirs.
    - I added an entry point to the linker to fix a warning.
    - I made the backup of biostramp.inc silent.
    - I added missing clean targets.

This needs to be tested further.
2001-12-14 20:32:23 +00:00
christos
d259e61055 Fix warnings about register prefixes caused by the new toolchain. 2001-12-14 20:30:10 +00:00
augustss
aa71c52956 Uncomment uirda since it woks now. 2001-12-14 16:24:52 +00:00
augustss
74a0c5db97 Remember to add header byte to length.
Use fewer magic constants.
(The driver works now.)
2001-12-14 15:44:04 +00:00
augustss
342a82f2dd Start read at open.
Don't send new header when nothing changes.
(But uirda is still not working.)
2001-12-14 13:07:33 +00:00
augustss
7f50d17c46 Sanity check speed setting. 2001-12-14 12:57:30 +00:00
augustss
142cdc8997 Rearrage softc a little. 2001-12-14 12:56:58 +00:00
augustss
aa89e69702 Don't reallocate I/O buffers. 2001-12-14 12:08:14 +00:00
augustss
d787f49ee6 Fix descriptor definition bug.
Clear endpoint stall on error.
2001-12-14 12:02:53 +00:00
bjh21
2ee0431a3d Register definitions for the NatSemi DP83905 AT/LANTIC, as used in many
podulebus Ethernet cards.
2001-12-14 10:16:03 +00:00
gehenna
f144837e0e Stylistic changes 2001-12-14 08:58:49 +00:00
gehenna
2d27ad7c73 Define a new structure to store wire specific control methods.
The basic BBB/CBI functions are stored as members of constant structure.
When attached device, softc holds one of that constant structures.
2001-12-14 08:46:19 +00:00
gmcgarry
25be1c42e2 Arrange in correct order. 2001-12-14 08:39:11 +00:00
gmcgarry
9370d5d4ef Update hardware drivers with console attachments to the new console
attachment interface.
2001-12-14 08:34:27 +00:00
ichiro
69424fd268 typo fix 2001-12-14 08:33:54 +00:00
gmcgarry
8038726863 Update the console attach interface now that bus_space is available.
Basically means that hardware drivers with console attachments are
now largely machine independent.
2001-12-14 08:29:24 +00:00
gmcgarry
8883bd8ba3 Make the ite interface look a little more like wscons. This is done
by allowing the hardware drivers to register keyboard and display
support with the ite framework.  Removes the dependence on the hil
keyboard and should make support for dnkbd easier.

An interim fix until wscons arrives.
2001-12-14 08:25:40 +00:00
gmcgarry
eed7e1f9a3 include Makefile.buildboot before testing for RELEASEDIR 2001-12-14 07:36:32 +00:00
gehenna
49bba69842 Use device handle and interface number which are stored in softc. 2001-12-14 06:21:56 +00:00
gmcgarry
5b666cb353 Bump version: Default to BOOTP network boot 2001-12-14 06:08:35 +00:00
chs
5e3151bdf5 make this compile with DEBUG. 2001-12-14 06:06:26 +00:00
gehenna
53f34def69 Change style to store endpoint addresses and pipes. 2001-12-14 05:58:13 +00:00
gmcgarry
64e7130584 Use bootp, to match the recent change to the bootblocks. 2001-12-14 05:56:59 +00:00
gmcgarry
bdd225baa1 Add a blurb to the top of all GENERIC files. This serves three purposes:
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
chs
4923ddfdda in sys_mincore(), check the return value of uvm_vslock() to determine
if the vec pointer is valid rather than using uvm_useracc().
uvm_useracc() just tells you if the permissions of a user mapping allow
the desired access, not whether faulting on that mapping will succeed.
2001-12-14 04:21:22 +00:00
mjacob
219d22404b Major restructuring for swizzling to the request queue and unswizzling from
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have
a complete set of inline functions in isp_inline.h. Each platform is
responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32}
macros.

The reason this needs to be done is that we need to have a single set of
functions that will work correctly on multiple architectures for both little
and big endian machines. It also needs to work correctly in the case that
we have the request or response queues in memory that has to be treated
specially (e.g., have ddi_dma_sync called on it for Solaris after we update
it or before we read from it).

One thing that falls out of this is that we no longer build requests in the
request queue itself. Instead, we build the request locally (e.g., on the
stack) and then as part of the swizzling operation, copy it to the request
queue entry we've allocated. I thought long and hard about whether this was
too expensive a change to make as it in a lot of cases requires an extra
copy. On balance, the flexbility is worth it. With any luck, the entry that
we build locally stays in a processor writeback cache (after all, it's only
64 bytes) so that the cost of actually flushing it to the memory area that is
the shared queue with the PCI device is not all that expensive. We may examine
this again and try to get clever in the future to try and avoid copies.

Another change that falls out of this is that MEMORYBARRIER should be taken
a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the
entry being added. But there had been many other places this had been missing.
It's now very important that it be done.

For NetBSD, it does a ddi_dmamap_sync as appropriate. This gets us out of
the explicit ddi_dmamap_sync on the whole response queue that we did for SBus
cards at each interrupt.

Set things up so that platforms that cannot have an SBus don't get a lot of
the SBus code checks (dead coded out).

Additional changes:

Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry,
the iptr value that gets returned is the value we intend to eventually plug
into the ISP registers as the entry *one past* the last one we've written-
*not* the current entry we're updating. All along we've been calling sync
functions on the wrong index value. Argh. The 'fix' here is to rename all
'iptr' variables as 'nxti' to remember that this is the 'next' pointer-
not the current pointer.

Devote a single bit to mboxbsy- and set aside bits for output mbox registers
that we need to pick up- we can have at least one command which does not
have any defined output registers (MBOX_EXECUTE_FIRMWARE).

Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response.
Otherwise, we won't unswizzle it correctly.

Nuke some additional __P macros.
2001-12-14 00:13:44 +00:00
mjacob
acbfdd822a Roll f/w to latest level, correcting several, ah, interesting bugs. 2001-12-14 00:07:55 +00:00
tv
816077b47e Fix problem introduced with the MKMAN->NOMAN conversion. 2001-12-13 22:33:20 +00:00
bouyer
71e063c830 pdc202xx_setup_channel: remove a duplicate line. 2001-12-13 20:57:22 +00:00
bouyer
ca9f8b13da Regen: Add some promise controllers, from FreeBSD 2001-12-13 20:41:05 +00:00
bouyer
b981b05472 Add some promise controllers, from FreeBSD 2001-12-13 20:40:28 +00:00
augustss
04c10fc0cf Initialize lock. 2001-12-13 17:25:37 +00:00
augustss
3df38cc501 Some debug stuff. 2001-12-13 17:15:09 +00:00
augustss
f2821a312a Fix TODO comment. 2001-12-13 17:14:21 +00:00
augustss
090d1a628e Move parameter checks to a common place. 2001-12-13 15:09:07 +00:00
augustss
2485171a67 Use unsigned ints. 2001-12-13 15:08:26 +00:00
junyoung
9dbc5fd199 ANSIfication & KNF fixes. 2001-12-13 08:38:35 +00:00
junyoung
f075aa60ac ANSIfication & cosmetic changes. 2001-12-13 08:35:38 +00:00
junyoung
9ff2a7a76d ANSIfy. 2001-12-13 08:34:55 +00:00
junyoung
d5decae4e0 ANSIfication & cosmetic changes. 2001-12-13 08:31:39 +00:00
chs
2dfd15933e change the reference-counting of PT pages to start from zero instead of
one, so that we don't mess up the global count of wired pages by having
the page's wire_count be non-zero when we free the page.
pointed out by Michael Hitch.
2001-12-13 04:39:50 +00:00
tacha
cba701fed7 remove bogus printf. 2001-12-13 02:50:30 +00:00
augustss
0ba8bac8fe Fix some bugs. But the driver is still borken. 2001-12-13 02:16:21 +00:00
lukem
c10ff7575c YANOMAN= 2001-12-13 01:26:39 +00:00
augustss
d6bbabfb1b Some DIAGNOSTIC nonsense. 2001-12-13 00:33:58 +00:00
augustss
a97820e536 Don't use u_int since it requires sys/types.h 2001-12-13 00:33:36 +00:00
augustss
8e98b4a185 Add some special cases for the Sitecom adapter.
Make endian safe.
Fix some minor bugs.
2001-12-12 23:59:48 +00:00
petrov
aaee6a1839 initialize all fpu registers and don't panic on user 'privileged action' 2001-12-12 19:14:47 +00:00
augustss
3ed67fc0c4 Add missing delay for the tekram dongle. 2001-12-12 17:52:06 +00:00
augustss
5c0685d35e Don't use timeout 0 to tsleep() when the time is short. 2001-12-12 17:21:36 +00:00
augustss
0a4d7b9de3 Add a scanner quirk for keeping the pipes open between device opening.
Idea from Enami.
2001-12-12 15:48:18 +00:00
augustss
7727919172 Use USBD_NO_COPY in for some transfers where it was missing. 2001-12-12 15:44:47 +00:00
augustss
2fdd0f5a4b Some more paranoia checks when DIAGNOSTIC. 2001-12-12 15:38:58 +00:00
augustss
29c3fe261b Add some comments. 2001-12-12 15:38:27 +00:00
augustss
95d1208c14 Regen. 2001-12-12 15:37:21 +00:00
augustss
290d3a0d9e Add some devices. 2001-12-12 15:36:59 +00:00
augustss
dfbcffae07 Remove some stupid casts. 2001-12-12 15:36:08 +00:00
augustss
2fe5c52a53 Use unsigned ints for device settings. 2001-12-12 15:34:49 +00:00
augustss
fae70125c0 Change default value for ebofs. 2001-12-12 15:34:15 +00:00
augustss
0680aa8809 Add some ioctl()s for consumer IR. 2001-12-12 15:33:53 +00:00
augustss
a7d99a83b1 Add (commented out) uirda. 2001-12-12 15:32:13 +00:00
augustss
bb9f9be772 Add uirda. 2001-12-12 15:31:33 +00:00
augustss
4a802f4928 Add USB-IrDA bridge.
Needs more testing.
2001-12-12 15:27:24 +00:00
augustss
22735e5d44 Move usbd_clear_endpoint_toggle() prototype to usbdi.h. 2001-12-12 15:23:58 +00:00
gehenna
968318a989 Use vendor/product variables 2001-12-12 14:24:53 +00:00
gehenna
0f983137af Don't change wire protocol state in umass generic function 2001-12-12 13:23:20 +00:00
gehenna
54e3c1962e bcopy -> memcpy 2001-12-12 13:17:03 +00:00
lukem
b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
lukem
b574ee0f82 define NOMAN= once, at the real top level of lkm 2001-12-12 12:06:45 +00:00
lukem
19d9b95273 define NOMAN= once, at the top level 2001-12-12 11:56:05 +00:00
lukem
00255d260d define NOMAN= once, at the top level 2001-12-12 11:44:43 +00:00
kleink
e1f611fa76 The MPC105 does not implement the IBM reference implementation's
Equipment Present Register (I/O port 0x080c), so perform L2 cache
detection here.
2001-12-12 10:18:48 +00:00
elric
51b292ea65 Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.
2001-12-12 07:50:05 +00:00
elric
94448f7e52 Update the ramdac interface to be allow the setting of dotclocks. This is
required to support the driver in ibm561.c.
2001-12-12 07:47:46 +00:00
elric
8ffabd82eb Initial support for the IBM RGB561 RAMDAC. This uses the same interface
as the Bt463 and Bt485 drivers.
2001-12-12 07:46:48 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
jdolecek
4fbc1b008e one more - it would be nice to have LKMs actually working on PowerPC platforms 2001-12-12 00:05:30 +00:00
augustss
1ad59a57f2 Recognized Danube chip as well.
Small cleanup.
2001-12-11 21:34:06 +00:00
aymeric
48de85e04b add support for OBP 3.x as seen on some JavaStation 1's 2001-12-11 21:09:52 +00:00
kleink
b52ac962b3 Add pci device. 2001-12-11 21:02:42 +00:00
kleink
a5abbc5b66 Add wsfont pseudo-device. 2001-12-11 20:49:18 +00:00
jdolecek
d7129f9255 fix typo in #ifdef __FreeBSD__
Pointed out by Chris Jepeway in private e-mail, thanks!
2001-12-11 18:15:09 +00:00
pk
f696afd8ff Name changes: {KBD,MS}_BPS => {KBD,MS}_DEFAULT_BPS 2001-12-11 17:27:25 +00:00
ragge
c7bae7c419 Add forgotten "hdc" and "rd" disks. 2001-12-11 15:14:25 +00:00
ad
f1e83bd500 Regen. 2001-12-11 11:21:56 +00:00
ad
a2b8531ff3 Add some Intel/ICP-Vortex/Compaq products. 2001-12-11 11:21:01 +00:00
kleink
b327c956d1 Regen: add product ID for the Motorola MPC107. 2001-12-11 11:00:45 +00:00
kleink
4e24ace442 Add product ID for the Motorola MPC107. 2001-12-11 10:57:50 +00:00
briggs
41f0fe2808 Make it possible to build a kernel that actually compiles and runs on a shark. 2001-12-11 06:00:16 +00:00
uwe
9a2a6c77e8 tabify 2001-12-11 05:54:56 +00:00
shin
13c66a24fe compilation fix. 2001-12-11 05:43:11 +00:00
briggs
caf1c0abc7 include <arm/...> cousin 2001-12-11 04:50:51 +00:00
shin
7806543ebf SPEC_PLATFORM is 'defparam' (requires value). 2001-12-11 04:46:39 +00:00
uwe
e51c17a95f enable pci bus device. (hi matt!)
fix a whitespace nit while I'm here.
2001-12-11 04:29:26 +00:00
uwe
a2b05223ee Add microSPARC-IIep support. 2001-12-11 04:25:58 +00:00
uwe
6767457cab Add microSPARC-IIep support. Move sun4m bootstrap into separate
functions (for normal 4m and for IIep).
2001-12-11 04:21:39 +00:00
uwe
0a2b7fe7d7 Add microSPARC-IIep support. Protect mostek clock code with NMK48TXX
so that this file doesn't require obio, iommu and sbus to link the kernel.
Make todr_handle and establish_hostid() non-static.
2001-12-11 04:17:48 +00:00
uwe
d5a5296209 Implement microSPARC-IIep versions of sparc_interrupt4m, raise and microtime. 2001-12-11 03:46:59 +00:00
uwe
2d4ea9ba63 Add constants for microSPARC-IIep registers. 2001-12-11 03:43:22 +00:00
uwe
4924c0ae30 On ms-IIep kernel runs with PCI endian swapping turned on but we need
to turn it off before we pass control to PROM's repl as it expects
PCIC to be in little endian mode and would hang otherwise.
2001-12-11 03:35:02 +00:00
uwe
ee71ea68bc microSPARC-IIep is a sun4m but with an integrated PCI controller.
In a lot of places (like pmap &c) we want it to be treated as SUN4M.
But since various low-level things are done very differently from
normal sparcs (and since for now it requires a relocated kernel
anyway), the MSIIEP kernels are not supposed to support any other
system.  So when MSIIEP is defined - insist on SUN4M defined and SUN4
and SUN4C not defined.
2001-12-11 03:28:38 +00:00
uwe
814a815542 Export msiiep_swap_endian(onoff) from msiiep.c to turn on/off
automagic endian swapping performed by PCI controller.  Need it in
several places where we want to enter PROM repl.
2001-12-11 03:24:46 +00:00
chris
80e667c6ab Add clockctl device.
Note that someone needs to tidy this up, we've got 92 block devices, which just ain't true.  Also appears we're actually missing some, eg the ld block device.
2001-12-11 00:34:50 +00:00
uwe
78eadd17b7 Attachment for MI com(4) driver at ebus. 2001-12-11 00:31:08 +00:00
uwe
81f0e10ca5 rtc (ds1287a) time of day clock at ebus. 2001-12-11 00:29:21 +00:00
uwe
255d046f95 EBus support for ms-IIep. 2001-12-11 00:25:31 +00:00
uwe
e0046f836b EBus support for ms-IIep. This file should eventually be merged into
sys/dev/ebus/ebusreg.h and shared with sparc64 port.
2001-12-11 00:24:03 +00:00
uwe
de47c08727 microSPARC-IIep support. 2001-12-11 00:18:22 +00:00
martin
8b3d9b9497 Enable active LCP keepalive handling in the PPP layer, the PPPoE layer
itself has no means to detect broken connections.
2001-12-10 23:23:24 +00:00
uwe
02529ca11e Fixed VA for microSPARC-IIep PCI controller. 2001-12-10 23:10:34 +00:00
briggs
eca843c395 define __HAVE_NWSCONS for pckbc. 2001-12-10 22:42:54 +00:00
uwe
75b646134f mk48txx needs-flag to allow sparc's clock.c to be compiled without
mostek support that pulls in a lot of other stuff too.
2001-12-10 22:36:21 +00:00
briggs
25e9f1f519 Provide basic bus_space_mmap(). Noted by self and in PR port-powerpc/14873.
This at least allows the compile to complete.  There are still Issues with
vga_pci.c's assumptions about a PC-ish environment.
2001-12-10 20:30:21 +00:00
thorpej
b5ea4050f9 Update for core dump changes. 2001-12-10 19:18:49 +00:00
kleink
0fc3ae7e76 Add (some) register definitions for the Motorola MPC105 PCI Bridge/Memory
Controller (PCIB/MC).
2001-12-10 12:09:33 +00:00
gmcgarry
6f71c27e26 MACHINE_ARCH -> MACHINE_CPU 2001-12-10 07:27:52 +00:00
gmcgarry
47e4542449 Pull in <bsd.own.mk> early so we can use MACHINE_CPU. Use
MACHINE_CPU instead of MACHINE_ARCH.
2001-12-10 07:26:47 +00:00
mhitch
4c3d013b14 Add a left shift routine needed by changes in lib/libsa/ufs.c. 2001-12-10 05:31:39 +00:00
chs
8eafa995c7 don't strip any symbols from profiling kernels,
that makes it harder to figure out what's going on.
2001-12-10 05:24:17 +00:00
thorpej
7767121514 I can't win today -- make this link. 2001-12-10 04:05:23 +00:00
augustss
aa816a6d89 Regen. 2001-12-10 03:36:54 +00:00
augustss
9cfe511c73 Add some devices. 2001-12-10 03:36:12 +00:00
augustss
01b4e2c572 When looking for a console keyboard if usb-kbd-ihandles can't be found
then try the old name usb-kbd-ihandle.  This way my old iMac gets the
USB keyboard as console instead on the (non-existent) ADB keyboard.
Suggested by Gabriel Rosenkoetter.
2001-12-10 02:46:05 +00:00
thorpej
0b63bf16b8 Cast off_t to (long long) for printing. 2001-12-10 02:07:37 +00:00
thorpej
06920aef28 Move the code that walks the process's VM map during a coredump
into uvm_coredump_walkmap(), and use callbacks into the coredump
routine to do something with each section.
2001-12-10 01:52:26 +00:00
enami
8d6b971560 KNF. 2001-12-10 01:49:26 +00:00
chs
62c2e756ed update vnode flags in ddb vnode-printing function. 2001-12-10 01:38:48 +00:00
thorpej
f884f172e3 Don't compare an int against NULL. 2001-12-10 00:33:04 +00:00
martin
0099682916 Now that everything works without LINK1 set, do not set it by default.
While here, remove an unnecessary splnet()/splx() pair.
2001-12-10 00:24:12 +00:00
martin
d585188042 We explicitly close LCP when going to state CLOSED, so we better open
it again when going from INITIAL to STARTING. This has been done for
passive or auto-conecting interfaces always, but not for permanent
ones.

This fixes session reestablishement for PPPoE interfaces without LINK1 set,
and probably also closes PR kern/11161.

Thanks to Jared D. McNeill and Ross Harvey for sugesting debug methology.
2001-12-10 00:22:21 +00:00
thorpej
91c4b48914 Build core_elf32.c if EXEC_ELF32. Build core_elf64.c if EXEC_ELF64. 2001-12-09 23:18:09 +00:00
thorpej
d0e51ba7da Fix compilation problems. 2001-12-09 23:08:34 +00:00
thorpej
51535d4bf5 Add support for dumping ELF-cormat core files. 2001-12-09 23:05:56 +00:00
veego
9d39bbf3a8 Support for dvd region code (RPC). 2001-12-09 22:56:10 +00:00
veego
f36a75214e Add some headers for region code support (RPC), which will be added in the
next commit of sys/dev/scsipi/cd.c.
2001-12-09 22:54:51 +00:00
briggs
05b3906727 Register prefixes for tron()/troff() macros. 2001-12-09 19:07:01 +00:00
manu
3cdc6f6197 Changed clocktl interface to use syscallargs structures 2001-12-09 16:10:43 +00:00
atatat
6dce2e2bec Make the kernel depend on vers.o' instead of newvers'. This
eliminates the need to unconditionally rebuild vers.o and subsequently
to relink the kernel every time you type make, even if you just
finished one.
2001-12-09 16:04:03 +00:00
fvdl
14deefd5b1 pckbd_enable is called during autoconfig. Using pckbc_enqueue_cmd at
that time will have bad results, such as queue corruption because
of multiple TAILQ_INSERTs, etc, because it's not designed to work
in an interrupt/context-free environment. Use pckbc_poll_cmd instead.
2001-12-09 13:42:01 +00:00
pk
80c46be6c1 KBD_BPS => KBD_DEFAULT_BPS (sync with ms driver nomenclature). 2001-12-09 12:03:32 +00:00
pk
5962ca0a49 Allow SUN_MS_BPS to override the mouse baud rate at all times. (see PR14774). 2001-12-09 12:02:06 +00:00
atatat
f30d600bed Fix a couple of rcsids. 2001-12-09 05:02:21 +00:00
atatat
b45c51b1fc Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +00:00
thorpej
8663a7550e Add files I mised when includes were straightened out (sorry, folks,
I had a stale kernel compile directory, which is why I missed this).
2001-12-09 03:35:08 +00:00
chs
8e9cdbbd63 replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names. 2001-12-09 03:07:43 +00:00
chs
849c9b2bfd add {anon,file,exec}max as a upper bound on the amount of memory that
will be allocated for the respective usage types when there is contention
for memory.

replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names
and sysctl names.
2001-12-09 03:07:19 +00:00
gehenna
c9b557f40e Add an item 2001-12-09 03:06:46 +00:00
briggs
c869df6afb The new toolchain wants to generate relocatable branches to globally-defined
symbols--even when the branches are local and would otherwise work with
bxx.b.  Compensate for this by shadowing the relevant labels with local
labels.
2001-12-09 01:43:13 +00:00
chris
3831bfec98 Improve comment on the clockswitching asm code, it doesn't use r0 at all, it just needs it to make valid asm. 2001-12-08 21:30:04 +00:00
chris
ce689bde4d Fix the asm macros
The tmpx registers are now outputs, this makes them all unique.
Add the fact that cc is changed by the asm (not believed to be used but rather be correct)
Correctly specify w as an input and output register, I think this was hiding the bug below!
Allow sum to be in a different input and output register.

Correct bug in psuedo header handling for in4_cksum.  Seems that the new macros turned up a latent bug in the psuedo header handling, the code was moving a pointer forward 16 bytes twice, not found before as the ADD16 macro wasn't 100% accurate, as it didn't output w, even though it modified it.
2001-12-08 21:18:50 +00:00
martin
b1554100e7 Change the way IPCP negotiation is handled.
Collect both local and remote address and set them to the interface in
one step (the peer adress was not set at all before).

This causes the peer address now to show up on the interface and all
messages to the routing socket to be send with correct data. The latter
has been the last missing piece to complete PPPoE support.
2001-12-08 19:46:39 +00:00
cyber
d6671330e0 The prom doesn't setup the fb if its not set to console.
We shouldn't try to configure it in that case.
This will make serial console work.  completes fix to PR#14213
(Private email determined PR author was using serial console.)
2001-12-08 19:42:45 +00:00
manu
cebd826075 more sysconf... 2001-12-08 19:29:03 +00:00
manu
4d54359755 Implemented irix_sys_xstat(). This duplicates some code already present
for svr4 compat, maybe these should be merged..
2001-12-08 18:08:04 +00:00
atatat
756e7c6c1f Add the rest of the infrastructure needed to support the rest of the
ports.  This includes cleaning out DBG, cleaning up the `clean'
target, and tweaking the warnings flags (cesfic, amigappc, and the arm
ports are a little less warning resistant).

Oh, and let's `install' the kernel into ${DESTDIR} if someone says
`make install'.  We have to think about cross-compilers here.
2001-12-08 15:01:41 +00:00
manu
e3824c6c59 Added IRIX signal delivery 2001-12-08 11:17:37 +00:00
manu
342f5317b0 Added IRIX signal trampoline 2001-12-08 11:15:43 +00:00
soren
a5812755ac Pass sbus addresses to sbus_bus_map(), not sbus_bus_addr()'d ones. 2001-12-08 05:36:31 +00:00
gmcgarry
0d3b140525 Update list to reflect reality 2001-12-08 04:26:10 +00:00
gmcgarry
b820c21e65 Update for structural interrupt changes. No functional change. 2001-12-08 04:22:46 +00:00
gmcgarry
8dd1938ed2 softintr(9) interface for hp300 2001-12-08 04:12:37 +00:00
lukem
290cc55a28 - Implement
uint32_t namei_hash(const char *p, const char **ep)
  which determines the equivalent MI hash32_str() hash for p.
  If *ep != NULL, calculate the hash to the character before ep.
  If *ep == NULL, calculate the has to the first / or NUL found, and
  point *ep to that location.
- Use namei_hash() to calculate cn_hash in lookup() and relookup().
  Hash distribution goes from 35-40% to 55-70%, with similar profiled
  time spent in cache_lookup() and cache_enter() on my P3-600.
- Use namei_hash() to calculate cn_hash in nfs_readdirplusrpc(),
  insetad of homegrown code (that differed from that in lookup() !)
  namei_hash() has better spread and is faster than previous code
  (which used a non-constant multiplication).
2001-12-08 04:09:59 +00:00
enami
df8cfd38a2 Test ".." correctly when creating reverse cache entry. 2001-12-08 04:09:56 +00:00
gmcgarry
9a9a6e8ad4 softintr(9) interface for hp300 2001-12-08 04:09:18 +00:00
gmcgarry
1ef513e6a8 Remove placeholder for event counter; it's done elsewhere 2001-12-08 04:04:49 +00:00
gmcgarry
544aceff4c - shift event counters to intr.c
- use new event counters
- align comments
2001-12-08 04:01:48 +00:00
gmcgarry
6b8f8f10c6 - rework data structures to align with generic soft interrupts interface
- shift event counters from locore
2001-12-08 04:00:22 +00:00
gmcgarry
52c6bcd104 bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
2001-12-08 03:55:22 +00:00
gmcgarry
aee7bee1a7 bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
2001-12-08 03:34:38 +00:00
bjh21
979ce3fa95 Explicitly declare ofw_device_register(), since it's not in any header file.
Yes, this is nasty, but it's not as if this port has long to live, does it?
2001-12-08 01:22:45 +00:00
bjh21
4c64633edc Remove more acorn32 leftovers. 2001-12-08 01:16:53 +00:00
minoura
3e9a826813 Add -p option to suppress creating the partition table. 2001-12-08 00:51:03 +00:00
thorpej
165f442f86 Update for "coredumps now exec-format/emulation specific". 2001-12-08 00:37:07 +00:00
thorpej
205c159f0e Make the coredump routine exec-format/emulation specific. Split
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).
2001-12-08 00:35:25 +00:00
chris
6bcb608ef3 Reintroduce these header files so that cats kernels can build. Fallout from Jason reverting the includes stuff. 2001-12-07 23:09:32 +00:00
matt
ee7afa77b2 Fix sense of if to grab address from alternation if srom is not in isv
format on Davicom chips.  Add sparc specific case in this case to call
myetheraddr if oui is all 0s (for Netra X1).
2001-12-07 21:13:58 +00:00
fredette
178a439b58 Regen. 2001-12-07 14:21:18 +00:00
bjh21
20d6672fda Change L2CR_CONFIG from defflag to defparam, since it takes an argument. 2001-12-07 12:58:43 +00:00
yamt
272f471ee0 add detach support for st. 2001-12-07 11:26:30 +00:00
hannken
de07b4b524 Protect `opt_sparc_arch.h'. Used from /sys/arch/sparc/stand/boot. 2001-12-07 11:00:39 +00:00
itojun
33429d0612 correct timing to increment icmp6 MIB variables. sync with kame 2001-12-07 10:10:43 +00:00
onoe
d5d707cf1d Add 82801BAM as piix.
Do not initialize global variables 'pciintr_icu_tag' to NULL.
Its type is 'const struct pciintr_icu *' (typedef'ed) and gcc sometimes(!)
put it in Text region.  So force arrrange it to BSS.
2001-12-07 08:07:57 +00:00
onoe
e7357c0007 Regen: Add HPB and LPC functions of 82801BAM. 2001-12-07 08:00:35 +00:00
onoe
c971f89005 Add HPB and LPC functions of 82801BAM. 2001-12-07 07:59:24 +00:00
cjs
b445461d1e Rebuild these to fix the "generated from" line. 2001-12-07 07:43:10 +00:00
jdolecek
3d4c59a8ee Back off previous for now, Jason thinks it's not right. Will discuss
on tech-kern@
2001-12-07 07:09:29 +00:00
cjs
9dd4ce03d0 Add Palm m500/m505 and Sony Clie USB cradle device IDs. 2001-12-07 06:59:44 +00:00
minoura
a5d9ca13b1 New target: release. 2001-12-07 06:52:14 +00:00
minoura
7bd6e6b999 Correct typo. 2001-12-07 06:51:47 +00:00
fredette
b596abc4ed Picked up some old scheduler changes. Now the sun2 locore
corresponds tightly to revision 1.81 of the sun3 locore.
2001-12-07 05:24:56 +00:00
briggs
f9d1ec360b 16 partitions -- agree with files.sandpoint 2001-12-07 05:20:57 +00:00
briggs
757139f41d Disable ws* until we can have a working vga* at pci. 2001-12-07 05:10:59 +00:00
briggs
43fd0c736b Add INSTALL kernel (copy from RAMDISK). 2001-12-07 05:10:17 +00:00
bjh21
8a16a572d7 Remove references to things that have disappeared in the acorn32 split. 2001-12-06 23:51:04 +00:00
simonb
e7a7551978 Convert the byte_swap_* macros from GNUish ({ ... }) extensions to
static inline functions.
2001-12-06 23:25:43 +00:00
christos
d343ff07bf remove diagnostic test checking for cr_ref = 0. It will never be, because
free() will stick 0xdeadbeef into it.
2001-12-06 23:11:59 +00:00
jdolecek
255ce12e50 replace FIF_WANTCLOSE/FIF_LARVAL with FWANTCLOSE/FLARVAL, which are set
in f_flag of struct file
for now, keep former f_iflags of struct file as _f_spare0, it will be g/c'ed
when struct file will be changed (this will happen soon)
2001-12-06 22:34:24 +00:00
fredette
2fe9375188 Tweaked whitespace and, in comments only, added % to make this
file much easier to compare to its sun3 cousin.
2001-12-06 21:05:12 +00:00
jdolecek
27b0006d34 it doesn't make sense to wait for resources during autoconfiguration 2001-12-06 21:04:27 +00:00
augustss
ba528e6dec Small change to Christos' fix: allow malloc() to return NULL, but complain
if it does.
2001-12-06 20:00:58 +00:00
christos
94074f1212 change the malloc arg from NOWAIT to WAITOK; pointed out by lennard. 2001-12-06 19:54:02 +00:00
christos
dbabce6bb7 PR/14852: Martin Husemann: Allocate the slotdata the the probed slot before
we call the configuration function. Thanks lennard for pointing it out.
XXX: Someone should look this over and make sure that the current strategy
makes sense.
2001-12-06 19:52:56 +00:00
jdolecek
142dc2740c g/c, eventual port of newer FreeBSD smbfs will go to sys/fs/smbfs 2001-12-06 19:01:44 +00:00
kleink
bc1f5761e3 Recognize the MK48T18 as well (differs from the MK48T08 only in packaging
options and voltages).
2001-12-06 18:54:23 +00:00
augustss
22fd9bbb5f Add IrDA related defines. 2001-12-06 17:00:26 +00:00
soren
00755fc870 options space tab. 2001-12-06 16:51:31 +00:00
augustss
ebdd7a70ea Uncomment IrDA devices since they seem to work now. 2001-12-06 16:35:09 +00:00
rafal
a76d350acc Fix component class/types to match reality for SGI's ARCS, which is just
different enough from stock ARC to be annoying.
2001-12-06 14:59:02 +00:00
wiz
d10951fb07 File contents not interesting anymore, and even partially wrong.
Remove it. Ok'd by chuq.
2001-12-06 13:56:35 +00:00
rafal
23e1fa1306 Fix PR 13465 by Krister Walfridsson: memory initialization used uninitialized
variable to start off the write pattern (how ironic! 8-).
2001-12-06 13:18:22 +00:00
bjh21
352d57f9e1 Remove IOMD support, since NetBSD/arm32 doesn't support IOMD systems any more. 2001-12-06 11:54:07 +00:00
msaitoh
72f2d1c3a3 #endif ... -> #endif /* ... */ 2001-12-06 10:28:40 +00:00
chs
163b4fbc50 in vinvalbuf(), vtruncbuf() and vflushbuf(), don't skip calling
VOP_PUTPAGES() just because the vnode has no pages.  layered filesystems
will want to pass these calls on through to the underlying filesystem,
and non-layered filesystems may need to remove the vnode from the
syncer queues.  fix up MP locking and add some locking assertions.
fixes PRs 12284 and 14640.
2001-12-06 04:34:33 +00:00
chs
0931f31deb add a VOP_PUTPAGES method for all the filesystems that don't have pages.
do all the work for destroying syncfs vnodes in vfs_deallocate_syncvnode()
to make some new assertions work out.
2001-12-06 04:30:49 +00:00
chs
1361ca58eb be consistent, clear VONWORKLST when we take a syncer vnode off the
syncer list.
2001-12-06 04:29:55 +00:00
chs
4d14671458 add VOP_GETPAGES and VOP_PUTPAGES methods for layered filesystems.
drop the interlock on the upper layer, acquire the interlock on the
lower layer.
2001-12-06 04:29:23 +00:00
chs
3b229c5a51 use the genfs VOP_GETPAGES and VOP_PUTPAGES. 2001-12-06 04:28:07 +00:00
chs
5a690c92a1 add a VOP_PUTPAGES method for all the filesystems that don't have pages,
just unlock the interlock.
2001-12-06 04:27:40 +00:00
minoura
da36b95207 Sync with mvme68k. 2001-12-06 04:13:39 +00:00
minoura
bf3ea26688 Add ELF support. 2001-12-06 04:13:12 +00:00
lukem
c3a9ebdf37 fix comment 2001-12-06 04:02:22 +00:00
sommerfeld
39424268c6 Use #if defined(FOO_CPU) instead of #if FOO_CPU just to be picky.
Spotted by Thomas Klausner.
2001-12-06 01:56:19 +00:00
lukem
1546835120 Replace nfs_hash() (with its extremely bad hash) with a macro to call
hash32_buf() to obtain a 32 bit hash.  On some tests I ran I obtained
a 30x improvement in hash distribution and a 6x reduction in time spent
in nfs_nget().
2001-12-06 01:26:36 +00:00
augustss
604ea366d4 Restructure to get rid of size limit.
Fix return value bug.
2001-12-06 00:17:12 +00:00
augustss
5ef96ebab2 Don't crash on early calls to get the speeds. 2001-12-06 00:11:18 +00:00
thorpej
8d9d5216ec More complete conversion of the XMM-format tag word to i387-format
tag word.
2001-12-06 00:01:36 +00:00
lukem
78fd77ad3f don't need nfs_hash prototype here 2001-12-05 23:58:14 +00:00
augustss
ec901ec7fe Regen. 2001-12-05 23:25:56 +00:00
augustss
12812553f8 Add a NEC USB 2.0 hub. (USB 2.0 hubs are very rare creatures at the moment!) 2001-12-05 23:25:31 +00:00
atatat
52c50e165b Use more parentheses to make the compiler happy. 2001-12-05 22:16:30 +00:00
atatat
d2c23d82a1 TRY_SCSI_LINKED_COMMANDS is a param, not a flag. 2001-12-05 22:15:05 +00:00
atatat
7ac1189351 Remove a redundant definition of __KERNEL_RCSID() that was redundantly
defined.
2001-12-05 21:06:51 +00:00
bouyer
3fe7074804 Compile with NWD == 0. Fixe kern/14844 by hamajima@nagoya.ydc.co.jp. 2001-12-05 20:43:00 +00:00
augustss
b24bbb4d82 Constify a little. 2001-12-05 20:00:15 +00:00
augustss
47fffba901 Add dongle specific code. 2001-12-05 19:59:54 +00:00
fredette
1a3eaeafd8 Now generate oosiop.out, the compiled 53c700 script. 2001-12-05 18:34:19 +00:00
fredette
ba3be8d408 Generated from oosiop.ss rev. 1.1:
Initial compiled script for 53c700.
2001-12-05 18:32:55 +00:00
fredette
60c77bb2f1 Added support for the Symbios/NCR 53c700 SCSI controller.
This chip is very similar to the 53c710, except that it's
missing a few registers, doesn't do relative jumps and
doesn't have the table-indirect addressing mode.

I have checked that this still generates the same output
on the existing scripts for the other chips.
2001-12-05 18:31:53 +00:00
fredette
8dce160cd1 New script for the Symbios/NCR 53c700 SCSI controller.
This is closely related to osiop.ss, the script for the
53c710.
2001-12-05 18:27:13 +00:00
atatat
2f31dcd126 It's not called "opt_fpuemulate.h", it's called "opt_fpu_emulate.h". :) 2001-12-05 18:04:35 +00:00
augustss
fe61017def Add (commented out) irframetty. 2001-12-05 16:48:03 +00:00
augustss
88b5ed0731 Use NULL instead of 0 in a few places. 2001-12-05 16:12:42 +00:00
augustss
81f90d8cd3 Use the right name to decide if we should use irframe entry. 2001-12-05 16:10:09 +00:00
augustss
bd8b498c42 Do SIR framing on incoming frames. 2001-12-05 15:51:11 +00:00
augustss
8c2cf4c7d8 Break out SIR framing to its own file. 2001-12-05 14:50:13 +00:00
mrg
c3409421aa add commented BLINK option. 2001-12-05 13:29:24 +00:00
wiz
31fcd50433 Use defparam instead of defflags for some bktr(4) related options that need
a value.  Add BKTR_REVERSE_MUTE to defflags.
2001-12-05 11:41:16 +00:00
simonb
20a3ef2b53 Remove some debug printf()s. 2001-12-05 10:54:51 +00:00
enami
4654f5c754 Implement sigismasked() correctly. KNF while I'm here. 2001-12-05 07:32:24 +00:00
lukem
e35019c17b Add <sys/hash.h>, which currently implements three inline functions:
uint32_t hash32_buf(const void *buf, size_t len, uint32_t ihash)
	return 32 bit hash of buf, size len,
	seeded with initial hash of ihash (usually HASH32_BUF_INIT).
	this hash may use a different algorithm to hash32_str() and
	hash32_strn().

    uint32_t hash32_str(const void *buf, uint32_t ihash)
	return 32 bit hash of buf, which is an NUL terminated ascii string,
	seeded with initial hash of ihash (usually HASH32_STR_INIT).
	this hash may use a different algorithm to hash32_buf()
	but must use the same algorithm as hash32_strn().

    uint32_t hash32_strn(const void *buf, size_t len, uint32_t ihash)
	return 32 bit hash of buf, which is an NUL terminated ascii string
	up to a maximum of len bytes,
	seeded with initial hash of ihash (usually HASH32_STR_INIT).
	this hash may use a different algorithm to hash32_buf()
	but must use the same algorithm as hash32_str().

As discussed on tech-kern@netbsd.org.
2001-12-05 06:51:55 +00:00
chs
5e5ab17808 fix the sense of a MULTIPROCESSOR conditional, cpus after the first are
not configured if MULTIPROCESSOR is *not defined.
2001-12-05 05:13:50 +00:00
chs
f0d9c43220 fix macppc MULTIPROCESSOR compilation. 2001-12-05 05:02:10 +00:00
lukem
c0d0f0b31c convert from macros to static inlines. allen briggs confirms resultant code
is the same with -Ox, for x>0 (as expected).
2001-12-05 04:37:28 +00:00
augustss
9c8fe0b8c5 Put bytes on right q. 2001-12-05 04:31:02 +00:00
augustss
0913a897a5 Set error code for IRDA_RESET_PARAMS. 2001-12-05 04:30:24 +00:00
augustss
af5eb6fc8c Fix some minor bug.
Add more debugging.
2001-12-05 04:07:06 +00:00
augustss
b81ddff1a7 Reset parameters on open. 2001-12-05 04:06:32 +00:00
augustss
efade85d8e Make the right defaults for kbdmux and mux locators. 2001-12-05 04:05:37 +00:00
simonb
a9f73b2015 s/defopt/defparam/ in previous; from lukem. 2001-12-05 03:50:09 +00:00
simonb
8a32c6fbfa Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask. 2001-12-05 03:24:57 +00:00
minoura
88031f5a81 Correct LINKS to install sdboot_ufs properly. 2001-12-05 02:07:09 +00:00
enami
76858f7620 When initially allocating or extending arrays in struct uvm_amap,
adjust allocation size using malloc_roundup().  This eliminates many
unnecessary malloc/memcpy calls.
2001-12-05 01:33:09 +00:00
enami
996ee10484 Introduce new function malloc_roundup(), suggested by Bill Sommerfeld
on tech-kern.
2001-12-05 01:29:04 +00:00
augustss
037eb62a0f Mention that much of the code was stolen from Tommy Bohlin. 2001-12-05 01:13:58 +00:00
thorpej
03efee5585 * Allow machine-dependent code to specify hooks for ptrace(2)
(__HAVE_PTRACE_MACHDEP) and procfs (__HAVE_PROCFS_MACHDEP).
  These changes will allow platforms like x86 (XMM) and PowerPC
  (AltiVec) to export extended register sets in a sane manner.

* Use __HAVE_PTRACE_MACHDEP to export x86 XMM registers (standard
  FP + SSE/SSE2) using PT_{GET,SET}XMMREGS (in the machdep
  ptrace request space).
* Use __HAVE_PROCFS_MACHDEP to export x86 XMM registers via
  /proc/N/xmmregs in procfs.
2001-12-05 00:58:05 +00:00
enami
fbfa7f8e61 No need to zero clear after amap->am_bckptr[amap->am_nslot], since we're
clearing corresponding elements in an array amap->am_anon[].
2001-12-05 00:34:05 +00:00
enami
d2391ede6a Remove extern from function prototype. 2001-12-05 00:00:10 +00:00
enami
769949847d KNF and other cosmetic changes. 2001-12-04 23:56:36 +00:00
augustss
3ead5262dd Add some dongle support ioctl()s. 2001-12-04 23:33:33 +00:00
lukem
612e777b6e s/defopt/defflag/ 2001-12-04 23:14:48 +00:00
manu
9dfecbefdb Fixed stack setup for argument passing. argc and **argv need to be aligned
on a 16 bytes boundary. To get things done, we currently duplicate a lot of
code from copyargs(), this should be done in a nicer way.
2001-12-04 22:13:41 +00:00
augustss
527fff66c0 Change speed setting a little. 2001-12-04 21:50:50 +00:00
augustss
e0b032d651 Add ir/ to SUBDIR. 2001-12-04 21:43:44 +00:00
ross
cbaa950b62 code cleanup for portability 2001-12-04 21:32:15 +00:00
augustss
64a9c02472 Implement speed setting. 2001-12-04 20:53:21 +00:00
jdolecek
a275d0a6b9 clarify copyright - this is all freshly written, no older code used 2001-12-04 20:51:23 +00:00
jdolecek
f1243fa104 add 'esp at mca? slot ?' and 'scsibus* at esp?' 2001-12-04 20:49:40 +00:00
jdolecek
7a12ca98ab Make this NCR 53C90 driver work, using the chip information from
Tymm Twillman's Linux mca_53c9x driver.
Tested with external ZIP100 only.
2001-12-04 20:47:58 +00:00
jdolecek
c152d680d8 Add M_CANFAIL malloc(9) flag. This flag changes behaviour in M_WAITOK
case when the requested memory size can't ever be granted - instead
of panic, malloc(9) would return failure (NULL).
Note kernel code should do proper bound checking, rather than
depend on M_CANFAIL. This flag is only supposed to be used in very
special cases, where common bound checking is not appropriate.

Discussed on tech-kern@, name ``M_CANFAIL'' suggested by Chuck Cranor.
2001-12-04 20:13:19 +00:00
sommerfeld
ceb358f80c Fix so these files build with options DEBUG enabled.
The change to edc_mca.c may not work as I don't have any mca hardware.
2001-12-04 20:00:15 +00:00
augustss
636b7788a1 Implement input processing (untested). 2001-12-04 19:56:43 +00:00
augustss
1db6a7d9df Simplify interface to irframe. 2001-12-04 19:56:17 +00:00
thorpej
f7141449f2 When doing process_s87_to_xmm(), don't restore the "saved SW from
last exception"; the userland-visible fpreg structure doesn't
include it.

Pointed out by enami tsugutomo <enami@sm.sony.co.jp>.
2001-12-04 19:41:47 +00:00
thorpej
2684ea2b22 Don't declare which exec formats to support in loadfile_machdep.h.
Instead, give each user of loadfile() control over which exec formats
it wants to support.
2001-12-04 18:54:34 +00:00
is
0614c8a6ad Really merge in Adam Ciarcinskis spl$foo() code, which should have been
in long ago.
2001-12-04 18:54:11 +00:00