From owner-freebsd-mobile Mon Aug 12 14:11:27 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA21981 for mobile-outgoing; Mon, 12 Aug 1996 14:11:27 -0700 (PDT) Received: from indurain.cse.ogi.edu (indurain.cse.ogi.edu [129.95.50.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA21972 for ; Mon, 12 Aug 1996 14:11:24 -0700 (PDT) Received: from localhost by indurain.cse.ogi.edu with SMTP (1.38.193.4/16.2) id AA12757; Mon, 12 Aug 1996 14:11:23 -0700 Date: Mon, 12 Aug 1996 14:11:23 -0700 (PDT) From: Jon Inouye To: mobile@freebsd.org Subject: 2.1.5 vs. 2.2-SNAP Message-Id: Organization: Oregon Graduate Institute of Science & Technology Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Any estimate of when there will a PAO release for the current 2.2 snapshot? I upgraded my system to 2.1.5 and included the PAO patches (I tried both 960731 & 960812) but I didn't get the same level of functionality of the 2.2-960612-SNAP with PAO-960616. In functionality: (1) the driver allocation for my modem (Megahertz XJ1144) fails and (2) a modified version of Jim Binkley's WaveLAN driver also fails. I haven't spent much time debugging this since both these cards worked in the 2.2-960612-SNAP version ... unfortunately I don't have those sources anymore and they are not available from ftp.freebsd.org. Is there a large difference in PCMCIA functionality between what I can get in 2.1.5 vs. 2.2-SNAP? If so, I may try to migrate some 2.1 kernel modifications to 2.2-SNAP rather than to 2.1.5. -- Jon Inouye EMAIL: jinouye@cse.ogi.edu Distributed Systems Research Group WWW : http://www.cse.ogi.edu/~jinouye/ Computer Science and Eng. Dept. PHONE: (503) 690-1009, FAX: (503) 690-1553 Oregon Graduate Institute of Science & Technology (aka OGI) From owner-freebsd-mobile Wed Aug 14 01:26:22 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA14859 for mobile-outgoing; Wed, 14 Aug 1996 01:26:22 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA14854 for ; Wed, 14 Aug 1996 01:26:18 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id SAA00963 for mobile@freebsd.org; Wed, 14 Aug 1996 18:13:39 +0930 From: Michael Smith Message-Id: <199608140843.SAA00963@genesis.atrad.adelaide.edu.au> Subject: New ed_pccard_probe routine To: mobile@freebsd.org Date: Wed, 14 Aug 1996 18:13:39 +0930 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ok, I finally spat the dummy and decided to try to fix the PCCARD support in the 'ed' driver. (I have no idea how it might ever have worked for anyone before). Task 1 was to make the probe work for non-shared-memory cards. I believe that I've achieved this, and I'd like testers, both from the NE2000-clone population (all I have to test with), and also from others with 'ed' PCCARDs that have shared memory. I'd be _particularly_ interested in having the Nomads try this out, as they're to blame^H^H^H^H^H^H^H^Hresponsible for the first version 8) Next task is proper suspend/resume handling without requiring a reinsert. Here's the diff (against -current): *** /sys/i386/isa/if_ed.c Wed Aug 7 17:05:39 1996 --- if_ed.c Wed Aug 14 10:25:12 1996 *************** *** 1364,1474 **** #if NCRD > 0 /* ! * Probe and vendor-specific initialization routine for PCCARDs */ static int ed_probe_pccard(isa_dev, ether) struct isa_device *isa_dev; u_char *ether; { ! struct ed_softc *sc = &ed_softc[isa_dev->id_unit]; ! int i; ! u_int memsize; ! u_char isa16bit; ! sc->nic_addr = isa_dev->id_iobase; ! sc->gone = 0; ! sc->is790 = 0; ! sc->cr_proto = ED_CR_RD2; ! sc->vendor = ED_VENDOR_PCCARD; ! sc->type = 0; ! sc->type_str = "PCCARD"; ! sc->kdc.kdc_description = "PCCARD Ethernet"; ! sc->mem_size = isa_dev->id_msize = memsize = 16384; ! sc->isa16bit = isa16bit = 1; ! for (i = 0; i < ETHER_ADDR_LEN; ++i) ! sc->arpcom.ac_enaddr[i] = ether[i]; ! ! #if ED_DEBUG ! printf("type = %x type_str=%s isa16bit=%d memsize=%d id_msize=%d\n", ! sc->type, sc->type_str, isa16bit, memsize, isa_dev->id_msize); ! #endif ! ! i = inb(sc->nic_addr + ED_PC_RESET); ! DELAY(100000); ! outb(sc->nic_addr + ED_PC_RESET,i); ! DELAY(100000); ! i = inb(sc->nic_addr + ED_PC_MISC); ! if (!i) { ! int j; ! printf("ed_probe_pccard: possible failure\n"); ! for (j=0;j<20 && !i;j++) { ! printf("."); ! DELAY(100000); ! i = inb(sc->nic_addr + ED_PC_MISC); ! } ! if (!i) { ! printf("dead :-(\n"); ! return 0; ! } ! printf("\n"); ! } ! /* ! * Set initial values for width/size. ! */ ! ! /* Make sure that we really have an 8390 based board */ ! if (!ed_probe_generic8390(sc)) { ! printf("ed_probe_generic8390 failed\n"); ! return (0); ! } ! sc->txb_cnt = 2; ! sc->tx_page_start = ED_PC_PAGE_OFFSET; ! sc->rec_page_start = sc->tx_page_start + ED_TXBUF_SIZE * sc->txb_cnt; ! sc->rec_page_stop = sc->tx_page_start + memsize / ED_PAGE_SIZE; ! ! sc->mem_shared = 1; ! sc->mem_start = (caddr_t) isa_dev->id_maddr; ! sc->mem_size = memsize; ! sc->mem_end = sc->mem_start + memsize; ! ! sc->mem_ring = sc->mem_start + ! sc->txb_cnt * ED_PAGE_SIZE * ED_TXBUF_SIZE; ! ! /* ! * Now zero memory and verify that it is clear ! */ ! bzero(sc->mem_start, memsize); ! ! for (i = 0; i < memsize; ++i) { ! if (sc->mem_start[i]) { ! printf("ed%d: failed to clear shared memory at %lx - check configuration\n", ! isa_dev->id_unit, kvtop(sc->mem_start + i)); ! ! return (0); ! } ! sc->mem_start[i] = (i - 5) & 0xff; ! } ! for (i = 0; i < memsize; ++i) { ! if ((sc->mem_start[i] & 0xff) != ((i - 5) & 0xff)) { ! printf("ed%d: shared memory failed at %lx (%x != %x) - check configuration\n", ! isa_dev->id_unit, kvtop(sc->mem_start + i), ! sc->mem_start[i], (i-5) & 0xff); ! return (0); ! ! } ! } ! ! i = inb(sc->nic_addr + ED_PC_MISC); ! if (!i) { ! printf("ed_probe_pccard: possible failure(2)\n"); ! } ! ! /* clear any pending interupts that we may have caused */ ! outb(sc->nic_addr + ED_P0_ISR, 0xff); ! ! return (ED_PC_IO_PORTS); } #endif /* NCRD > 0 */ --- 1364,1401 ---- #if NCRD > 0 /* ! * Probe framework for pccards. Replicates the standard framework, ! * minus the pccard driver registration and ignores the ether address ! * supplied (from the CIS), relying on the probe to find it instead. */ static int ed_probe_pccard(isa_dev, ether) struct isa_device *isa_dev; u_char *ether; { ! int nports; ! printf("ed_probe_pccard: try WD80x3\n"); ! nports = ed_probe_WD80x3(isa_dev); ! if (nports) ! return (nports); ! ! printf("ed_probe_pccard: try 3Com\n"); ! nports = ed_probe_3Com(isa_dev); ! if (nports) ! return (nports); ! ! printf("ed_probe_pccard: try NEx000\n"); ! nports = ed_probe_Novell(isa_dev); ! if (nports) ! return (nports); ! ! printf("ed_probe_pccard: try HP PClan\n"); ! nports = ed_probe_HP_pclanp(isa_dev); ! if (nports) ! return (nports); ! return (0); } #endif /* NCRD > 0 */ -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Wed Aug 14 04:34:05 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA24504 for mobile-outgoing; Wed, 14 Aug 1996 04:34:05 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA24496; Wed, 14 Aug 1996 04:34:02 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id NAA00357; Wed, 14 Aug 1996 13:33:24 +0200 (MET DST) To: Michael Smith cc: mobile@freebsd.org Subject: Re: New ed_pccard_probe routine In-reply-to: Your message of "Wed, 14 Aug 1996 18:13:39 +0930." <199608140843.SAA00963@genesis.atrad.adelaide.edu.au> Date: Wed, 14 Aug 1996 13:33:24 +0200 Message-ID: <355.840022404@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199608140843.SAA00963@genesis.atrad.adelaide.edu.au>, Michael Smith writes: > >Ok, I finally spat the dummy and decided to try to fix the PCCARD support >in the 'ed' driver. (I have no idea how it might ever have worked >for anyone before). It has worked fine for my National Infomover for a long time :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-freebsd-mobile Wed Aug 14 09:44:48 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA12887 for mobile-outgoing; Wed, 14 Aug 1996 09:44:48 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA12868; Wed, 14 Aug 1996 09:44:42 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA27532; Wed, 14 Aug 1996 10:44:20 -0600 (MDT) Date: Wed, 14 Aug 1996 10:44:20 -0600 (MDT) Message-Id: <199608141644.KAA27532@rocky.mt.sri.com> From: Nate Williams To: me@tick.muc.ditec.de (Michael Elbel) Cc: hardware@freebsd.org, mobile@freebsd.org Subject: Re: Can somebody recommend a notebook? In-Reply-To: <199608141512.AAA03741@genesis.atrad.adelaide.edu.au> References: <199608141419.QAA21105@tick.muc.ditec.de> <199608141512.AAA03741@genesis.atrad.adelaide.edu.au> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [ I Cc'd the mobile list as well ] Michael Smith writes: > Michael Elbel stands accused of saying: > > > > I need to get a notebook here at work. Can anybody recommend something. > > Additionally, has anybody tried to install FreeBSD on one of the newer > > DIGITAL HiNote Notebooks? They do look good. > > I can strongly recomment the new Sharp PC9000 units; I've had one for > several months now and am very happy with it. Also, the newer NEC Versa 4000 models are *highly* regarded, and came out on top in a recent Dr. Dobbs article (above even the ThinkPads which I consider to be one of the best built laptops on the market). They are also known to work with FreeBSD in all respects, although I don't know if anyone has the newest model workin in 1024x768 mode. Mine works great at 800x600. I have the older model, but I have reports of people running FreeBSD on the newer models which have built-in CD, sound-card, APM, PCCARD, etc.. And, one more bonus is that I'm doing most of the laptop support, and my main box is a NEC Versa so you're almost guaranteed that FreeBSD will support the NEC first-thing. :) The only drawback is it's a heavy beast. Mine goes 9+ lbs., but if you're looking for a machine that can double as your desktop box (with an external keyboard and monitor) it can't be beat. Nate From owner-freebsd-mobile Wed Aug 14 09:51:08 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA13412 for mobile-outgoing; Wed, 14 Aug 1996 09:51:08 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA13406 for ; Wed, 14 Aug 1996 09:51:05 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA27565; Wed, 14 Aug 1996 10:50:54 -0600 (MDT) Date: Wed, 14 Aug 1996 10:50:54 -0600 (MDT) Message-Id: <199608141650.KAA27565@rocky.mt.sri.com> From: Nate Williams To: Jon Inouye Cc: mobile@freebsd.org Subject: Re: 2.1.5 vs. 2.2-SNAP In-Reply-To: References: Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jon Inouye writes: > Any estimate of when there will a PAO release for the current > 2.2 snapshot? I'm hoping they integrate my changes, but I don't speak for the Nomad's. If you grab the changes I posted earlier, you should have at least the user-land stuff. :) > I upgraded my system to 2.1.5 and included the > PAO patches (I tried both 960731 & 960812) but I didn't get > the same level of functionality of the 2.2-960612-SNAP with > PAO-960616. They should be almost *exactly* the same. > Is there a large difference in PCMCIA functionality between what > I can get in 2.1.5 vs. 2.2-SNAP? 2.1.5R has no 'official' PCCARD support (although most of the code is there), and 2.2 (aka. -current) has enabled the support and added necessary drivers so that the cards are recognized. > If so, I may try to migrate some > 2.1 kernel modifications to 2.2-SNAP rather than to 2.1.5. What kernel modifications? The code in -current (therefore any of the recent SNAPS) is mostly functional already, although some of the Nomad 'features' don't yet exist in the -current code. And, given the lack of interest and help I've received it's not obvious when/if the code will ever make it into -current. (Yes, I'm a bit frustrated!) Nate From owner-freebsd-mobile Wed Aug 14 10:17:02 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA15069 for mobile-outgoing; Wed, 14 Aug 1996 10:17:02 -0700 (PDT) Received: from indurain.cse.ogi.edu (indurain.cse.ogi.edu [129.95.50.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA15062 for ; Wed, 14 Aug 1996 10:17:00 -0700 (PDT) Received: from localhost by indurain.cse.ogi.edu with SMTP (1.38.193.4/16.2) id AA15250; Wed, 14 Aug 1996 10:16:23 -0700 Date: Wed, 14 Aug 1996 10:16:22 -0700 (PDT) From: Jon Inouye To: Nate Williams Cc: mobile@freebsd.org Subject: Re: 2.1.5 vs. 2.2-SNAP In-Reply-To: <199608141650.KAA27565@rocky.mt.sri.com> Message-Id: Organization: Oregon Graduate Institute of Science & Technology Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 14 Aug 1996, Nate Williams wrote: > They should be almost *exactly* the same. > Okay, I'll spend some time investigating why the PC card ioctl PIOCSDRV fails for my modem card in 2.1.5 but not 2.2. > > If so, I may try to migrate some > > 2.1 kernel modifications to 2.2-SNAP rather than to 2.1.5. > > What kernel modifications? The code in -current (therefore any of the > recent SNAPS) is mostly functional already, although some of the Nomad > 'features' don't yet exist in the -current code. And, given the lack of > interest and help I've received it's not obvious when/if the code will > ever make it into -current. (Yes, I'm a bit frustrated!) > I have some kernel modifications to support physical media independence, something folks at Intel call "media switching". It adjusts the network stack to survive changes in network interfaces --- enabled through PC card technology. Some of this can be accomplished using a modified arp (to filter out invalid ARP entries) and route flush but doing so at user level has some synchronization problems --- the kernel is a better place for atomic operations. I also reset TCP retransmission timers to avoid the backoff when no interface is available. Resetting retransmission timers on correspondent hosts is on the todo list; I plan on using Ramon Caceres' triple ack hack. Other dependencies on ifnet pointers include multicast groups and tunnels, the BPF, and routed/gated. Migrating tunnels is impossible with most implementations of mrouted (fixed endpoints) and breaks the concept of efficient multicasting. Migrating mcast groups and BPF filters to different interfaces may not be a good idea. Opinions? Then there's Jim Binkley's Mobile IP modifications, which allow survival across IP address changes (assuming you have connectivity to your home agent). Otherwise, long-term TCP/UDP connections like telnet, X11, and a certain distributed real-time MPEG player break when the new interface has a different IP address. -JI From owner-freebsd-mobile Wed Aug 14 10:24:19 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA15625 for mobile-outgoing; Wed, 14 Aug 1996 10:24:19 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA15614 for ; Wed, 14 Aug 1996 10:24:16 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id LAA27798; Wed, 14 Aug 1996 11:23:50 -0600 (MDT) Date: Wed, 14 Aug 1996 11:23:50 -0600 (MDT) Message-Id: <199608141723.LAA27798@rocky.mt.sri.com> From: Nate Williams To: Jon Inouye Cc: Nate Williams , mobile@freebsd.org Subject: Re: 2.1.5 vs. 2.2-SNAP In-Reply-To: References: <199608141650.KAA27565@rocky.mt.sri.com> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Okay, I'll spend some time investigating why the PC card > ioctl PIOCSDRV fails for my modem card in 2.1.5 but not 2.2. Can you be more specific as to the 'failure'? Are you running it as root in 2.1.5? > > > If so, I may try to migrate some > > > 2.1 kernel modifications to 2.2-SNAP rather than to 2.1.5. > > > > What kernel modifications? The code in -current (therefore any of the > > recent SNAPS) is mostly functional already, although some of the Nomad > > 'features' don't yet exist in the -current code. And, given the lack of > > interest and help I've received it's not obvious when/if the code will > > ever make it into -current. (Yes, I'm a bit frustrated!) > > > > I have some kernel modifications to support physical media independence, > something folks at Intel call "media switching". [ Description deleted ] Yep, these kind of changes are definitely '2.2' material, so you'd be wasting your time converting them to 2.1.5 unless you wanted to maintain it all yourself. 2.1.5 is now 'dead' for the most part, and new features such as you're describing wouldn't be appropriate for that kind of release. As far as the discussions on the actual changes, you'd have to run them by Garrett Wollman . They sound exciting, but he's the IP maintainer. I just try to make sure the drivers for laptop stuff 'Do The Right Thing' w/regards to the drivers. If the drivers are buggy it's not my responsiblity. :) Nate From owner-freebsd-mobile Wed Aug 14 10:46:22 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA16933 for mobile-outgoing; Wed, 14 Aug 1996 10:46:22 -0700 (PDT) Received: from merit.edu (merit.edu [35.1.1.42]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA16911; Wed, 14 Aug 1996 10:46:17 -0700 (PDT) Received: from ohm.merit.edu (ohm.merit.edu [198.108.60.65]) by merit.edu (8.7.5/merit-2.0) with ESMTP id NAA05128; Wed, 14 Aug 1996 13:46:16 -0400 (EDT) From: William Bulley Received: (web@localhost) by ohm.merit.edu (8.6.9/8.6.5) id NAA19236; Wed, 14 Aug 1996 13:56:42 -0400 Message-Id: <199608141756.NAA19236@ohm.merit.edu> Subject: Re: Can somebody recommend a notebook? To: nate@mt.sri.com (Nate Williams) Date: Wed, 14 Aug 1996 13:56:41 -0400 (EDT) Cc: hardware@freebsd.org, mobile@freebsd.org In-Reply-To: <199608141644.KAA27532@rocky.mt.sri.com> from "Nate Williams" at Aug 14, 96 10:44:20 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk According to Nate Williams: > > > > I need to get a notebook here at work. Can anybody recommend something. > > > Additionally, has anybody tried to install FreeBSD on one of the newer > > > DIGITAL HiNote Notebooks? They do look good. > > > > I can strongly recomment the new Sharp PC9000 units; I've had one for > > several months now and am very happy with it. > > Also, the newer NEC Versa 4000 models are *highly* regarded, and came > out on top in a recent Dr. Dobbs article (above even the ThinkPads which > I consider to be one of the best built laptops on the market). They are > also known to work with FreeBSD in all respects, although I don't know > if anyone has the newest model workin in 1024x768 mode. Mine works > great at 800x600. > > I have the older model, but I have reports of people running FreeBSD on > the newer models which have built-in CD, sound-card, APM, PCCARD, etc.. > > And, one more bonus is that I'm doing most of the laptop support, and my > main box is a NEC Versa so you're almost guaranteed that FreeBSD will > support the NEC first-thing. :) > > The only drawback is it's a heavy beast. Mine goes 9+ lbs., but if > you're looking for a machine that can double as your desktop box (with > an external keyboard and monitor) it can't be beat. We have a GateWay 2000 Solo 90 which is a very nice unit. It is currently running 2.1REL because I haven't had time to upgrade... Regards, web... -- William Bulley, N8NXN Senior Systems Research Programmer Merit Network Inc. Domain: web@merit.edu 4251 Plymouth Road MaBell: (313) 764-9993 Ann Arbor, Michigan 48105-2785 Fax: (313) 747-3185 From owner-freebsd-mobile Wed Aug 14 23:48:43 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA13010 for mobile-outgoing; Wed, 14 Aug 1996 23:48:43 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA13000 for ; Wed, 14 Aug 1996 23:48:39 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id QAA09706; Thu, 15 Aug 1996 16:36:28 +0930 From: Michael Smith Message-Id: <199608150706.QAA09706@genesis.atrad.adelaide.edu.au> Subject: Re: Pccardc complete diffs To: nate@mt.sri.com (Nate Williams) Date: Thu, 15 Aug 1996 16:36:28 +0930 (CST) Cc: mobile@freebsd.org In-Reply-To: <199608062231.QAA29192@rocky.mt.sri.com> from "Nate Williams" at Aug 6, 96 04:31:36 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams stands accused of saying: > > OK, here's a resend of the pccardc patches. If you have the first set > you can ignore these as I've made only minor-formatting changes (fixed a > mis-spelling, etc..) and no functional changes. I'm resending these so > folks can grab them again if they missed them the first time. > > Again, these should be applied against a FreeBSD-current system as of > today (8/6/96), and when I make changes against -current I'll provide a > new set of patches for folks to apply. Umm. Sorry for being so slow, but I finally got around to looking at this. > X > X if (ioctl(fd, PIOCSBEEP, &newstat) < 0) { > X perror("beep"); > X exit(1); > X } Where does this come from? I recognise PIOCSxxx as a PCCARD ioctl, but -current's is dated Feb 22 and doesn't have it. -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Thu Aug 15 06:59:22 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA08559 for mobile-outgoing; Thu, 15 Aug 1996 06:59:22 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA08553 for ; Thu, 15 Aug 1996 06:59:19 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id HAA01328; Thu, 15 Aug 1996 07:58:33 -0600 (MDT) Date: Thu, 15 Aug 1996 07:58:33 -0600 (MDT) Message-Id: <199608151358.HAA01328@rocky.mt.sri.com> From: Nate Williams To: Michael Smith Cc: nate@mt.sri.com (Nate Williams), mobile@freebsd.org Subject: Re: Pccardc complete diffs In-Reply-To: <199608150706.QAA09706@genesis.atrad.adelaide.edu.au> References: <199608062231.QAA29192@rocky.mt.sri.com> <199608150706.QAA09706@genesis.atrad.adelaide.edu.au> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Michael Smith writes: > Nate Williams stands accused of saying: > > > > OK, here's a resend of the pccardc patches. If you have the first set ... > Umm. Sorry for being so slow, but I finally got around to looking at this. No problem, and thanks for looking! > > X > > X if (ioctl(fd, PIOCSBEEP, &newstat) < 0) { > > X perror("beep"); > > X exit(1); > > X } > > Where does this come from? I recognise PIOCSxxx as a PCCARD ioctl, but > -current's is dated Feb 22 and doesn't have it. That's a PAO addition. The diffs I provided provide the functionality of the PAO code w/out alot of un-necessary white-space and other changes. The intention of the diffs are for the PAO developers to use them against stock sources as their baseline, for all developers to review, and for users to be able to start using 'FreeBSD' sources instead of the PAO sources for functionality. Nate