Commit Graph

35292 Commits

Author SHA1 Message Date
bouyer
f522d6f1ee Supports "USR 3CP5609 PCI 16550 Modem", from Kent Polk. 2000-02-08 16:26:23 +00:00
bouyer
b3cffb232f regen 2000-02-08 16:24:00 +00:00
bouyer
b614c6a569 Add US Robotics vendor ID, and USR 3CP5609 PCI 16550 Modem product ID.
From Kent Polk.
2000-02-08 16:22:37 +00:00
jdolecek
e20ce57cd6 Store also attribute identifier in the filehandle structure, so that
proper file attribute (a.k.a. "resource fork") is picked up when
the filehandle is mapped back to filesystem object.

This should make attributes working on NFS-exported NTFS filesystems
or other layered filesystems using filehandles.
2000-02-08 16:17:58 +00:00
tsutsui
6968a454bd Add news1200 support.
Based on a patch from Koichi NISHIWAKI <k-nis@ba2.so-net.ne.jp>
2000-02-08 16:17:28 +00:00
tsubai
b933f19ea2 Flush cache before rebooting to preserve msgbuf. 2000-02-08 12:57:11 +00:00
enami
34d63b5623 Since we now only allocate this one, no longer necessary to check and free(). 2000-02-08 12:56:00 +00:00
enami
1658944ebe - Don't rely on implicit declaration.
- Sinc wi/ existing coding style.
2000-02-08 12:51:30 +00:00
enami
c7573d517e - Bail out from attach stage if failed to enable card, number of iospace
or memspace is unexpected, failed to map iospace or failed to configure
the controller properly.
- Disestablish an interrupt handler if failed to enable card.
2000-02-08 12:49:12 +00:00
tsubai
d97ae29629 Enter power saving mode in idle loop on 603, 750, and 7400.
603 uses doze mode, 750 and 7400 use nap mode.
2000-02-08 12:49:06 +00:00
tsubai
9cba8a13d1 Use -Os -mmultiple to reduce size.
Add cbb and pcmcia/cardbus devices.
Nuke BUFPAGES=800 kludge.
2000-02-08 12:13:50 +00:00
tsubai
c7d216c2da Add missing locators.
Add tlp at cardbus.
2000-02-08 12:10:56 +00:00
augustss
e0c519464a Add methods for ucom to call back on open/close. 2000-02-08 09:18:01 +00:00
tsubai
45fe0e4077 Fix typo. 2000-02-08 08:08:43 +00:00
erh
8613a0edaa Regen. 2000-02-08 06:36:46 +00:00
erh
a87f862d24 Add Allied Telesyn AT-1500, lance ethernet. 2000-02-08 06:36:29 +00:00
nisimura
42e4e9fd0c Add the missing piece of previous mod. 2000-02-08 04:35:03 +00:00
fair
554df2b994 remove kern_logsigexit being "on" for DIAGNOSTIC 2000-02-08 04:13:51 +00:00
mycroft
bc1ca7aa3f Add a bunch of debugging code, #ifdef FPU_DEBUG, which attempts to
trap FPU usage in the kernel.
2000-02-08 03:16:00 +00:00
mycroft
a3b8d596d5 Sync with GENERIC. 2000-02-08 03:10:21 +00:00
thorpej
bfdc6759fb Don't rely on the receive descriptor's BCAST/MCAST status bits. Test the
Ethernet destination address to see if it's multicast.
2000-02-08 00:22:13 +00:00
thorpej
52a2804a5c Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel.  Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
pk
1d46ce41ea Enable the hme ethernet driver. 2000-02-07 21:24:48 +00:00
tsubai
b9ff560bcc Don't print "... not configured" message for non real devices
like escc-legacy.
2000-02-07 20:30:05 +00:00
thorpej
5c83cd7b9c Bump version to 1.4S -- b_rawblkno. 2000-02-07 20:19:13 +00:00
thorpej
fe551f0e64 Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle.  Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
jonathan
b19c0fbb0a Make kernel SOMAXCONN patchable. Will add sysctl once we
decide on namespace.
2000-02-07 18:43:26 +00:00
thorpej
cb18849e48 Make APM use a kernel thread rather than a callout, and provide a
mutex between the thread and a user process attempting to do APM
operations.
2000-02-07 17:36:59 +00:00
tsubai
cf532aa7eb Move CFLAGS and CPPFLAGS to {bootxx,ofwboot}/Makefile to compile installboot
without -D_STANDALONE.
2000-02-07 16:26:59 +00:00
leo
6328fac75d Add bootm_init() prototype. 2000-02-07 14:36:42 +00:00
veego
aa4732525f Fix from Darren Reed for the test failure of f11. 2000-02-07 13:58:00 +00:00
pk
de608f33e1 Don't use PROM the virtual address (if any) for the device registers;
they are not reliably mapped.  Also, unmap registers if the device
cannot be configured properly.
2000-02-07 11:44:15 +00:00
augustss
a534cd4254 Correct John Markus Bjørndalen's horribly mangled name in a comment. 2000-02-07 09:40:37 +00:00
augustss
a8365d0e29 Use pcmcia_devinfo(). 2000-02-07 09:36:27 +00:00
augustss
e2ab50484b Add a pcmcia_devinfo() function (akin to pci_devinfo). It generates a
string suitable for printing in the attach message.
2000-02-07 09:35:29 +00:00
itojun
2687887f38 s/DIAGNOSTIC/DEBUG/ 2000-02-07 06:15:16 +00:00
itojun
85cdd5f08e remove IPv6 router renumbering prefix information in the kernel
when all the interface addresses are gone.
this should remove dangling structure when:
# ifconfig lo0 inet6 3ffe::1 prefixlen 64 alias
# ifconfig lo0 inet6 3ffe::1 -alias
is performed.
2000-02-07 05:48:11 +00:00
itojun
1148e4715f correct SIOCAIFADDR_IN6 failure recovery in point-to-point case. 2000-02-07 05:42:59 +00:00
itojun
49bed394bd add more sanity check against mbuf length.
use log() for DAD related kernel message.
2000-02-07 05:42:28 +00:00
itojun
45b89333e4 close comment.
From: Kazuto Ushioda <x-y-z@3si.co.jp>
2000-02-07 03:51:59 +00:00
jonathan
e9a4467c58 Fix thinko in previous revision: it wouldn't catch deassert.
Revert the code inside the new test to the previous-but-one revision.
2000-02-07 02:17:18 +00:00
jonathan
2da22cf2c5 Check for DCD status change interrupts which signal PPS events, even
if the line discipline is ignoring carrier (e.g., via comparam()'s
setting of sc->sc_msr_mask).  Move PPS timestamp outside the normal
status-change processing, and ignore sc_msr_mask when testing
for PPS events.
2000-02-06 23:23:37 +00:00
mhitch
93be165768 Remove an "#if 0" I seemed to have missed, to include wd* devices in the
search for root filesystems.
2000-02-06 21:45:03 +00:00
msaitoh
96250cd570 fix the calculation bug for the LMA of bss. 2000-02-06 16:53:57 +00:00
eeh
8636e8eef7 Update for compat_netbsd32. 2000-02-06 16:49:51 +00:00
eeh
70694ad4bb Add new P_32 flag for processes running 32-bit emulation. 2000-02-06 16:47:57 +00:00
eeh
cde9dba8ab Add support for -current's ELF32 exec format. 2000-02-06 16:45:56 +00:00
thorpej
72ecabeb4d In if_detach(), call PRU_PURGEIF for *every* protocol within a domain
that has a usrreq entry point.  Each protocol may have its own PCB
tables that need to be purged of references to the interface.
2000-02-06 16:43:33 +00:00
takemura
06aa6ffcb9 Delete dupicated 'z50'. 2000-02-06 14:02:42 +00:00
msaitoh
986d236119 remove COMPAT_NOMID stuff 2000-02-06 13:13:20 +00:00
itojun
90736ab608 fix include pathname for better rfc2292 compliance. 2000-02-06 12:49:37 +00:00
frueauf
23774a37c9 remove unused variable *dp. 2000-02-06 11:14:56 +00:00
itojun
51219dabc9 to be more rfc2292 complient, move ip6.h and icmp6.h into netinet.
(netinet6/{ip6,icmp6}.h is non-standard path - these files should go away)

it was not possible to use cvsmove in this case.
when you try to look at history, chase it toward netinet6/{ip6,icmp6}.h.
2000-02-06 11:11:29 +00:00
takemura
1a8f3a2b75 Add platid_name() which retrieves the platform name. 2000-02-06 08:47:03 +00:00
cgd
dbeafc9dbe clean up some printfs 2000-02-06 08:14:13 +00:00
itojun
76064f5770 don't chase mbuf pointer when it is NULL. 2000-02-06 08:06:43 +00:00
fair
c75556a12f Add kernel logging of processes which exit on signals which can
cause a core to drop, and whether the core dropped, or, if it did
not, why not (i.e. error number). Logs process ID, name, signal that
hit it, and whether the core dump was successful.

logging only happens if kern_logsigexit is non-zero, and it can be
changed by the new sysctl(3) value KERN_LOGSIGEXIT. The name of this
sysctl and its function are taken from FreeBSD, at the suggestion
of Greg Woods in PR 6224. Default behavior is zero for a normal
kernel, and one for a kernel compiled with DIAGNOSTIC.
2000-02-06 07:29:56 +00:00
dbj
a4746f91c3 choose first keymap that matches.
Otherwise, the NEC MobilePro 770 chooses the wrong one.
This is consistent with keymap searching order from before revision 1.12,
although I haven't investigated why choosing the last match instead of the first
causes the MobilePro 770 to lose
2000-02-06 06:29:22 +00:00
thorpej
17c346b9e1 Changed cacheable -> prefetchable. [sync w/ swiz] 2000-02-06 04:07:18 +00:00
elric
28bdaf37d9 Changed cacheable -> prefetchable. 2000-02-06 03:52:27 +00:00
thorpej
113a379cba Implement pffinddomain(), and use it as appropriate. 2000-02-06 02:54:15 +00:00
thorpej
97eba73a40 If we have a Pyxis with the DMA page crossing bug, don't allow coalescing
of adjacent DMA segments.

XXX This is still not perfect... but making it perfect will probably
require additions to the bus_dma interface and the ISA autoconfiguration
interface.
2000-02-06 01:26:50 +00:00
thorpej
0c4f8a876b Implement an internal DMA map flag which prevents coalescing of
adjacent DMA segments.
2000-02-06 01:23:30 +00:00
veego
5b4e17169b Bring in the support to boot from ide drives. This is from dec_eb164.c.
This is needed for newer firmware and to boot from slave drives.
2000-02-05 22:22:41 +00:00
veego
541c31000e Sync the ide support with dec_eb164.c rev 1.32:
Add the support to boot an ide slave drive and to boot from the secondary
ide channel.
Michael Hitch gave me the final hint how to do that and Havard Eidnes
tested it with his slave drive.
This should fix pr#8808 on the DS10.
Also remove one ideboot check which wasn't removed when I removed it from
dec_eb164.c.
2000-02-05 22:19:19 +00:00
veego
b92d490f3e Add the support to boot an ide slave drive and to boot from the secondary
ide channel.
Michael Hitch gave me the final hint how to do that and Havard Eidnes
tested it with his slave drive.
This will also fix pr#8808 on the DS10 when I commit the changes to
dec_6600.c.
2000-02-05 22:14:42 +00:00
jdc
be5d89da1a Add definition for default swap partition (libahdi uses this). 2000-02-05 21:14:55 +00:00
nathanw
958e687d69 LP64 printf fixes. 2000-02-05 20:02:42 +00:00
mhitch
d9b42dd1fc At long last, the MI wdc glue for the Amiga. Tested on my A4000, but not
on an A1200 yet.  Configuration of wdc/atapi in GENERIC is currently
commented out to prevent the suprise of an IDE drive changing from sd0
to wd0 (and the first real SCSI drive changing from sd1/sd1 to sd0).
2000-02-05 18:46:28 +00:00
mhitch
db4859bcd8 Regen (with commented MI wdc stuff) 2000-02-05 18:42:49 +00:00
chopps
6d8c9583a7 indent this file 2000-02-05 18:42:37 +00:00
mhitch
915731c9ea Add commented out configuration for MI wdc.
Note:  enabling these will cause disk device renumbering if any IDE were
present (i.e. if sd0 was IDE drive 0, that drive will become wd0 and sd0
will be the first real SCSI drive.
2000-02-05 18:41:58 +00:00
chopps
101848d272 run this through indent with some comment cleanup -- more knfing needed. 2000-02-05 18:20:08 +00:00
augustss
494c9affea Support detach. 2000-02-05 18:11:55 +00:00
itojun
9e9f3e15e4 need PRC_IF{UP,CHANGE}. 2000-02-05 18:11:41 +00:00
itojun
7604e315fb sync with reality.
- getipnodeby{name,addr} is now non-issue as RFC2553bis will be dropping it
- if_detach is mostly done
- add some items
2000-02-05 18:05:33 +00:00
minoura
8759daabe7 Sync. 2000-02-05 14:35:41 +00:00
kleink
36e6bc645e Improve namespace test macros a bit. 2000-02-05 14:04:36 +00:00
pk
b527153dd7 Ensure uniqueness of EEPROM device without reference to cf_unit. 2000-02-05 12:32:57 +00:00
itojun
1f8497dc18 fix route cleanup on interface removal. (not sure why -Wall did not catch it) 2000-02-05 07:58:54 +00:00
itohy
b4f060a0bc Mark LFS partitions as "BSD lfs ".
Now, swap partition should be "BSD swap" unless COMPAT_14.
2000-02-05 07:38:10 +00:00
enami
645c869160 Add detach support for ethernet portion. 2000-02-05 04:44:00 +00:00
enami
9267b8f018 Remove unnecessary includes. 2000-02-05 04:41:49 +00:00
enami
abac10f360 Yet anothor workaround for hpcmips. I guess real problem is somewhere else...
With rev.1.37, my MobileGearII for DoCoMo finds both ne0 and wd0
even if pcic_delay_sleep is 1.
With rev 1.40, it fails to find wd0.
2000-02-05 04:34:36 +00:00
cgd
be8a1b19f0 more CR/NL -> NL conversion (some crept in) 2000-02-05 03:25:26 +00:00
cgd
7d16ac338c add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
cgd
253b179629 clean up (group, sort) __HAVE_* defines 2000-02-05 00:07:30 +00:00
tsubai
c343256107 Make the new findroot code work on PowerMac 9600 (OF-1.0.5). 2000-02-04 18:29:15 +00:00
dante
2a46aa5d9a Fix "unused variable" warning when FAILSAFE option is defined 2000-02-04 16:23:14 +00:00
dante
b4edda97d5 Fix a compilation bug due to a missing parenthesys 2000-02-04 15:43:46 +00:00
itojun
f91ee608a9 avoid calling in6_control(SIOCDIFADDR_IN6) from interrupt context.
it is not supposed to work.
logging fix: add "\n" to some of log() in in6_prefix.c.

improve in6_ifdetach().  now almost all structure depend on ifnet
will be cleared up.
possible loose ends:
- cached route_in6 in static varaiables needs to be cleared as well
- there are ifaddr manipulation without reference counting,
  which should be fixed
we still see panics after card removal, though...  not sure what is left.

(sync with kame)
2000-02-04 14:34:22 +00:00
minoura
a7ec5e9634 Add Cyrix MediaGX(m) identification.
Thanks to INOUE Yoshinari <pf5y-inue@asahi-net.or.jp>.
2000-02-04 14:21:33 +00:00
augustss
e037c568cb Update for cardbus unmap changes. 2000-02-04 13:48:23 +00:00
augustss
1facb42e6e Make the driver work even if DIAGNOSTIC is not set. 2000-02-04 13:43:56 +00:00
dante
29be498635 Add a list of all the currently supported boards 2000-02-04 13:16:22 +00:00
enami
9c688fd57c s/SYSTEM/SYSMEM/; so that this file compiles again. 2000-02-04 11:04:46 +00:00
joda
8006211b18 fix previous broken commit of the 8-bit memory handling (spotted
by Christian Hopps); this will enable 16-bit memory accesses for devices
that can handle it
2000-02-04 10:18:28 +00:00
itojun
0f09f8dd2b cope with card insertion/removal during suspend-resume session.
(removal/ insertion after suspend and before resume)

How should we deal with card swaps?
2000-02-04 09:45:34 +00:00
enami
730f15bb19 Free resources on attach failure. 2000-02-04 09:31:07 +00:00
enami
82235a8673 Actually, no need to keep track of sc_ih. 2000-02-04 09:30:28 +00:00